I bet it would work, 'cause whenever $GLOBALS is 'print_r'd, Globals shows up and a 'recursion note' ends the execution of 'print_r'.
Justin Patrin wrote:
You *can* unset it, you just have to unset the place where it really sits. When you have a global in a function, then unset it, you only disconnect the variable. unset doesn't destroy a variable, it just breaks the reference.
As I said in my earlier e-mail, using this *will* work (I tested it):
unset($GLOBALS['_REQUEST']);
$GLOBALS is itself a superglobal.....hmmm, wonder what would happen if you unset($GLOBALS['GLOBALS'])....
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

