var_representation 0.1.2

var_representation extension


var_representation is a compact alternative to var_export that properly escapes control characters

License: BSD-3-Clause

Changes

* Switch from infinite recursion detection on the object's properties to infinite recursion detection on the object itself.
This conforms with the change to var_export/debug_zval_dump in php 8.2-dev,
and would allow data structures to safely start returning temporary arrays that can be garbage collected to save memory
(after dumping the representation) starting in php 8.2+.