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?

-Martin
--
· Martin Jansen     · mailto:[EMAIL PROTECTED]       ·
· Monschau, Germany · http://martin-jansen.de ·


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