note 84745 rejected from function.preg-grep by thiago
| From: | thiago@php.net | Date: | Mon, 28 Jul 2008 14:36:47 +0000 |
| Subject: | note 84745 rejected from function.preg-grep by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142851@lists.php.net to get a copy of this message | ||
Note Submitter: mzubac at inmail dot sk
----
what about adding parameter which will GREP array elements comparing their KEYS not VALUES?
array_filter can be used, but I'm lazy to define callback function everytime.