RE: [PHP] Globals

From: Date: Fri, 01 Aug 2003 19:18:59 +0000
Subject: RE: [PHP] Globals
Groups: php.general 
Request: Send a blank email to php-general+get-157992@lists.php.net to get a copy of this message
[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!

« previous php.general (#157992) next »