Re: why is '01' == '1.'?

From: Date: Thu, 15 Dec 2005 17:28:15 +0000
Subject: Re: why is '01' == '1.'?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-21237@lists.php.net to get a copy of this message
No, this rule of logic can't be applied : 2 == true and true == 10, but 2 != 10 It all depends on the types of the compared values. Hans Melis wrote: >a == b and a == c implies by the rules of logic that b == c > > -- Etienne Kneuss http://www.colder.ch/ colder@php.net

« previous php.internals (#21237) next »