actually, you're right in that (colder.ch) since what happens here is a conversion. This applies to all these 'logic cases' posted. When something is converted to something else, as part of a process, you can't state that the process returns unique results (meaning the result always points back to the same input), and as such you can't state a lot of various things posted in this thread.

But this is all OT, and really should be moved off the list, or at least to the generals list.

- tul
colder.ch wrote:
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



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to