protected static function analyzeSubVersion($i, array &$exp, &$increase)
    {
        $analyzed = false;

        if ($increase) {
            $exp[$i] = 0;
            $analyzed = true;
        }

        if (0 === $i && (int) $exp[$i] > 0) {
            $increase = true;
            $exp[$i] = (int) $exp[$i] + 1;
            $analyzed = true;
        }

        return $analyzed;
    }
protected static function analyzeSubVersion($i, array &$exp, &$increase)
    {
        $analyzed = false;

        if ($increase) {
            $exp[$i] = 0;
            $analyzed = true;
        }

        if (0 === $i && (int) $exp[$i] > 0) {
            $increase = true;
            $exp[$i] = (int) $exp[$i] + 1;
            $analyzed = true;
        }

        return $analyzed;
    }
protected static function analyzeSubVersion ( $ i , array & $ exp , & $ increase ) { $ analyzed = false ; if ( $ increase ) { $ exp [ $ i ] = 0 ; $ analyzed = true ; } if ( 0 === $ i && ( int ) $ exp [ $ i ] > 0 ) { $ increase = true ; $ exp [ $ i ] = ( int ) $ exp [ $ i ] + 1 ; $ analyzed = true ; } return $ analyzed ; }
Analyze the sub version of splitted version.

@param int   $i        The position in splitted version
@param array $exp      The splitted version
@param bool  $increase Check if the next sub version must be increased

@return bool
Analyze the sub version of splitted version .