#22877 [Fbk->NoF]: incorrect parse of command line args
| From: | sniper@php.net | Date: | Mon, 07 Jul 2003 07:42:46 +0000 |
| Subject: | #22877 [Fbk->NoF]: incorrect parse of command line args | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-18066@lists.php.net to get a copy of this message | ||
ID: 22877
Updated by: sniper@php.net
Reported By: phpbug at zendo dot net
-Status: Feedback
+Status: No Feedback
Bug Type: PEAR related
Operating System: AIX 5.2
PHP Version: 4.3.0
Assigned To: ssb
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2003-06-30 05:20:41] cox@php.net
Please provide a test script. Thanks.
------------------------------------------------------------------------
[2003-04-28 03:57:24] arnaud@php.net
changing status (alan got me again ;)
------------------------------------------------------------------------
[2003-04-28 03:45:06] arnaud@php.net
Assigning to stig. Or does someone knows how to treat this ?
------------------------------------------------------------------------
[2003-03-25 09:36:04] phpbug at zendo dot net
// bug in Console/Getopt.php workaround
// if there isn't a '-' in the first arg it skips the first arg
// it still skips the first arg if the first arg does not have a -
// but the second arg does
// below is a work around
if(!array_key_exists(0,$options[0]) && isset($args[0]) ) {
$tmparray = array_reverse($options[1]);
$tmparray[] = $args[0] ;
$options[1] = array_reverse($tmparray);
unset($tmparray);
}
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22877&edit=1