Date: 01/28/00
- Next message: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- In reply to: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Reply: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 28 Jan 2000 rasmus <email protected> wrote:
> > > Are there always supposed to be registered? That looks like an awful
> > > waste of time in most cases...?
> >
> > They should be registered for cgi SAPI.
>
> They should also be there for the module versions. This lets you take a
> URL of the form:
>
> http://www.php.net/?blah
What do you mean by 'it lets you take it'...?
My understanding, based on the ad-hoc statistics generator, is that most
scripts don't use argc/argv, and there are probably whole sites that don't
use it. Still, there's no way to let PHP know it's not necessary for it
to set them up...
> Would checking if there is any query data before registering these speed
> things up?
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?
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>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Previous message: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- In reply to: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Next in thread: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] argv/argc"
- Reply: rasmus <email protected>: "Re: [PHP-DEV] argv/argc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

