Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84795 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 6866 invoked from network); 15 Mar 2015 02:07:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2015 02:07:21 -0000 Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.162 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.162 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.162] ([81.169.146.162:43412] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/C0-01144-759E4055 for ; Sat, 14 Mar 2015 21:07:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1426385236; l=1625; s=domk; d=kelunik.com; h=Content-Transfer-Encoding:Content-Type:Cc:To:From:Subject:Date: References:In-Reply-To:MIME-Version; bh=XxaAq9QuJ9SGS1lELFggSJi5yXTWhHI3J3FpQBkhMoo=; b=cvMttXuvoXrLz8h2FFMk8a8p/7p54F6gst+uhLbp8LHF43a62TkwHMM0W0t5cnEj6Fu Iz4Xd+fd05tOsnHtm9AIt5OP6a1CP22c8yWIzJuqq9IV9MA7qk4uKJybbpQ9eL4f56MbS LqZYSf2gBVM3j7I0UXwaiKz5xZtK3SizKNc= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3Q6 X-RZG-CLASS-ID: mo00 Received: from mail-wg0-f47.google.com ([74.125.82.47]) by smtp.strato.de (RZmta 37.4 AUTH) with ESMTPSA id q037b3r2F27GIBC (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) for ; Sun, 15 Mar 2015 03:07:16 +0100 (CET) Received: by wgbcc7 with SMTP id cc7so14709585wgb.0 for ; Sat, 14 Mar 2015 19:07:16 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.194.133.101 with SMTP id pb5mr112031713wjb.40.1426385236223; Sat, 14 Mar 2015 19:07:16 -0700 (PDT) Received: by 10.27.222.1 with HTTP; Sat, 14 Mar 2015 19:07:16 -0700 (PDT) In-Reply-To: References: Date: Sun, 15 Mar 2015 03:07:16 +0100 Message-ID: To: Antonio Carlos Ribeiro Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC][PRE-VOTE] In Operator From: me@kelunik.com (Niklas Keller) 2015-03-15 2:48 GMT+01:00 Antonio Carlos Ribeiro : > Niklas, > > I have to thank you for creating this RFC, I simply love it, every time I > have to use in_array() I feel PHP misses an "in" operator. I cannot vote, > but you have my spiritual support :) Thanks for your feedback. :) > Antonio Carlos Ribeiro > acr@antoniocarlosribeiro.com > > (+55) 21-9-8088-2233 (celular TIM) > (+55) 21-2556-3164 (fixo residencial) > > skype: antoniocarlosribeiro > > _______________ > > I must say I find television very educational. The minute somebody turns = it > on, I go to the library and read a good book. (Devo dizer que acho televi= s=C3=A3o > muito educativo. Quando algu=C3=A9m a liga, vou =C3=A0 biblioteca e leio = um bom > livro.) > > (Groucho Marx) > > > On Sat, Mar 14, 2015 at 9:54 PM, Niklas Keller wrote: >> >> Morning, >> >> I'd like to announce that I'll open the vote for the in operator later >> that day. >> You can find the RFC here: https://wiki.php.net/rfc/in_operator >> >> There was a small change: If the haystack is a string, integers are no >> longer allowed as needle. This change was necessary so it's >> consistently strict for both, array and string haystacks. >> >> Regards, Niklas >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > I just adjusted the Backwards Incompatible Changes section, as class constant and method names will no longer be affected due to the context sensitive lexer dependency. Regards, Niklas