We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VarDumper::exportClosure()
VarDumper::exportClosure() not support arrow functions:
$f = fn($x) => $x + 10; VarDumper::export($f);
The text was updated successfully, but these errors were encountered:
https://github.com/yiisoft/var-dumper/blob/master/src/ClosureExporter.php from Yii 3 could be useful for ideas on how to fix that. It supports short closures.
Sorry, something went wrong.
@samdark bad idea - "php": "^7.4|^8.0"
"php": "^7.4|^8.0"
I haven't said that the library should be used. I've said there are interesting ideas there.
@samdark why not https://github.com/jeremeamia/super_closure or https://opis.io/closure/3.x/ ?
No branches or pull requests
VarDumper::exportClosure()
not support arrow functions:Additional info
The text was updated successfully, but these errors were encountered: