Bug #18566: comand line argument parsing with +

From: Date: Thu, 25 Jul 2002 15:35:56 +0000
Subject: Bug #18566: comand line argument parsing with +
Groups: php.bugs php.doc 
Request: Send a blank email to php-bugs+get-15199@lists.php.net to get a copy of this message
From: goba@php.net Operating system: Windows PHP version: 4.2.1 PHP Bug Type: Documentation problem Bug description: comand line argument parsing with + 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 bug report at http://bugs.php.net/?id=18566&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18566&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18566&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18566&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18566&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18566&r=support Expected behavior: http://bugs.php.net/fix.php?id=18566&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18566&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18566&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18566&r=globals

« previous php.bugs (#15199) next »