Bug #82956
closedDebuggerUtility can't handle variadics (variable arguments) on closures
100%
Description
Trying to debug a closure, or any object that has a closure as property results in an error.
Steps to reproduce:
Execute the following:
\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump(function(...$args){});
Results in error being thrown when trying to call
Internal error: Failed to retrieve the default value
After trying a bit I found that this solves the issue and displays the variadics correctly:
https://gist.github.com/nitori/dc82f31aff2d2245217ef1fdf043f275
Updated by Mathias Brodala about 7 years ago
- Assignee set to Mathias Brodala
- Target version set to next-patchlevel
- Complexity set to easy
Updated by Gerrit Code Review about 7 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/54600
Updated by Gerrit Code Review about 7 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/54600
Updated by Gerrit Code Review about 7 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/54600
Updated by Gerrit Code Review about 7 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/54600
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54637
Updated by Mathias Brodala about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ab77786bd0cbf114b18a3fd3e124bfc4b10107de.