Feature: #83350 - Add recursive filtering of arrays¶
See forge#83350
Description¶
The new method \TYPO3\CMS\Core\Utility\ArrayUtility::filterRecursive()
has been added as an enhancement to the
PHP function array_filter()
to filter multidimensional arrays.
The method ArrayUtility::filterRecursive()
behaves just like array_filter()
and if no callback is defined,
values are removed if they equal to boolean false
. See converting to boolean.
Impact¶
Arrays can be filtered recursive using the new method.