Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80292 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23498 invoked from network); 9 Jan 2015 00:08:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2015 00:08:39 -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:57027] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/91-14400-40C1FA45 for ; Thu, 08 Jan 2015 19:08:37 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 492914B028C for ; Fri, 9 Jan 2015 01:06:31 +0100 (CET) Reply-To: To: References: <003e01d0290b$2387dd30$6a979790$@yahoo.fr> In-Reply-To: <003e01d0290b$2387dd30$6a979790$@yahoo.fr> Date: Fri, 9 Jan 2015 01:08:26 +0100 Message-ID: <007801d02ba0$659b9080$30d2b180$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJLUGZm//Pi9sQwKU1Klfwo9ikS+ZvAnnww Content-Language: fr X-Antivirus: avast! (VPS 150108-1, 08/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 (=?iso-8859-1?Q?Fran=E7ois_Laupretre?=) Hi, I just created the RFC : https://wiki.php.net/rfc/cyclic-replace I tried to include everything we agreed upon. Tell me if I missed = something. Please note that the current PR does not implement the whole RFC. You = may review the RFC while I update the code. Please also give me your opinion about implementing a similar feature in preg_replace() and preg_filter(). Regards, Fran=E7ois