Project

General

Profile

Actions

Task #83350

closed

Provide array_filter_recursive in ArrayUtility

Added by Stefan Neufeind about 6 years ago. Updated over 5 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 #1

Updated by Gerrit Code Review about 6 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #2

Updated by Stefan Neufeind about 6 years ago

  • Related to Task #83334: GeneralUtility::implodeArrayForUrl should always encode param-names added
Actions #3

Updated by Gerrit Code Review about 6 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #4

Updated by Gerrit Code Review about 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #5

Updated by Gerrit Code Review about 6 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #6

Updated by Gerrit Code Review about 6 years ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #7

Updated by Gerrit Code Review about 6 years ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #8

Updated by Gerrit Code Review about 6 years ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #9

Updated by Gerrit Code Review about 6 years ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #10

Updated by Gerrit Code Review about 6 years ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #11

Updated by Gerrit Code Review about 6 years ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #12

Updated by Gerrit Code Review about 6 years ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #13

Updated by Gerrit Code Review about 6 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #14

Updated by Gerrit Code Review about 6 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55106

Actions #15

Updated by Stefan Neufeind about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #16

Updated by Christian Kuhn almost 6 years ago

  • Related to Bug #84485: misuse as closure of callable-typed $callback in ArrayUtility::filterRecursive added
Actions #17

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF