1.. include:: ../../Includes.txt
2
3===================================================
4Feature: #83350 - Add recursive filtering of arrays
5===================================================
6
7See :issue:`83350`
8
9
10Description
11===========
12
13The new method :php:`\TYPO3\CMS\Core\Utility\ArrayUtility::filterRecursive()` has been added as an enhancement to the
14`PHP function`_ :php:`array_filter()` to filter multidimensional arrays.
15
16The method :php:`ArrayUtility::filterRecursive()` behaves just like :php:`array_filter()` and if no callback is defined,
17values are removed if they equal to boolean :php:`false`. See `converting to boolean`_.
18
19.. _`PHP function`: https://secure.php.net/manual/en/function.array-filter.php
20.. _`converting to boolean`: https://secure.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting
21
22
23Impact
24======
25
26Arrays can be filtered recursive using the new method.
27
28.. index:: PHP-API
29