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 internals+get-81701@lists.php.net to get a copy of this message
Hi Francois, On Tue, Feb 3, 2015 at 2:00 AM, François Laupretre <francois@tekwire.net> 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 yohgaki@ohgaki.net

« previous php.internals (#81701) next »