note 30776 modified in function.getopt by sean
| From: | sean@php.net | Date: | Tue, 08 Apr 2003 01:10:14 +0000 |
| Subject: | note 30776 modified in function.getopt by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-46329@lists.php.net to get a copy of this message | ||
Note that options may have only one argument.
getopt("f") on the command line "-f a b c" will return "f => a"
only.
[Ed (sean):
This is only partly true. On the command line, -f 'a b c' will return 'a b c',
so will -f a\ b\ c.
]
--was--
Note that options may have only one argument.
getopt("f") on the command line "-f a b c" will return "f => a"
only.
http://www.php.net/manual/en/function.getopt.php