PHP: Variables: Super Globals

PHP don’t support global variables. Some of internal variables behave like global variables, they are known as super global variables. Super global variables are predefined by PHP and can be used.
Some super global variables follows:
$_GET[]. An array that includes all the GET variables that PHP received from the client browser.
$_POST[]. An array that includes all the POST variables that PHP received from the client browser.
$_COOKIE[]. An array that includes all the cookies that PHP received from the client browser.
$_ENV[]. An array with the environment variables.
$_SERVER[]. An array with the values of the web-server variables.

(Related Tutorials)

1 comment to PHP: Variables: Super Globals

Leave a Reply