PHP syntax question: global $argv, $argc;
- by Andrew
So I have a PHPUnit test, and found this code within a function.
global $argv, $argc;
echo $argc;
print_r($argv);
I understand what these variables represent (arguments passed from the command line), but I've never seen this syntax before:global $argv, $argc;
What specifically is going on here?