Re: [VOTE] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace)

From: Date: Tue, 03 Feb 2015 11:01:48 +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 [email protected] to get a copy of this message
Hi Francois,

On Tue, Feb 3, 2015 at 2:00 AM, François Laupretre <[email protected]>
wrote:

> 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 guess you mean discussion?
Example code would be nice for this RFC.

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (10 messages)

« previous php.internals (#81701) next »