note 10838 added to Variables
| From: | spam_tone at rogerwilco dot com | Date: | Tue, 23 Jan 2001 13:59:38 +0000 |
| Subject: | note 10838 added to Variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10178@lists.php.net to get a copy of this message | ||
It is worth noting that
0 == NULL in PHP. I wish this were not so... having a value of zero is not the same as having no
value assigned... SQL makes the distinction nicely.
I would also like to see a NULL value (as well as attempts to dereference undefined values) cast to
"NULL" when coerced to a string ... making SQL coding in PHP much simpler and without a
need to perform suturing between the handling of defined vs undefined identifiers.
http://www.php.net/manual/en/language.variables.php