From: ibar at 163 dot com
Operating system: Redhat 7.2
PHP version: 4.3.3
PHP Bug Type: Scripting Engine problem
Bug description: ereg_replace problem
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 bug report at http://bugs.php.net/?id=25399&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25399&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25399&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25399&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25399&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25399&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25399&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25399&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25399&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25399&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25399&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25399&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25399&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25399&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25399&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25399&r=gnused