src/XSD2PHP/lib/ZF/1.10.7/Zend/Console/Getopt.php
public function toArray()
    {
        $this->parse();
        $s = array();
        foreach ($this->_options as $flag => $value) {
            $s[] = $flag;
            if ($value !== true) {
                $s[] = $value;
            }
        }
        return $s;
    }
public function toArray()
    {
        $this->parse();
        $s = array();
        foreach ($this->_options as $flag => $value) {
            $s[] = $flag;
            if ($value !== true) {
                $s[] = $value;
            }
        }
        return $s;
    }
Return the current set of options and parameters seen
as an array of canonical options and parameters.

Clusters have been expanded, and option aliases
have been mapped to their primary option names.

@return array