Filter FILTER_VALIDATE_INT December 27, 2011 Pramod T P Leave a comment Check whether the value is Integer or not Example ====== <?php $var=200; $int_options = array(“options”=>array(“min_val”=>10, “max_val”=>356)); var_dump(filter_var($var, FILTER_VALIDATE_INT, $int_options)); ?> Output ===== int(200)