note 27382 added to function.empty
| From: | chris at rack1 dot php dot net | Date: | Tue, 03 Dec 2002 23:53:38 +0000 |
| Subject: | note 27382 added to function.empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40318@lists.php.net to get a copy of this message | ||
This page http://www.php.net/manual/en/functions.arguments.php
seems to indicate otherwise.
My tests using code like that in one of the examples from the above page also show that the isset()
works as I expected in that scope, e.g.:
function foo( $var ) {
if ( isset($var) ) echo "set";
}
foo( $unsetvar );
does not echo set. Your remarks seem to indicate otherwise.
--
http://www.php.net/manual/en/function.empty.php
http://master.php.net/manage/user-notes.php?action=edit+27382
http://master.php.net/manage/user-notes.php?action=delete+27382
http://master.php.net/manage/user-notes.php?action=reject+27382