PHP 4.0 Bug #4614 Updated: Empty strings are also considered as NULL
| From: | Bug Database | Date: | Fri, 26 May 2000 14:11:14 +0000 |
| Subject: | PHP 4.0 Bug #4614 Updated: Empty strings are also considered as NULL | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19506@lists.php.net to get a copy of this message | ||
ID: 4614
Updated by: andrei
Reported By: stephane.legrand@bigfoot.com
Status: Closed
Bug Type: Other
Assigned To:
Comments:
The value of "" and NULL do compare the same. To test for
equivalence use === operator.
Full Bug description available at: http://bugs.php.net/version4/?id=4614