note 35014 deleted from function.defined by betz

From: Date: Fri, 23 Apr 2004 11:49:29 +0000
Subject: note 35014 deleted from function.defined by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-68654@lists.php.net to get a copy of this message
Note Submitter: adamh@densi.com ---- The behavior of defined() is not exactly same as isset(): $foo = null; define("FOO", null); if (isset($foo)) print "\$foo is set\n"; // will NOT print if (defined("FOO")) print "FOO is defined\n"; // WILL print

« previous php.notes (#68654) next »