Re: [PHP] check if any element of an array is not "empty"

[email protected] (Richard Heyes)
Newsgroups php.general
Message-ID <[email protected]>
> i dont really see how that gets him the answer without at least checking the
> number of elements in the array after filtering it w/ array_filter; which if
> he wanted to reuse in several places would make sense to write a simple
> function for anyway..

Yes, on both counts.

-- 
Richard Heyes

+----------------------------------------+
| Access SSH with a Windows mapped drive |
|    http://www.phpguru.org/sftpdrive    |
+----------------------------------------+
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.