PHP 4.0 Bug #2088: empty() not working correctly
| From: | musone at edgeglobal dot com | Date: | Tue, 17 Aug 1999 15:03:04 +0000 |
| Subject: | PHP 4.0 Bug #2088: empty() not working correctly | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9922@lists.php.net to get a copy of this message | ||
From: musone@edgeglobal.com
Operating system: Linux
PHP version: 4.0 Latest CVS (17/08/1999)
PHP Bug Type: Scripting Engine problem
Bug description: empty() not working correctly
the following produces a result of "1"
$name="0";
echo empty($name);
this should not be considered empty, from what i understand,
and it was also a fix in php3.0 a while back.