|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-10-10 13:35 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ When sending some recursion variable to var_export it gets "Fatal error: Nesting level too deep - recursive dependency?" while var_dump inform of *RECURSION*. I'm not sure it is a bug, but i think it worth thinking of changing. CLI output: php > class a { }; php > $a = new a(); php > $a->a = &$a; php > var_dump($a); object(a)#1 (1) { ["a"]=> &object(a)#1 (1) { ["a"]=> *RECURSION* } } php > var_export($a); a::__set_state(array( 'a' => a::__set_state(array( 'a' => a::__set_state(array( 'a' => a::__set_state(array( Fatal error: Nesting level too deep - recursive dependency? in php shell code on line 1