[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

Reply via email to