public function numeric()
    {
        $ret = array();
        foreach (self::$ordinality as $part) {
            if ($part === self::STABILITY) {
                $ret[]= array_search($this->get($part), self::$stabilities);
            } else {
                $ret[]= $this->get($part);
            }
        }
        return $ret;
    }
public function numeric()
    {
        $ret = array();
        foreach (self::$ordinality as $part) {
            if ($part === self::STABILITY) {
                $ret[]= array_search($this->get($part), self::$stabilities);
            } else {
                $ret[]= $this->get($part);
            }
        }
        return $ret;
    }
public function numeric ( ) { $ ret = array ( ) ; foreach ( self :: $ ordinality as $ part ) { if ( $ part === self :: STABILITY ) { $ ret [ ] = array_search ( $ this -> get ( $ part ) , self :: $ stabilities ) ; } else { $ ret [ ] = $ this -> get ( $ part ) ; } } return $ ret ; }
Returns a numeric representation of all version parts, used for comparison

@return array
Returns a numeric representation of all version parts used for comparison