ZF-2295: register_argc_argv = Off error

Issue Type: Bug Created: 2007-12-12T03:59:57.000+0000 Last Updated: 2008-11-15T10:25:57.000+0000 Status: Resolved Fix version(s): - 1.8.0 (30/Apr/09)

Reporter: Marco Kaiser (bate) Assignee: Benjamin Eberlei (beberlei) Tags: - Zend_Console_Getopt

Related issues: Attachments: - zf-2295-console-getopt.diff


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];


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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.