Closed
Description
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
(
)
)
If for some reasons this is wanted to limit the dump depth,
$weakRef->get() !== null ? get_class($weakRef->get()) : null
can be dumped.