[PHP-DEV] PHP 4.0 Bug #3355: empty() returns true if $var == "0" From: jbrindle <email protected>
Date: 01/30/00

From: jbrindle <email protected>
Operating system: slackware 7.0
PHP version: 4.0 Latest CVS (30/01/2000)
PHP Bug Type: Misbehaving function
Bug description: empty() returns true if $var == "0"

if (empty(0)) echo "empty";
0 shouldn't return a true from empty()

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>