Re: Re: Globals
| From: | Leif K-Brooks | Date: | Fri, 01 Aug 2003 19:22:20 +0000 |
| Subject: | Re: Re: Globals | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-157997@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
$GLOBALS does not contain a reference to itselfYes it does. I just ran the following, and I got "Greg is wrong." <?php $foo = 'Greg is wrong.'; echo $GLOBALS['GLOBALS']['GLOBALS']['GLOBALS']['foo']; ?> -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law.