[eluser]cPage[/eluser]
I agree,
but what the manual say :
Code:
NULL
The special NULL value represents a variable with no value. NULL is the only possible value of type NULL.
A variable is considered to be null if:
it has been assigned the constant NULL.
it has not been set to any value yet.
it has been unset().
Code:
When converting to boolean, the following values are considered FALSE:
the boolean FALSE itself
the integer 0 (zero)
the float 0.0 (zero)
the empty string, and the string "0"
an array with zero elements
an object with zero member variables (PHP 4 only)
[b]the special type NULL (including unset variables)[/b]
SimpleXML objects created from empty tags
Every other value is considered TRUE (including any resource).