diff options
author | Nikita Popov <nikic@php.net> | 2015-04-15 21:07:34 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2015-04-15 22:00:12 +0200 |
commit | dc764bf644bba1b574c0970df4386d3fcc243914 (patch) | |
tree | 39911c612b15961ee201d2dc477f80abea6e531b /sapi/phpdbg/phpdbg_utils.c | |
parent | 3dcad2eea2f24164f2a313792bbfda5e093b4807 (diff) | |
download | php-git-dc764bf644bba1b574c0970df4386d3fcc243914.tar.gz |
Use object apply count in var_dump / print_r
Instead of using the array apply count on the debug_info array, use
the object apply count for recursion detection when dumping. This
handles recursion in a more generic way and does not require each
debug_info handler to deal with this.
This allows returning a temporary debug_info array, instead of
having to store it in the object (thus delaying destruction of the
values).
Switch SPL debug_info handlers to use a temporary array.
Diffstat (limited to 'sapi/phpdbg/phpdbg_utils.c')
0 files changed, 0 insertions, 0 deletions