Multiple choice

___________ is an array containing information such as header, path and script location.

  1. $_COOKIE
  2. $_SESSION
  3. $_REQUEST
  4. $_SERVER
Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

$_SERVER is a PHP superglobal array that contains server and execution environment information, including headers, paths, and script locations. $_COOKIE stores cookie data, $_SESSION stores session data, and $_REQUEST combines GET, POST, and cookie data. The question specifically describes $_SERVER's purpose.