note 97936 deleted from function.getopt by danbrown
| From: | danbrown@php.net | Date: | Mon, 17 May 2010 13:50:09 +0000 |
| Subject: | note 97936 deleted from function.getopt by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169324@lists.php.net to get a copy of this message | ||
Note Submitter: yanpeng dot haha at gmail dot com
----
i met a problem when using it with linux shell for passing filenames to php script.
for example: pass an abc* to the script when there are files
named "abc1" and "abc2", zhe getopt can only get abc1.
i'v writen a personal version in:
http://www.mirecle.com/2010/05/17/
php-and-repair-defects-in-the-getopt.html