What is the name of an array that stores all global variables in PHP?

22. What is the name of an array that stores all global variables in PHP?

  1. $GLOBAL[]
  2. $global[]
  3. $GLOBALS[]
  4. $PHP_GLOBALS[]

Answer: C) $GLOBALS[]

Explanation:

PHP has an array named $GLOBALS[] that stores all global variables in PHP.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.