From:             efesar at unm dot edu
Operating system: Windows XP Pro SP1
PHP version:      5.0.0RC1
PHP Bug Type:     Reproducible crash
Bug description:  str_ireplace // winxp // apache 2.0.49

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 bug report at http://bugs.php.net/?id=27947&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27947&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27947&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27947&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27947&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27947&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27947&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27947&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27947&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27947&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27947&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27947&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27947&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27947&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27947&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27947&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27947&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27947&r=float

Reply via email to