U PHP Manual imas na strani "Predefined variables" sledece:
$argv
Array of arguments passed to the script. When the script is run on the
command line, this gives C-style access to the command line
parameters. When called via the GET method, this will contain the
query string.
$argc
Contains the number of command line parameters passed to the script
(if run on the command line).
Probaj znaci da iskoristis $argc, on bi trebao da sadrzi broj
varijabli. E, sad, nisam samo siguran da li ga mozes naci u $_ENV ili
$_SERVER ili gde, ali pogledaj tu negde.
"Common sense is not so common." - Voltaire