Project

General

Profile

Actions

Task #83350

closed

Provide array_filter_recursive in ArrayUtility

Added by Stefan Neufeind almost 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Miscellaneous
Target version:
-
Start date:
2017-12-16
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The php-function array_filter() can't iterate over nested arrays. To filter such arrays a recursive functionality would be useful.

This is intended to be used in another feature-issue. Maybe reviewing that function separately makes sense.

Upon trying to come up with an ideal solution, at the security code-sprint in Wiesbaden, it took quite some testing and research. But imho we found an ideal solution, which I'd like to propose for ArrayUtility.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #83334: GeneralUtility::implodeArrayForUrl should always encode param-namesClosed2017-12-14

Actions
Related to TYPO3 Core - Bug #84485: misuse as closure of callable-typed $callback in ArrayUtility::filterRecursiveClosed2018-03-19

Actions
Actions

Also available in: Atom PDF