note 89719 deleted from function.array-filter by thiago
| From: | thiago@php.net | Date: | Fri, 20 Mar 2009 12:48:50 +0000 |
| Subject: | note 89719 deleted from function.array-filter by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-152195@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
@Craig: I ran into that a couple of years ago and figured array_filter could do the job.
http://www.php.net/array-filter#77442
After all, the "false" elements are just the ones that are not "true" elements.
Like you say, very simple.