RE: [PHP-DEV] [BugFest] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace)
| From: | François Laupretre | Date: | Sat, 10 Jan 2015 20:48:44 +0000 |
| Subject: | RE: [PHP-DEV] [BugFest] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace) | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80331@lists.php.net to get a copy of this message | ||
> De : François Laupretre [mailto:francois@tekwire.net]
> > De : Andrey Andreev [mailto:narf@devilix.net]
> > I have to agree here. Nested arrays are too much ... it should be
> > limited to single-dimension arrays.
>
> It makes the C code simpler to understand. But I am OK not to document the
> feature for search and replace.
Actually, supporting an undocumented feature is not a good idea. If you agree, I will limit search
recursion to 1 level but keep arbitrarily-nested subject.
François