Re: [RFC][VOTE] In Operator

From: Date: Sun, 29 Mar 2015 09:19:11 +0000
Subject: Re: [RFC][VOTE] In Operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-85524@lists.php.net to get a copy of this message
Le 15/03/2015 20:31, Niklas Keller a écrit :
I just opened the vote for the in operator Hi,
Discussing this RFC with other people at AFUP, it seems the majority of us ended up on the +1 side. The idea of a unified syntax to find whether or not something is *in* something else seems to be interesting for many. On the other hand, some noted this new operator doesn't feel like "the PHP way" and cannot be used as a callback (as it's not a function). A few also suggested if this is accepted, maybe it could be extended for objects in the future; with new a specific method? In any case, thanks for your work on this! -- Pascal MARTIN, AFUP - French UG http://php-internals.afup.org/

« previous php.internals (#85524) next »