mirror of
https://github.com/php/php-src.git
synced 2026-04-20 06:21:12 +02:00
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.
134 KiB
134 KiB