PEAR_Command::getGetoptArgs
PEAR_Command::getGetoptArgs() – compiles arguments for getopt
Synopsis
require_once 'PEAR/command.php';
void PEAR_Command::getGetoptArgs (
string $command
, string &$short_args
, array &$long_args
)
Описание
Compiles arguments for getopt.
Parameter
-
string
$command
-
command to get optstring for
-
string
&$short_args
-
(reference) short getopt format
-
array
&$long_args
-
(reference) long getopt format
Throws
Error code | Error value | Meaning | Solution |
---|---|---|---|
" |
Замечание
This function should be called statically.