note 44247 deleted from function.empty by tomsommer
| From: | tomsommer@php.net | Date: | Mon, 19 Jul 2004 17:19:26 +0000 |
| Subject: | note 44247 deleted from function.empty by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-73616@lists.php.net to get a copy of this message | ||
Note Submitter: jsruok
----
The
(empty($var) && $var != 0)
solution didn't work for me whereas
(empty($var) && !is_numeric($var))
did just the trick.