$GLOBALS is supposedly "automatically global" - a "superglobal".
I took this to mean that the $GLOBALS array would be available with "register_globals = off" (php.ini file).
I have just upgraded to PHP 4.3.2 where "register_globals = off" is the default, but this does not seem to be the case:
echo $GLOBALS["SCRIPT_NAME"]; // no value
If I make "register_globals = on" it works as usual:
echo $GLOBALS["SCRIPT_NAME"]; // /myscript.php
(I have installed 4.3.2 on both Linux and Windows and the same thing happens on each platform.)
Can I access the $GLOBALS array without setting "register_globals = on"?