Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80331 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87436 invoked from network); 10 Jan 2015 20:48:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jan 2015 20:48:53 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:48133] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/D4-48183-53091B45 for ; Sat, 10 Jan 2015 15:48:53 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id DD6294B023B; Sat, 10 Jan 2015 21:46:45 +0100 (CET) Reply-To: To: , "'Andrey Andreev'" Cc: References: <003e01d0290b$2387dd30$6a979790$@yahoo.fr> <007801d02ba0$659b9080$30d2b180$@tekwire.net> <000c01d02cfa$c7bad220$57307660$@tekwire.net> In-Reply-To: <000c01d02cfa$c7bad220$57307660$@tekwire.net> Date: Sat, 10 Jan 2015 21:48:44 +0100 Message-ID: <000d01d02d16$d34b1cf0$79e156d0$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJLUGZm//Pi9sQwKU1Klfwo9ikS+QIf8jOCAeK3NVEBkHJf6AH9JPPWm4b22/A= Content-Language: fr X-Antivirus: avast! (VPS 150110-2, 10/01/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] [BugFest] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace) From: francois@tekwire.net (=?UTF-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Fran=C3=A7ois 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. >=20 > 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=C3=A7ois