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 __get($name)
- public function __set($name, $value)
- public function current()
- public function key()
- public function next()
- public function rewind()
- public function valid()
- private function throwOnAttemptedIteration()
- public function getPhobjectClassConstant($key, $byte_limit) — Read the value of a class constant.
- public function unparse($options, $escape) — Convert a dictionary into a simple option list. For example:
- private function normalizeKey($key)
- private function quoteString($string, $escape)