Re: check if any element of an array is not "empty"
| From: | afan pasalic | Date: | Wed, 30 Apr 2008 21:36:13 +0000 |
| Subject: | Re: check if any element of an array is not "empty" | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273745@lists.php.net to get a copy of this message | ||
yup! that's the one
:D
thanks richard
Richard Heyes wrote:
>> but I was thinking if there is the function does that.
>
> array_filter(). Note this:
>
> "If no callback is supplied, all entries of input equal to FALSE (see
> converting to boolean) will be removed."
>
> http://uk3.php.net/manual/en/function.array-filter.php
>