Previous Page
_parseParam()

Solar_Getopt
_parseShort()

Next Page
apiVersion()

_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).