note 11102 deleted from function.empty by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 09:59:46 +0000 |
| Subject: | note 11102 deleted from function.empty by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48477@lists.php.net to get a copy of this message | ||
Note Submitter: clarkATphredDOTorg
----
This function also seems dumb to me, because it doesn't actually do what its name implies: if a
variable has explicitly been assigned the value 0, it isn't empty. Yet this function returns
true for a zero value. To me, an "empty" variable is either the empty string,
"", or a variable that has never been set.