[php-src] Issue #13609: Dump wrapped object in `WeakReference` class
| From: | mvorisek | Date: | Wed, 06 Mar 2024 19:02:57 +0000 |
| Subject: | [php-src] Issue #13609: Dump wrapped object in `WeakReference` class | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246523@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13609
Author: mvorisek
### Description
repro: https://3v4l.org/cuspD
This is a feature request to dump the inner weakly referenced object like as it would be wrapped by
a regular class. Currently, the inner object is hidden in the dump making debugging harder.
Actual result:
```
WeakReference Object
(
)
```
Expected result:
```
WeakReference Object
(
[object] => stdClass Object
(
)
)
```