Re: Global variables
| From: | Ulf Wendel | Date: | Thu, 19 Apr 2001 08:29:12 +0000 |
| Subject: | Re: Global variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49335@lists.php.net to get a copy of this message | ||
Aaron Tuller schrieb:
>
> At 1:16 AM +0000 4/19/01, Philip Olson wrote:
> > <pre>
> > <?php var_dump($GLOBALS) ?>
> > </pre>
>
> don't do that, at least I think it will recursively traverse the
> $GLOBALS arrary (since $GLOBALS itself is $GLOBAL) and you will never
> end.
print_r() does have that bug, not var_dump().
http://www.php.net/manual/en/function.print-r.php
Ulf
--
Neu: PEAR Menu 3 - Navigationsstrukturen dynamisch dargestellt
http://www.ulf-wendel.de/projekte/menu/tutorial.php
|
http://www.phpdoc.de