On Tue, 06 Feb 2001, Martin Jansen wrote:
> The following was reported today in the german language newsgroup
> news:de.comp.lang.php:
> 
> <?php
> $a = NULL;
> if (isset($a)) { print "ok, du hast recht"; }
> ?>
> 
> Shouldn't this script generate some output? IMO $a is set
> and isset() should return true.
> 
> The manual says:
> "isset -- Determine whether a variable is set"
> 
> So following the manual means that there _has_ to be
> output because $a is set in fact.
> 
> Or am I wrong?

NULL == not set

-Andrei

Some people try to achieve immortality through their work, others
through their children. I hope to achieve immortality by not dying.
-- Woody Allen

-- 
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