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)- A74% (26)
- B14% (5)
- C3% (1)
- D6% (2)
- E3% (1)
Community Discussion
No community discussion yet for this question.