protected function matchRangeToken($i, $match, array &$matches, &$special, &$replace)
    {
        if (' - ' === $match) {
            $matches[$i - 1] = '>='.str_replace(array('*', 'x', 'X'), '0', $matches[$i - 1]);

            if (false !== strpos($matches[$i + 1], '.') && false === strpos($matches[$i + 1], '*')
                    && false === strpos($matches[$i + 1], 'x') && false === strpos($matches[$i + 1], 'X')) {
                $matches[$i] = ',<=';
            } else {
                $matches[$i] = ',<';
                $special = ',<~';
            }
        } else {
            $this->matchRangeTokenStep2($i, $match, $matches, $special, $replace);
        }
    }
protected function matchRangeToken($i, $match, array &$matches, &$special, &$replace)
    {
        if (' - ' === $match) {
            $matches[$i - 1] = '>='.str_replace(array('*', 'x', 'X'), '0', $matches[$i - 1]);

            if (false !== strpos($matches[$i + 1], '.') && false === strpos($matches[$i + 1], '*')
                    && false === strpos($matches[$i + 1], 'x') && false === strpos($matches[$i + 1], 'X')) {
                $matches[$i] = ',<=';
            } else {
                $matches[$i] = ',<';
                $special = ',<~';
            }
        } else {
            $this->matchRangeTokenStep2($i, $match, $matches, $special, $replace);
        }
    }
protected function matchRangeToken ( $ i , $ match , array & $ matches , & $ special , & $ replace ) { if ( ' - ' === $ match ) { $ matches [ $ i - 1 ] = '>=' . str_replace ( array ( '*' , 'x' , 'X' ) , '0' , $ matches [ $ i - 1 ] ) ; if ( false !== strpos ( $ matches [ $ i + 1 ] , '.' ) && false === strpos ( $ matches [ $ i + 1 ] , '*' ) && false === strpos ( $ matches [ $ i + 1 ] , 'x' ) && false === strpos ( $ matches [ $ i + 1 ] , 'X' ) ) { $ matches [ $ i ] = ',<=' ; } else { $ matches [ $ i ] = ',<' ; $ special = ',<~' ; } } else { $ this -> matchRangeTokenStep2 ( $ i , $ match , $ matches , $ special , $ replace ) ; } }
Converts the token of the matched range.

@param int         $i
@param string      $match
@param array       $matches
@param null|string $special
@param null|string $replace
Converts the token of the matched range .