PHP 4.0 Bug #8532: Different ofset of $argv
| From: | edink at proventum dot net | Date: | Wed, 03 Jan 2001 14:55:41 +0000 |
| Subject: | PHP 4.0 Bug #8532: Different ofset of $argv | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42815@lists.php.net to get a copy of this message | ||
From: edink@proventum.net
Operating system: Linux
PHP version: 4.0.4
PHP Bug Type: Scripting Engine problem
Bug description: Different ofset of $argv
$argv now has the script name in position 0, like C does. This has not been the case in 4.0.3, where
the first argument was at the position 0. This broke every script I've written for php that
takes arguments from the command line.
--
Edit Bug report at: http://bugs.php.net/?id=8532&edit=1