Re: PR 287 - added use_keys argument to array_filter() [Discussion]
| From: | Leigh | Date: | Tue, 18 Jun 2013 17:30:03 +0000 |
| Subject: | Re: PR 287 - added use_keys argument to array_filter() [Discussion] | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67728@lists.php.net to get a copy of this message | ||
On 18 June 2013 18:24, Sherif Ramadan <theanomaly.is@gmail.com> wrote:
> I suppose the order of the elements should remain $value, $key in the event
> of ARRAY_FILTER_KEY | ARRAY_FILTER_VAL.
>
This is also the order already used for the callback of array_walk, so I
think it makes sense to have some consistency. (Even if I never liked the
order of the array_walk callback :))