nerdexam
National_Instruments

200-500 · Question #75

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

(35 responses)
  • A
    74% (26)
  • B
    14% (5)
  • C
    3% (1)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 200-500 Practice