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.

jim

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

Reply via email to