note 89719 added to function.array-filter
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 20 Mar 2009 09:28:11 +0000 |
| Subject: | note 89719 added to function.array-filter | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-152186@lists.php.net to get a copy of this message | ||
@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.
----
Server IP: 203.89.181.186
Probable Submitter: 114.134.161.9
----
Manual Page -- http://www.php.net/manual/en/function.array-filter.php
Edit -- https://master.php.net/note/edit/89719
Del: integrated -- https://master.php.net/note/delete/89719/integrated
Del: useless -- https://master.php.net/note/delete/89719/useless
Del: bad code -- https://master.php.net/note/delete/89719/bad+code
Del: spam -- https://master.php.net/note/delete/89719/spam
Del: non-english -- https://master.php.net/note/delete/89719/non-english
Del: in docs -- https://master.php.net/note/delete/89719/in+docs
Del: other reasons-- https://master.php.net/note/delete/89719
Reject -- https://master.php.net/note/reject/89719
Search -- https://master.php.net/manage/user-notes.php