note 8511 added to gettype
| From: | jose at vocis dot com | Date: | Thu, 14 Sep 2000 13:22:49 +0000 |
| Subject: | note 8511 added to gettype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4998@lists.php.net to get a copy of this message | ||
Also returns "NULL" for variables assigned the return of a function that returned no value
via "return;".
<code>
function weird(){
return;
}
$a=weird();
</code>
isset($a) <> 1
empty($a) <> 1
gettype($a) == NULL
-Jose Batista
http://www.php.net/manual/function.gettype.php