Re: $GLOBALS containing itself!!!
| From: | Robert Cummings | Date: | Mon, 15 Dec 2003 09:31:37 +0000 |
| Subject: | Re: $GLOBALS containing itself!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172719@lists.php.net to get a copy of this message | ||
On Mon, 2003-12-15 at 04:23, Gerard Samuel wrote:
> 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?
It's global isn't it? SOunds like completeness.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'