#27947 [Fbk->Csd]: str_ireplace // winxp // apache 2.0.49
| From: | efesar at unm dot edu | Date: | Sat, 10 Apr 2004 22:38:02 +0000 |
| Subject: | #27947 [Fbk->Csd]: str_ireplace // winxp // apache 2.0.49 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57906@lists.php.net to get a copy of this message | ||
ID: 27947
User updated by: efesar at unm dot edu
Reported By: efesar at unm dot edu
-Status: Feedback
+Status: Closed
Bug Type: Reproducible crash
Operating System: Windows XP Pro SP1
PHP Version: 5.0.0RC1
New Comment:
Okay, it seems to be fixed in CVS. I can't reproduce the crash anymore.
Previous Comments:
------------------------------------------------------------------------
[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