#41140 [Opn->Csd]: str_ireplace crash the server
| From: | tony2001@php.net | Date: | Thu, 19 Apr 2007 19:39:35 +0000 |
| Subject: | #41140 [Opn->Csd]: str_ireplace crash the server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111698@lists.php.net to get a copy of this message | ||
ID: 41140
Updated by: tony2001@php.net
Reported By: m dot cacote at free dot fr
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.2.1
Previous Comments:
------------------------------------------------------------------------
[2007-04-19 19:26:49] m dot cacote at free dot fr
It works fine with the new release !!!
I have not installed correctly the version of php.
------------------------------------------------------------------------
[2007-04-19 19:07:28] m dot cacote at free dot fr
I have tried but the problem is the same.
------------------------------------------------------------------------
[2007-04-19 18:53:24] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
------------------------------------------------------------------------
[2007-04-19 18:50:34] m dot cacote at free dot fr
Description:
------------
The server crash after the use of str_ireplace, but the srcipt works
fine with str_replace or if y use shorter subject parameter
Reproduce code:
---------------
echo str_ireplace(array('a', 'b'), '',
'cdefghijklmnopqrstuvwxyz');
Expected result:
----------------
cdefghijklmnopqrstuvwxyz
Actual result:
--------------
the script loop with no end
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41140&edit=1