function _safe_divide($x, $y)
    {
        if (self::$base === 26) {
            return (int) ($x / $y);
        }

        // self::$base === 31
        return ($x - ($x % $y)) / $y;
    }
function _safe_divide($x, $y)
    {
        if (self::$base === 26) {
            return (int) ($x / $y);
        }

        // self::$base === 31
        return ($x - ($x % $y)) / $y;
    }
function _safe_divide ( $ x , $ y ) { if ( self :: $ base === 26 ) { return ( int ) ( $ x / $ y ) ; } // self::$base === 31 return ( $ x - ( $ x % $ y ) ) / $ y ; }
Single digit division

Even if int64 is being used the division operator will return a float64 value
if the dividend is not evenly divisible by the divisor. Since a float64 doesn't
have the precision of int64 this is a problem so, when int64 is being used,
we'll guarantee that the dividend is divisible by first subtracting the remainder.

@access private
@param int $x
@param int $y
@return int
Single digit division