Bug #18566 Updated: comand line argument parsing with +
| From: | goba@php.net | Date: | Thu, 25 Jul 2002 15:41:22 +0000 |
| Subject: | Bug #18566 Updated: comand line argument parsing with + | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-15200@lists.php.net to get a copy of this message | ||
ID: 18566
Updated by: goba@php.net
Reported By: goba@php.net
Status: Open
Bug Type: Documentation problem
Operating System: Windows
PHP Version: 4.2.1
New Comment:
The same effect is reproduceable with:
php test.php a=b=c
php test.php a;b;c
Goba
Previous Comments:
------------------------------------------------------------------------
[2002-07-25 11:35:56] goba@php.net
I have tries the following script (test.php):
<?php var_dump($argv); ?>
With:
php test.php a b c
and the results are:
array(4) {
[0]=>
string(8) "test.php"
[1]=>
string(1) "a"
[2]=>
string(1) "b"
[3]=>
string(1) "c"
}
What was new to me, is that
php test.php a+b+c
produces the same ;) So if this is intentional,
then it should be documented at least ;)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18566&edit=1