note 21469 added to function.empty

From: Date: Tue, 14 May 2002 12:52:48 +0000
Subject: note 21469 added to function.empty
Groups: php.notes 
Request: Send a blank email to php-notes+get-30624@lists.php.net to get a copy of this message
I think that some of you are misunderstanding the meaning of "value" word. If some function chcecks if variable is empty, setting the variable to "0" is giving the variable A VALUE. So empty() function will return FALSE what is correct! -- http://www.php.net/manual/en/function.empty.php http://master.php.net/manage/user-notes.php?action=edit+21469 http://master.php.net/manage/user-notes.php?action=delete+21469 http://master.php.net/manage/user-notes.php?action=reject+21469

« previous php.notes (#30624) next »