nerdexam
Zend

200-530 · Question #3630

When PHP is running on a command line, what super-global will contain the command line arguments specified?

The correct answer is A. $_SERVER. See the full explanation below for the reasoning.

Question

When PHP is running on a command line, what super-global will contain the command line arguments specified?

Options

  • A$_SERVER
  • B$_ENV
  • C$GLOBALS
  • D$_POST
  • E$_ARGV

How the community answered

(33 responses)
  • A
    76% (25)
  • B
    3% (1)
  • C
    12% (4)
  • D
    3% (1)
  • E
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice