It has to do with the naming of these superglobal arrays.
In version 4.1.0 the naming scheme changed. Before it used to be $HTTP_POST_VARS and it was abbreviated to $_POST
The same is true for COOKIE, SERVER, etc.
The so-called "long-named" arrays, $HTTP_[POST|GET|COOKIE|SERVER]_VARS, were never superglobal. They were merely global arrays.
The so-called "short-named" arrasy, $_[POST|GET|COOKIE|SERVER], are superglobal. They are available everywhere, even inside user-defined functions. The "long" arrays required the use of the global scoping operator.
With the advent of PHP 5, it is optional whether the "long-named" arrays will even be instantiated. The recommended php.ini file that ships with the PHP 5 source tarball has it turned off.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.