#27947 [Csd->Bgs]: str_ireplace // winxp // apache 2.0.49

From: Date: Sun, 11 Apr 2004 03:26:40 +0000
Subject: #27947 [Csd->Bgs]: str_ireplace // winxp // apache 2.0.49
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57910@lists.php.net to get a copy of this message
ID: 27947 Updated by: pollita@php.net Reported By: efesar at unm dot edu -Status: Closed +Status: Bogus Bug Type: Reproducible crash Operating System: Windows XP Pro SP1 PHP Version: 5.0.0RC1 New Comment: Duplicate of an earlier bug. Previous Comments: ------------------------------------------------------------------------ [2004-04-10 18:38:02] efesar at unm dot edu Okay, it seems to be fixed in CVS. I can't reproduce the crash anymore. ------------------------------------------------------------------------ [2004-04-10 18:01:25] derick@php.net 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 ------------------------------------------------------------------------ [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

« previous php.bugs (#57910) next »