Re: cvs: php4(php_4_0_4) /sapi/cgi cgi_main.c

From: Date: Sun, 03 Dec 2000 10:01:45 +0000
Subject: Re: cvs: php4(php_4_0_4) /sapi/cgi cgi_main.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2871@lists.php.net to get a copy of this message
Zeev Suraski wrote: > > zeev Sat Dec 2 17:09:14 2000 EDT > > Modified files: > /php4/sapi/cgi cgi_main.c > Log: > Fix the bug with -f not filling in the $argv[] arguments. > I'm not sure what used to be the behavior - but the new code puts the -f > argument as $argv[0], which is the Right Thing to do IMHO... Comments > welcome might be the 'right thing', but is _not_ compatible with previous behaviour in both PHP 3 and 4 it now seems to behave exactly like 'php -q' while previous versions did only put the scriptname into $argv when using '-q' or '-qf', but not with '-f' i don't know how much existing code this is going to break, but it definetly breaks run-tests-php when used to run selective tests as described in tests/README -- Harmut Holzgraefe hartmut@six.de

« previous php.cvs (#2871) next »