PHP super variable

Super global variables are the PHP Global variables, which can be accessed anywhere in the program, regardless of scope. These PHP Global Variables can be accessed in any function, class or file without declaring anything specially.

Types of super global variable in PHP

  1. $GLOBAL
  2. $_SERVER
  3. $_POST
  4. $_GET
  5. $_REQUEST
  6. $_FILES
  7. $_SESSION
  8. $_COOKIE
  9. $_ENV