[php-src] Issue #8962: Dump of Closure for function/method should dump the function/method name
| From: | mvorisek | Date: | Sat, 09 Jul 2022 14:54:22 +0000 |
| Subject: | [php-src] Issue #8962: Dump of Closure for function/method should dump the function/method name | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241889@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8962
Author: mvorisek
### Description
https://3v4l.org/s8HvF
I would expect:
```diff
Closure Object
(
[this] => Foo Object
(
)
+ [method] => bar
)
Closure Object
(
+ [class] => Foo
+ [method] => barS
)
Closure Object
(
+ [function] => x
)
```