just to let you know, the $GLOBALS[] superglobals  was around long before
php 4.1.0

Jim Lucas
----- Original Message -----
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Chris Boget" <[EMAIL PROTECTED]>; "PHP General"
<[EMAIL PROTECTED]>
Sent: Friday, August 01, 2003 12:18 PM
Subject: RE: [PHP] Globals


[snip]
$GLOBALS
[/snip]

>From http://us2.php.net/language.variables.scope

"The $GLOBALS array is an associative array with the name of the global
variable being the key and the contents of that variable being the value
of the array element. Notice how $GLOBALS exists in any scope, this is
because $GLOBALS is a superglobal."

// Superglobals are available in any scope and do
// not require 'global'.  Superglobals are available
// as of PHP 4.1.0

HTH!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to