original_string: public static function filterInteger($int, $min=~PHP_INT_MAX, $max=PHP_INT_MAX, $default=0) {
  
          return filter_var($int, FILTER_VALIDATE_INT, array(
              'options' => array(
                  'default' => $default,
                  'min_range' => $min,
                  'max_range' => $max
              )
          ));
  
      }
code: public static function filterInteger($int, $min=~PHP_INT_MAX, $max=PHP_INT_MAX, $default=0) {
  
          return filter_var($int, FILTER_VALIDATE_INT, array(
              'options' => array(
                  'default' => $default,
                  'min_range' => $min,
                  'max_range' => $max
              )
          ));
  
      }
code_tokens: public static function filterInteger ( $ int , $ min = ~ PHP_INT_MAX , $ max = PHP_INT_MAX , $ default = 0 ) { return filter_var ( $ int , FILTER_VALIDATE_INT , array ( 'options' => array ( 'default' => $ default , 'min_range' => $ min , 'max_range' => $ max ) ) ) ; }
docstring: Filter an integer.
  
  This method is a shortcut to filter_var using FILTER_VALIDATE_INT
  
  @param int $int Int to filter
  @param int $min Min value (default to ~PHP_INT_MAX)
  @param int $max Max value (default to PHP_INT_MAX)
  @param int $default Default value
  @return int
docstring_tokens: Filter an integer .