Re: PHP 4.0 Bug #7404: Incompatible functions

From: Date: Mon, 23 Oct 2000 15:07:33 +0000
Subject: Re: PHP 4.0 Bug #7404: Incompatible functions
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-35957@lists.php.net to get a copy of this message
On 23 Oct 2000 mpostupalski@wp-sa.pl wrote: > 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"; Did you look at the list of known incompatibilities between PHP 3 and PHP 4 at http://www.php.net/version4/incompatibilities.php, specifically point 8? -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.dev (#35957) next »