note 32122 deleted from function.isset by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 01:16:30 +0000 |
| Subject: | note 32122 deleted from function.isset by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48315@lists.php.net to get a copy of this message | ||
Note Submitter: oirolfa@hotmail.com
----
Checking if a variable is set using isset() is the same as checking if a variable is different from
NULL.
if (isset($a)) { ... }
// equivalent to
if ($a !== NULL) { ... } // Note the !== operator