In the syntax of $GLOBALS[index], what does 'index' hold?

23. In the syntax of $GLOBALS[index], what does "index" hold?

  1. Index (starting from 0) of the variable
  2. Index (starting from 1) of the variable
  3. Name of the variable
  4. Line number of the variable where the variable was declared

Answer: C) Name of the variable

Explanation:

In the syntax of $GLOBALS[index], index holds the name of the variable.

Comments and Discussions!

Load comments ↻






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