PHP 4.0 Bug #2088 Updated: empty() not working correctly
| From: | Bug Database | Date: | Tue, 17 Aug 1999 15:07:39 +0000 |
| Subject: | PHP 4.0 Bug #2088 Updated: empty() not working correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9923@lists.php.net to get a copy of this message | ||
ID: 2088
Updated by: andrey
Reported By: musone@edgeglobal.com
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
The manual states:
"Returns false if var is set and has a non-empty or non-zero value; true otherwise. "
Since the variable has the value of 0, it is considered empty.
Full Bug description available at: http://bugs.php.net/?id=2088