Re: Console_Getopt patch
| From: | Arnaud Limbourg | Date: | Sun, 04 Aug 2002 16:44:46 +0000 |
| Subject: | Re: Console_Getopt patch | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-8159@lists.php.net to get a copy of this message | ||
> if (isset($args[0]{0}) && $args[0]{0}!= '-') {
> array_shift($args);
> }
>
>
> can be better :)
Oops, i did a copy/paste a bit too fast.
Arnaud.