protected function isValueTooHigh($value)
    {
        // check if the value is not to high.
        if ($this->max !== null) {
            if (((function_exists('bcsub') && floatval(bcsub(
                $this->max,
                $value,
                4
            )) < 0) || $value > $this->max) && ((string)$this->max) != ((string)$value)
            ) {
                return true;
            }
        }
        return false;
    }
protected function isValueTooHigh($value)
    {
        // check if the value is not to high.
        if ($this->max !== null) {
            if (((function_exists('bcsub') && floatval(bcsub(
                $this->max,
                $value,
                4
            )) < 0) || $value > $this->max) && ((string)$this->max) != ((string)$value)
            ) {
                return true;
            }
        }
        return false;
    }
protected function isValueTooHigh ( $ value ) { // check if the value is not to high. if ( $ this -> max !== null ) { if ( ( ( function_exists ( 'bcsub' ) && floatval ( bcsub ( $ this -> max , $ value , 4 ) ) < 0 ) || $ value > $ this -> max ) && ( ( string ) $ this -> max ) != ( ( string ) $ value ) ) { return true ; } } return false ; }
Check if the given value is too high
@param $value
@return bool
Check if the given value is too high