is_null() should return false if a variable is not set.

isset() should be used to test for variables existance, not is_null().

This is my opinion and I'm sticking to it.  Those whom deviate from my
opinion are wrong in my opinion!!!

-Joe

"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> At 10:38 AM 5/3/2001 -0500, Andrei Zmievski wrote:
> >On Thu, 03 May 2001, Andi Gutmans wrote:
> > > How do you know today if it's NULL or not?
> >
> >is_null()?
>
> is_null() will also return true if it's undefined.
>
> Andi
>
>
> --
> PHP Development 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]
>



-- 
PHP Development 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]

Reply via email to