ID: 27947 Updated by: [EMAIL PROTECTED] Reported By: efesar at unm dot edu -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows XP Pro SP1 PHP Version: 5.0.0RC1 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-04-10 17:45:27] efesar at unm dot edu Description: ------------ $tmp = str_ireplace( "HHHH", "h", "HHHHHHHH" ); str_ireplace is broken. if i put this in a script by itself, this crashes apache2 instantly. it did cause this on BETA3 ... when i run it with str_replace, it works fine. Reproduce code: --------------- $tmp = str_ireplace( "HHHH", "h", "HHHHHHHH" ); Expected result: ---------------- a case insensitive replace Actual result: -------------- apache 2.0.49 crashes (even after a perfectly clean install) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27947&edit=1
