Console_Getopt patch
| From: | Arnaud Limbourg | Date: | Sun, 04 Aug 2002 16:35:11 +0000 |
| Subject: | Console_Getopt patch | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8157@lists.php.net to get a copy of this message | ||
Hello,
There is an E_NOTICE error in the Console_Getopt class
Line 80 of 0.11 beta
if ($args[0]{0} != '-') {
array_shift($args);
}
if (isset($args[0]{0} != '-') && $args[0]{0} != '-') {
array_shift($args);
}
Arnaud.