Solar_Getopt::_parseLong()

protected array Solar_Getopt::_parseLong ( string $arg )

Parse a long-form option.

Parameters

  • (string) $arg: The $argv element, e.g. "--foo" or "--bar=baz".

Returns

  • (array) An associative array where the key is the option name and the value is the option value.

Description

Parse a long-form option.



Local