Norman Zhang <[EMAIL PROTECTED]> wrote:
> Right? if ($foo) means variable exists and can be null. Whereas, isset($foo)
> means that the value in $foo cannot be null?

you've got it backwards. 'if (isset($foo))' tests that the variable has
been set to some value, possibly including false or null. 'if ($foo)'
tests that the value of the variable is true.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to