Hide Forgot
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:
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.