The $_SERVER superglobal in PHP is an associative array.

  • TRUE
  • FALSE
The statement is true. The $_SERVER superglobal in PHP is an associative array that contains server and execution environment-related information. It stores various data such as headers, paths, script locations, server details, user agent, and more. Being an associative array, it uses keys to access specific elements of information. This array is automatically populated by the web server and can be accessed throughout the PHP script. Learn more: https://www.php.net/manual/en/reserved.variables.server.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *