Solar_Getopt::_parseShort()

protected array Solar_Getopt::_parseShort ( string $arg , bool $cluster = 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).



Local