note 29554 added to function.is-null
| From: | Pedro at rack1 dot php dot net | Date: | Mon, 17 Feb 2003 15:41:50 +0000 |
| Subject: | note 29554 added to function.is-null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-44095@lists.php.net to get a copy of this message | ||
I tested it in 3.0.18 but don't work, after I used gettype to redefine is_null:
function is_null($var) {
if ( gettype($var) == 'NULL' ) return true;
return false;
}
p.s.
in the online documentation of the function gettype i see:
"NULL" (since PHP 4)
--
http://www.php.net/manual/en/function.is-null.php
http://master.php.net/manage/user-notes.php?action=edit+29554
http://master.php.net/manage/user-notes.php?action=delete+29554
http://master.php.net/manage/user-notes.php?action=reject+29554