ID:               27947
 Updated by:       [EMAIL PROTECTED]
 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] [EMAIL PROTECTED]

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

Reply via email to