| Summary: | PHP53 breaks internationalisation | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | James Findley <sixy> |
| Component: | php53 | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.6 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-18 12:28:23 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
That works for me:
# php -r 'print (preg_match("/\pL/u", "a"));'; echo
# rpm -qf /usr/bin/php
cli-5.3.3-1.el5_6.1
What arch are you on?
Oops, bad copy and paste. # rpm -qf /usr/bin/php php53-cli-5.3.3-1.el5_6.1 Third time lucky, apologies for the bug spam.
# php -r 'print (preg_match("/\pL/u", "a"));'; echo
1
# rpm -qf /usr/bin/php
php53-cli-5.3.3-1.el5_6.1
# uname -m
x86_64
Apologies for the noise - after further investigation the issue appears to be that this is actually the fault of pcre-6.6-2.el5_1.7, and updating to pcre-6.6-6.el5_6.1 fixes the issue. This can be closed. Great, thanks a lot for tracking that down. |
Description of problem: The PHP53 build supplied doesn't work for internationalized/utf-8 input. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. php -r 'print (preg_match("/\pL/u", "a"));' 2. 3. Actual results: Nothing Expected results: Should return 1 Additional info: