note 40785 rejected from function.substr-replace by didou

From: Date: Mon, 15 Mar 2004 07:21:38 +0000
Subject: note 40785 rejected from function.substr-replace by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66851@lists.php.net to get a copy of this message
Note Submitter: nick@climbers.net ---- Seems like substr_replace eats quite a lot of memory to perform the replacement, which means you can hit your php.ini memory limit if doing substring replacements on binary files. eg, I'm doing replacements on a 1.5Mb file but hitting the configured 8Mb limit.

« previous php.notes (#66851) next »