]> granicus.if.org Git - php/commitdiff
Merge branch 'pull-request/287'
authorSherif Ramadan <googleguy@php.net>
Wed, 30 Oct 2013 13:36:19 +0000 (09:36 -0400)
committerSherif Ramadan <googleguy@php.net>
Wed, 30 Oct 2013 13:36:19 +0000 (09:36 -0400)
Add ability to use array keys with array_filter().
This adds a third (optional) argument to array_filter() that will determine
what gets passed to the callback, the array key, value or both.
The third argument can be one of two constants: ARRAY_FILTER_USE_BOTH or,
ARRAY_FILTER_USE_KEY.

1  2 
ext/standard/array.c
ext/standard/basic_functions.c

Simple merge
Simple merge