php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7404 Incompatible functions
Submitted: 2000-10-23 06:42 UTC Modified: 2000-10-25 20:29 UTC
From: mpostupalski at wp-sa dot pl Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0.2 OS: Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mpostupalski at wp-sa dot pl
New email:
PHP Version: OS:

 

 [2000-10-23 06:42 UTC] mpostupalski at wp-sa dot 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";

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-25 20:29 UTC] joey@php.net
This is intentional.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Oct 11 00:00:02 2026 UTC