At 18:49 02.03.2003, Derick Rethans wrote:
On Sun, 2 Mar 2003, Zeev Suraski wrote:

> Looks like for some reason, CLI registers $argv and $argc globals even
> though register_globals is off.  Why's that?
> Anyway, if we want to keep this behavior, we probably should change the
> place where argv/argc are registered, and put it somewhere global, outside
> where _SERVER is created.  If&when _SERVER is created, it will attempt to
> copy them.  Thoughts?

IMO they should not be registered when register_globals is off.

That is why the test reads $_SERVER['argc'] and $_SERVER['argv'] when register globals is off.

marcus


-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to