Parsing Simple Options
Parsing Simple Options
- public function parse($input) — Convert a simple option list into a dict. For example:
Unparsing Simple Options
Unparsing Simple Options
No methods for this task.
Parser Configuration
Parser Configuration
- public function setCaseSensitive($case_sensitive) — Configure case sensitivity of the parser. By default, the parser is case insensitive, so "legs=4" has the same meaning as "LEGS=4". If you set it to be case sensitive, the keys have different meanings.
Internals
Internals
No methods for this task.
Other Methods
Other Methods
- public function unparse($options, $escape) — Convert a dictionary into a simple option list. For example:
- private function normalizeKey($key)
- private function quoteString($string, $escape)