Re: [PHP-DEV] argv/argc From: Zeev Suraski (zeev <email protected>)
Date: 01/28/00

On Fri, 28 Jan 2000, Andrei Zmievski wrote:

> On Fri, 28 Jan 2000, Zeev Suraski wrote:
> > It would in this specific case, but I think that if people expect
> > argv/argc, they expect them to exist and be empty in case of an empty
> > query.
> >
> > Any reason not to selectively turn argv/argc off by an INI directive?
>
> What about cgi version where argv/argc are supposed to come from the
> command line arguments?

It's never been like that. $argc/$argv always reflected the contents of
the QUERY_STRING.

Zeev

-- 
Zeev Suraski <zeev <email protected>>
http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>