Just curious about something I came across. I was looking at the $GLOBAL array, to see what my script was leaving behind. $GLOBALS contains a reference to itself. Even though its a reference, whats the sense with that?? Once its global, why should it have to call on itself? Im currently running php 4.3.4 on FreeBSD 4.9
Thanks A script to try out -> <?php header('content-type: text/plain'); var_dump(isset($GLOBALS['GLOBALS']['GLOBALS'])); // returns true // Prints out the $GLOBALS array // including one reference to itself // then starts another but quits with *RECURSION* var_dump($GLOBALS); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php