note 37844 added to function.getopt
| From: | phpnotes at kipu dot co dot uk | Date: | Sat, 29 Nov 2003 15:05:34 +0000 |
| Subject: | note 37844 added to function.getopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61138@lists.php.net to get a copy of this message | ||
The note from "Ed (sean)" is incorrect
there can only be one argument. even -f "a b c", -f 'a b c' and -f a \b \c
returns only a. If your arguments have spaces you will need to parse the commandline yourself
----
Manual Page -- http://www.php.net/manual/en/function.getopt.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37844
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37844&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37844&report=yes
Search -- http://master.php.net/manage/user-notes.php