PHP 4.0 Bug #7404 Updated: Incompatible functions
| From: | joey@php.net | Date: | Thu, 26 Oct 2000 00:29:08 +0000 |
| Subject: | PHP 4.0 Bug #7404 Updated: Incompatible functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36028@lists.php.net to get a copy of this message | ||
ID: 7404
Updated by: joey
Reported By: mpostupalski@wp-sa.pl
Status: Closed
Bug Type: *General Issues
Assigned To:
Comments:
This is intentional.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-23 06:42:13] mpostupalski@wp-sa.pl
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";
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7404