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)- A76% (25)
- B3% (1)
- C12% (4)
- D3% (1)
- E6% (2)
Community Discussion
No community discussion yet for this question.