note 18444 added to function.str-replace

From: Date: Wed, 23 Jan 2002 09:51:26 +0000
Subject: note 18444 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-25735@lists.php.net to get a copy of this message
I found str_replace getting out of size limit, e.g. if you have standard 8MB quota specified in php.ini, applying $foo=str_replace($pattern,$replacement,$foo) function when strlen($foo)>4194304 (4MB) will cause a PHP fatal error. -- http://www.php.net/manual/en/function.str-replace.php http://master.php.net/manage/user-notes.php?action=edit+18444 http://master.php.net/manage/user-notes.php?action=delete+18444 http://master.php.net/manage/user-notes.php?action=reject+18444

« previous php.notes (#25735) next »