note 10859 added to isset
| From: | sloppy at sloppycode dot net | Date: | Wed, 24 Jan 2001 10:37:06 +0000 |
| Subject: | note 10859 added to isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10211@lists.php.net to get a copy of this message | ||
can someone tell why this function is needed, when you can surely just use this:
$a = "hello";
if ($a){ //do something }
i thought php did garbage collection for you, or is this method and unset/empty more efficient?
http://www.php.net/manual/en/function.isset.php