Re: [RFC] Combined Comparison Operator

From: Date: Thu, 13 Feb 2014 19:00:54 +0000
Subject: Re: [RFC] Combined Comparison Operator
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Feb 14, 2014 1:04 AM, "Davey Shafik" <[email protected]> wrote:
>
> On 2/13/14, 12:14 PM, Pierre Joye wrote:
>>

> So, this behavior can definitely be changed — preserving the current
behavior of == for the 0 value, and then we can go two different ways for
1/-1:

Btw, I forgot to mention that for equality comparisons, we have the
instance hash function, which was created exactly for that.


Thread (20 messages)

« previous php.internals (#72561) next »