ID: 25399
Updated by: [EMAIL PROTECTED]
Reported By: ibar at 163 dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Redhat 7.2
PHP Version: 4.3.3
New Comment:
Your regexp is broken. Not bug. (you need to escape | char)
Previous Comments:
------------------------------------------------------------------------
[2003-09-06 08:45:36] ibar at 163 dot com
Description:
------------
i can't replace the"four" in big5 chinese letter
eg:ereg_replace('�|','4'$str);
error instruct:Warning: ereg_replace(): REG_EMPTY in /dir/file.php on
line 50
Reproduce code:
---------------
$str=ereg_replace('�|',"4",$str);
Expected result:
----------------
return 4
Actual result:
--------------
Warning: ereg_replace(): REG_EMPTY in /dir/file.php on line 50
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25399&edit=1