Bug 694007 - PHP53 breaks internationalisation
Summary: PHP53 breaks internationalisation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: php53
Version: 5.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Joe Orton
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-06 09:05 UTC by James Findley
Modified: 2011-07-18 12:28 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-18 12:28:23 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description James Findley 2011-04-06 09:05:33 UTC
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:

Comment 1 Joe Orton 2011-07-16 15:38:59 UTC
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?

Comment 2 Joe Orton 2011-07-16 15:39:34 UTC
Oops, bad copy and paste.

# rpm -qf /usr/bin/php
php53-cli-5.3.3-1.el5_6.1

Comment 3 Joe Orton 2011-07-16 15:40:18 UTC
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

Comment 4 James Findley 2011-07-18 12:15:02 UTC
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.

Comment 5 Joe Orton 2011-07-18 12:28:23 UTC
Great, thanks a lot for tracking that down.


Note You need to log in before you can comment on or make changes to this bug.