php/php-src — pull request #202 by hradtke (2012-09-24 09:24:07+00:00)
Title: Fix bug #63148: Pass key to array_filter callback

Added an optional parameter to array_filter to pass the array key to the
callback. Added test cases to prove it is working. Fixed a very minor
regression in ext/standard/tests/array/array_filter_error.phpt where the
test was expecting a warning if 3 parameters were passed to the
array_filter function.