note 51937 added to function.is-null
| From: | jzj at atlas dot cz | Date: | Fri, 15 Apr 2005 18:00:05 +0000 |
| Subject: | note 51937 added to function.is-null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88070@lists.php.net to get a copy of this message | ||
is there any way to distinguish between a variable that has been assigned NULL value and a variable
that has never been assigned? how to check unassigned value without triggering a notice? is_null()
seems to be an alias of !isset() and does not actually check for NULL value.
-JaZzyJunGgle
----
Manual Page -- http://www.php.net/manual/en/function.is-null.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51937
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51937&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51937&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51937&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51937&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51937&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51937&report=yes
Search -- http://master.php.net/manage/user-notes.php