From: Sherif Ramadan Date: Wed, 30 Oct 2013 13:36:19 +0000 (-0400) Subject: Merge branch 'pull-request/287' X-Git-Tag: php-5.6.0alpha1~219 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98c9e56ef0be89953729754bd9949e14c7248c15;p=php Merge branch 'pull-request/287' 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. --- 98c9e56ef0be89953729754bd9949e14c7248c15