PHP: Superglobals

Several predefined variables in PHP are “superglobals”, which means they are available in all scopes throughout a script.

There is no need to declare global $variable to access them within functions or methods.

These superglobal variables are:

Series Navigation<< PHP: Using $GLOBALS instead of global
PHP: $GLOBALS example >>