On Sun, 16 Sep 2001 09:18:23 -0700, CC Zona wrote:
>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
>If $a is not set, calling empty($a) or !$a produces a warning.
calling empty($a) does not give a warning.
Mark, [EMAIL PROTECTED] on 09/16/2001
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]