#21994 [Asn->Csd]: [Console_Getopt] 0 not seen as an argument
| From: | cox@php.net | Date: | Mon, 30 Jun 2003 10:10:15 +0000 |
| Subject: | #21994 [Asn->Csd]: [Console_Getopt] 0 not seen as an argument | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17855@lists.php.net to get a copy of this message | ||
ID: 21994
Updated by: cox@php.net
Reported By: lars at segv dot dk
-Status: Assigned
+Status: Closed
Bug Type: PEAR related
Operating System: Debian GNU/Linux
PHP Version: 4.2.3
Assigned To: ssb
New Comment:
Fixed in CVS thanks for the report
Previous Comments:
------------------------------------------------------------------------
[2003-04-28 04:01:14] arnaud@php.net
Assigning to stig
------------------------------------------------------------------------
[2003-02-01 07:11:04] lars at segv dot dk
Using PEAR::Console_Getopt, 0 is not seen as an argument. For example:
"./test.php --opt=0" gives:
error: Console_Getopt: option --opt requires an argument
The expected result would be:
Array
(
[0] => Array
(
[0] => Array
(
[0] => --opt
[1] => 0
)
)
[1] => Array
(
)
)
Regards
Lars Munch
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21994&edit=1