note 19355 rejected from function.isset by zak
| From: | zak@php.net | Date: | Mon, 25 Feb 2002 19:51:33 +0000 |
| Subject: | note 19355 rejected from function.isset by zak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27027@lists.php.net to get a copy of this message | ||
What about the case that you want to get http vars directly from arrays HTTP_GET_VARS and
HTTP_POST_VARS etc. and you want to test if some variable is defined and that var really is defined
but its value is 0? Then all functions like isset and empty fail and you have to use foreach or
something similar and test if there occurs the name of your variable within the indexes of the
array. Or has someone better solution?