Re: [VOTE] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace)
| From: | Andrey Andreev | Date: | Mon, 02 Feb 2015 17:24:12 +0000 |
| Subject: | Re: [VOTE] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81618@lists.php.net to get a copy of this message | ||
Hi,
On Mon, Feb 2, 2015 at 7:00 PM, François Laupretre <francois@tekwire.net> wrote:
> Hi,
>
> Opening the vote for :
>
> https://wiki.php.net/rfc/cyclic-replace
>
> This RFC adds support in str_replace() and str_ireplace() for the
> combination of
> (string needle, array replace). In this case, each occurrence of the needle
> is replaced with an element of the 'replace' array.
>
I seem to have missed the new parameter (and constants) addition
during the discussion ... sorry to say this, but that one would
probably fail the RFC.
Cheers,
Andrey.