note 80841 added to function.str-replace

From: Date: Sat, 02 Feb 2008 22:04:36 +0000
Subject: note 80841 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-135741@lists.php.net to get a copy of this message
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. ---- Server IP: 208.69.120.35 Probable Submitter: 71.10.19.251 ---- Manual Page -- http://www.php.net/manual/en/function.str-replace.php Edit -- https://master.php.net/note/edit/80841 Del: integrated -- https://master.php.net/note/delete/80841/integrated Del: useless -- https://master.php.net/note/delete/80841/useless Del: bad code -- https://master.php.net/note/delete/80841/bad+code Del: spam -- https://master.php.net/note/delete/80841/spam Del: non-english -- https://master.php.net/note/delete/80841/non-english Del: in docs -- https://master.php.net/note/delete/80841/in+docs Del: other reasons-- https://master.php.net/note/delete/80841 Reject -- https://master.php.net/note/reject/80841 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135741) next »