note 36879 added to function.var-export
| From: | webmaster at huinca dot net | Date: | Sun, 26 Oct 2003 03:11:41 +0000 |
| Subject: | note 36879 added to function.var-export | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-59293@lists.php.net to get a copy of this message | ||
(Regarding a previous post in this page)
Please keep in mind that $GLOBALS is a quite unique type of array, where nesting level are infinite
because $GLOBALS['GLOBALS'] is exactly $GLOBALS (and recursively). Thus,
// Never try these ones!
var_export($GLOBALS);
var_dump($GLOBALS);
yields a nesting level very, very deep. As deep as you want :) So, to check recursivity please
choose any other variable.
----
Manual Page -- http://www.php.net/manual/en/function.var-export.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36879
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36879&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36879&report=yes
Search -- http://master.php.net/manage/user-notes.php