Open WinterSilence opened 2 years ago
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.
@samdark bad idea - "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/ ?
VarDumper::exportClosure()
not support arrow functions:Additional info