|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-05-19 09:57 UTC] wiki345 at gmail dot com
[2009-05-19 10:55 UTC] jani@php.net
[2009-05-19 11:43 UTC] wiki345 at gmail dot com
[2009-05-21 12:11 UTC] jani@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 18:00:01 2025 UTC |
Description: ------------ preg_replace,preg_match function. if pattern was Chinese characters(gb2312),Are not case-sensitive. I test on Cenos 5.3 i686 is OK. but on Cenos 5.3 x86_64 is wrong. ͬ???????ã???x86_64Ϊϵͳ?Ͼͻ??????????????? ????Centos x86_64 shell?ϲ??? pcregrep û?????⡣ ????ͨ?? php ִ?оͻ?????. ????pattern???ִ?Сд?????????⣬?????ִ?Сд?ͻ??????⡣ Reproduce code: --------------- <? echo preg_replace("/??/i", "*", "word1:??, word2:??"); ?> Expected result: ---------------- word1:*, word2:?? Actual result: -------------- word1:*, word2:*