Michael wrote:
Ok, picking gnits...
I should have said NOT true and NOT false at the same time.
As for the return of the integer 0..
The documentation indicates that the === and !== operators take this into
account in fact there is a specific example in the manual.
My point here is that if !== works , why does === not?
I think you need to re-read the docs for ===.
0 !== false
0 == false
1 == true
1 !== true
only...
false === false
and
true === true
The === and !== check both value and type, so 0 and false are different.
Hope that helped.
-Stut
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php