note 90980 added to function.str-replace

From: Date: Tue, 19 May 2009 13:36:09 +0000
Subject: note 90980 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-155730@lists.php.net to get a copy of this message
It was said, that the $search being a string and $replace an array would not make sense. I think it would add some potential to teh function if in this situation every occurrenece of $search would be replaced by each subsequent element of $replace. (I may be wrong, though) ---- Server IP: 194.24.174.91 Probable Submitter: 83.18.249.218 ---- Manual Page -- http://www.php.net/manual/en/function.str-replace.php Edit -- https://master.php.net/note/edit/90980 Del: integrated -- https://master.php.net/note/delete/90980/integrated Del: useless -- https://master.php.net/note/delete/90980/useless Del: bad code -- https://master.php.net/note/delete/90980/bad+code Del: spam -- https://master.php.net/note/delete/90980/spam Del: non-english -- https://master.php.net/note/delete/90980/non-english Del: in docs -- https://master.php.net/note/delete/90980/in+docs Del: other reasons-- https://master.php.net/note/delete/90980 Reject -- https://master.php.net/note/reject/90980 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#155730) next »