note 16899 deleted from language.types.null by danbrown
| From: | danbrown@php.net | Date: | Tue, 19 May 2009 14:22:14 +0000 |
| Subject: | note 16899 deleted from language.types.null by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155746@lists.php.net to get a copy of this message | ||
Note Submitter: junk dot phpnet at gasolinemm dot com
----
$a = "";
$b = NULL;
$a == $b;
/* returns true: $a has been converted to $b for the equality comparison */
is_null($a); //returns false
is_null($b); //returns true
$a === $b;
/* returns false: $a is not _identical_ to $b */