note 37543 deleted from function.empty by didou

From: Date: Wed, 19 Nov 2003 11:33:58 +0000
Subject: note 37543 deleted from function.empty by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-60616@lists.php.net to get a copy of this message
Note Submitter: php at opaqo dot com ---- I feel there is an error in the description: empty() returns FALSE if varhas a non-empty or non-zero value. In otherwords, "",0, "0", NULL, FALSE, array(), var $var;, and objects with empty properties, are all considered empty. TRUE is returned if varis empty. I think what was meant, was that "",0, "0", NULL, FALSE, array(), var $var;, and objects with empty properties, are all considered NON-empty.

« previous php.notes (#60616) next »