Hi,

Does 0(zero) really equate to null?

if( 0 == null )
{
        echo 'true';
}
else echo 'false';

Result echo's: true

This can not be right, can it?  I have never heard of such a thing.  As
far as I recall from any language null is of no value equaling nothing?
So how can it equal 0?

Any help or explanation would be greatly appreciated.

Regards,

Justin Palmer

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to