ZF-2295: register_argc_argv = Off error
Description
If this ini options are OFF this results in not registered _SERVER indexes. This should be better checked and tested to detect Environment (SAPI, CLI). Console\Getopt.php Line 228 $_SERVER['argv'][0];
Comments
Posted by Ruben Vermeersch (rubenv) on 2008-03-25T12:14:31.000+0000
This will throw an exception if argv isn't found. Probably the best we can do in that situation.
Posted by Wil Sinclair (wil) on 2008-06-02T06:22:10.000+0000
Please evaluate and categorize as appropriate.
Posted by Benjamin Eberlei (beberlei) on 2008-11-15T10:25:45.000+0000
Fixed in trunk as of r12668