note 35576 added to language.types.null
| From: | thierry dot bo at netcourrier dot com | Date: | Sat, 06 Sep 2003 15:38:07 +0000 |
| Subject: | note 35576 added to language.types.null | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-55545@lists.php.net to get a copy of this message | ||
Well, if
" A variable is considered to be NULL if :
- it has not been set to any value yet
- (....)" ,
is this normal ?? :
$id == 0;
NULL == $id
: bool = TRUE
NULL === $id
: bool = FALSE
For me, (0 == NULL) is not true ???
----
Manual Page -- http://www.php.net/manual/en/language.types.null.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35576
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35576&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35576&report=yes