var_dump() quick fix
| From: | André Langhorst | Date: | Tue, 05 Sep 2000 23:20:29 +0000 |
| Subject: | var_dump() quick fix | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32268@lists.php.net to get a copy of this message | ||
Hi Stas,
I guess you did not have time to spend time on var_dump() and circular references,
well maybe I know how to quick fix var_dump() what allows you to do
var_dump($GLOABLS);
without receiving that annoying recursive dependency msg, it does not fix circular references
visiting, but $GLOBALS can be dumped
just move var_dump() into a function scope, the php lines belows do not produce this warning...
function test() {
var_dump($GLOBALS); }
test();
regards,
andré