PHP Syntax Variables Scope Superglobal

 

- Info:

- Superglobal variables are predefined variables accessible from anywhere within the script.

- They provide environment specific information like: current user session details, user's OS, server's OS etc.

 

- Superglobal Variables:

- $_SERVER

- $_GET

- $_POST

- $_COOKIE

- $_FILES

- $_ENV

- $_REQUEST

- $_SESSION

- $GLOBALS