$GLOBALS contains itself as an array. In the PHP link, you can find the definition of $GLOBALS :
An associative array containing references to all the variables that are currently defined in the global scope of the script. Variable names are array keys.
Therefore, it must also contain itself, which leads to recursion.
Other arrays are probably just empty, since nothing happened in your script.
There is an old recursion joke: "To understand recursion, you must understand recursion."
BTW: it outputs _SERVER on my computer.
ChaosCakeCoder
source share