note 90980 rejected from function.str-replace by danbrown
| From: | danbrown@php.net | Date: | Tue, 19 May 2009 14:12:34 +0000 |
| Subject: | note 90980 rejected from function.str-replace by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155731@lists.php.net to get a copy of this message | ||
Note Submitter: gilmijar at o2 dot pl
----
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)