<?php $var=101; $int_options = array("options"=> array("min_range"=>0, "max_range"=>100)); var_dump(filter_var($var, FILTER_VALIDATE_INT, $int_options));
You have javascript disabled. You will not be able to edit any code.