PHP 4.0 Bug #7404: Incompatible functions
| From: | mpostupalski at wp-sa dot pl | Date: | Mon, 23 Oct 2000 10:42:13 +0000 |
| Subject: | PHP 4.0 Bug #7404: Incompatible functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35862@lists.php.net to get a copy of this message | ||
From: mpostupalski@wp-sa.pl
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: *General Issues
Bug description: Incompatible functions
Difference between PHP 3.0 and PHP 4.0. Function empty() in my opinion is incompatible. This is a
test:
$test='0'; //zero
echo empty($test) ? "True" : "False";
//PHP 3.0 returns "False";
//PHP 4.0 returns "True";
--
Edit Bug report at: http://bugs.php.net/?id=7404&edit=1