#21994 [Opn->Asn]: [Console_Getopt] 0 not seen as an argument

From: Date: Mon, 28 Apr 2003 09:01:14 +0000
Subject: #21994 [Opn->Asn]: [Console_Getopt] 0 not seen as an argument
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15665@lists.php.net to get a copy of this message
ID: 21994 Updated by: arnaud@php.net Reported By: lars at segv dot dk -Status: Open +Status: Assigned Bug Type: PEAR related Operating System: Debian GNU/Linux PHP Version: 4.2.3 -Assigned To: +Assigned To: ssb New Comment: Assigning to stig Previous Comments: ------------------------------------------------------------------------ [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

« previous php.pear.dev (#15665) next »