Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/filepro filepro.c /ext/session session.c /main main.c php_globals.h php_variables.c
php_variables.h

From: Date: Sun, 02 Mar 2003 15:38:29 +0000
Subject: Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/filepro filepro.c /ext/session session.c /main main.c php_globals.h php_variables.c
php_variables.h
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-94718@lists.php.net to get a copy of this message
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? Zeev At 17:15 02/03/2003, Marcus Börger wrote:
At 11:19 02.03.2003, Zeev Suraski wrote:
zeev            Sun Mar  2 05:19:17 2003 EDT
Log: Add JIT initialization for _SERVER and _ENV (it's less important for the others, even though it should be fairly easy now too)
argc/v foes no longer work for CLI.... for example you can no longer do: php run-tests.php <directory> Try: php run-tests.php tests/basic/012.phpt And we have a problem with $GLOBALS (try run-tests.php without my patch following this email)


« previous php.dev (#94718) next »