note 80841 deleted from function.str-replace by danbrown

From: Date: Sun, 20 Jul 2008 16:15:41 +0000
Subject: note 80841 deleted from function.str-replace by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142169@lists.php.net to get a copy of this message
Note Submitter: griffinmt at charter dot net ---- It would appear that there is a length restriction in str_replace. When processing a large string (approx 35k long) and trying to replace some binary data with characters, it stopped replacing at about the 16K boundary. Have not yet worked out an alternative yet, other than splitting the sting into pieces first.

« previous php.notes (#142169) next »