#27947 [Opn->Fbk]: str_ireplace // winxp // apache 2.0.49
| From: | derick@php.net | Date: | Sat, 10 Apr 2004 22:01:25 +0000 |
| Subject: | #27947 [Opn->Fbk]: str_ireplace // winxp // apache 2.0.49 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57905@lists.php.net to get a copy of this message | ||
ID: 27947
Updated by: derick@php.net
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