Re: PHP 4.0 Bug #2852 Updated: argv/argc inconsistency while running as command-line script

From: Date: Tue, 23 May 2000 06:49:39 +0000
Subject: Re: PHP 4.0 Bug #2852 Updated: argv/argc inconsistency while running as command-line script
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-19272@lists.php.net to get a copy of this message
Bug Database wrote: > > ID: 2852 > Updated by: hholzgra > Reported By: stas@zend.com > Status: Closed > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > fixed in latest cvs > but there is still another issue when using php for command line scripting, it works with both 'php scriptname [arguments]' and 'php -f scriptname [arguments]' but when running with -f, argv[0] is the first argument whereas whithout -f its the scriptname, which is more as it should be would it break things if the behavior for -f would change?

« previous php.dev (#19272) next »