Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81618 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89282 invoked from network); 2 Feb 2015 17:24:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 17:24:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.214.179 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.214.179 mail-ob0-f179.google.com Received: from [209.85.214.179] ([209.85.214.179:56353] helo=mail-ob0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/CB-34915-FB2BFC45 for ; Mon, 02 Feb 2015 12:24:15 -0500 Received: by mail-ob0-f179.google.com with SMTP id wp4so3716591obc.10 for ; Mon, 02 Feb 2015 09:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6XSDugLy2SeebNdt2P8GOH2z/KrUeh6YV/vd5mdLumo=; b=NWEcDw1/O15oYbR+l6fW/IE67apb1Dvuudp42vPZ7yDZEsnF1rVnX+7Kr++DCDb+41 9aE+0yhF9VZlbsVZc0k6bP7gRW1ziGef6BrTx1hoUtBEXnzzAHjl0SdyE723Ri/MJi8p c8OVB1MRe/T0c15rCm/bBGOwRzjeXHWbjOAZU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6XSDugLy2SeebNdt2P8GOH2z/KrUeh6YV/vd5mdLumo=; b=bEGAWSTxMpMC6rhlJa/S4VEq4BtquYbbZOqCs5llutiWjA9yE0JnjHBx3ryI3b4NBr j4vjgVoX0xv+t5OklV/Gork/JGEwkhrt3jPCc2nJ+GMnlRxHQF0+VljAJfLQXiDjSAzS wgps5YDvtZWncon43/sLgNQ7TR7PmINB2sL10k2AlTQy+kJmfcjUXhT8xpcKhSVwyjgO kPl2TFbN0GaZ4xlcMFZa2uERsHkWRJ3RUEhKkQSr6GaiUeD1jtj2zakb9XYqNpELkLT/ 7lybYjpsq1ai9snfWG5axnRMPg8hJUKgWyHQas1h5ela282CQmlkzWEO5clZ3KYpSX/o 9pSw== X-Gm-Message-State: ALoCoQk4rK6Kg8ubuhtYD09Qnio0pmh9WiMW45dpqikEfWDYpB89Keej1i/xdtdgopZIicpzeH7o MIME-Version: 1.0 X-Received: by 10.202.169.208 with SMTP id s199mr11888498oie.21.1422897852077; Mon, 02 Feb 2015 09:24:12 -0800 (PST) Received: by 10.202.214.205 with HTTP; Mon, 2 Feb 2015 09:24:12 -0800 (PST) In-Reply-To: <009b01d03f09$bd263e00$3772ba00$@tekwire.net> References: <009b01d03f09$bd263e00$3772ba00$@tekwire.net> Date: Mon, 2 Feb 2015 19:24:12 +0200 Message-ID: To: francois@tekwire.net Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Feature request #38685: str_[i]replace(): Add support for (string needle, array replace) From: narf@devilix.net (Andrey Andreev) Hi, On Mon, Feb 2, 2015 at 7:00 PM, Fran=C3=A7ois Laupretre wrote: > Hi, > > 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 need= le > is replaced with an element of the 'replace' array. > I seem to have missed the new parameter (and constants) addition during the discussion ... sorry to say this, but that one would probably fail the RFC. Cheers, Andrey.