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.