Re: [RFC][PRE-VOTE] In Operator

From: Date: Sun, 15 Mar 2015 02:07:16 +0000
Subject: Re: [RFC][PRE-VOTE] In Operator
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-84795@lists.php.net to get a copy of this message
2015-03-15 2:48 GMT+01:00 Antonio Carlos Ribeiro <acr@antoniocarlosribeiro.com>: > 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 televisão > muito educativo. Quando alguém a liga, vou à biblioteca e leio um bom > livro.) > > (Groucho Marx) > > > On Sat, Mar 14, 2015 at 9:54 PM, Niklas Keller <me@kelunik.com> 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

« previous php.internals (#84795) next »