#41140 [Opn]: str_ireplace crash the server

From: Date: Thu, 19 Apr 2007 19:26:49 +0000
Subject: #41140 [Opn]: str_ireplace crash the server
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-111695@lists.php.net to get a copy of this message
ID: 41140 User updated by: m dot cacote at free dot fr Reported By: m dot cacote at free dot fr Status: Open Bug Type: Reproducible crash Operating System: Windows XP PHP Version: 5.2.1 New Comment: It works fine with the new release !!! I have not installed correctly the version of php. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#111695) next »