In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Mark) wrote:
> >if(isset($) and !empty($a) and !$a)
> this is the same as if(!empty($a))
> >if(isset($) and $a===FALSE)
> this is the same as if(empty($a))
(Aside from accidentally omitted the "a" in the var name...oops...)
No, they're not the same thing if you have error reporting set to E_ALL.
If $a is not set, calling empty($a) or !$a produces a warning.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]