#41140 [Opn->Fbk]: str_ireplace crash the server
| From: | derick@php.net | Date: | Thu, 19 Apr 2007 18:53:24 +0000 |
| Subject: | #41140 [Opn->Fbk]: str_ireplace crash the server | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111692@lists.php.net to get a copy of this message | ||
ID: 41140
Updated by: derick@php.net
Reported By: m dot cacote at free dot fr
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows XP
PHP Version: 5.2.1
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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