Which statement correctly describes the behavior of the `$_SERVER` superglobal?

PHP Intermediate Medium

PHP Intermediate — Medium

Which statement correctly describes the behavior of the `$_SERVER` superglobal?

Key points

  • Contains server and execution environment information
  • Populated by the web server or CLI
  • Available in all scopes without the global keyword

Ready to go further?

Related questions