|
Previous Page |
Solar_Getopt |
Next Page |
_parseShort()
protected
array
_parseShort (
string $arg,
bool $cluster default false
)
Parse a short-form option (or cluster of options).
Parameters
- (string)
$arg: The $argv element, e.g. "-f" or "-fbz". - (bool)
$cluster: This option is part of a cluster.
Returns
- (array) An associative array where the key is the option name and the value is the option value.
Description
Parse a short-form option (or cluster of options).