Don't use this syntax when it comes to null.
use the typed comparison operators:
http://www.php.net/manual/en/languag...comparison.php
Either === or !== , which will check the type of the variable and it's php logical value after casting.
You can use is_null() too to test a value.
Appart this, in your question, both statement will be correct.
As null cast to 0:
1 is >= to null
null is not >= to 1
__________________
Listen to the ducky: "This is awesome!!!"
|