From:             [EMAIL PROTECTED]
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


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to