public static function isInt($int)
    {
        return (is_string($int) || is_int($int) || is_float($int)) &&
            ctype_digit((string)$int);
    }
public static function isInt($int)
    {
        return (is_string($int) || is_int($int) || is_float($int)) &&
            ctype_digit((string)$int);
    }
public static function isInt ( $ int ) { return ( is_string ( $ int ) || is_int ( $ int ) || is_float ( $ int ) ) && ctype_digit ( ( string ) $ int ) ; }
Checks to see if str, float, or int type and represents whole number
@param mixed $int
@return boolean
Checks to see if str float or int type and represents whole number