Home
last modified time | relevance | path

Searched refs:max_range (Results 1 – 5 of 5) sorted by relevance

/PHP-7.3/ext/filter/tests/
H A D013.phpt29 var_dump(filter_var("6", FILTER_VALIDATE_INT, array("options" => array("min_range"=>1, "max_range"=…
30 var_dump(filter_var("6", FILTER_VALIDATE_INT, array("options" => array("min_range"=>0, "max_range"=…
31 var_dump(filter_var(-1, FILTER_VALIDATE_INT, array("options" => array("min_range"=>1, "max_range"=>…
32 var_dump(filter_var(-1, FILTER_VALIDATE_INT, array("options" => array("min_range"=>-4, "max_range"=…
34 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>-4, "max_range"=…
35 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>2, "max_range"=>…
36 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>-5, "max_range"=…
37 var_dump(filter_var(345, FILTER_VALIDATE_INT, array("options" => array("min_range"=>500, "max_range
H A D045.phpt7 $a = array("flags"=>(string)FILTER_FLAG_ALLOW_HEX, "options" => array("min_range"=>"0", "max_range"…
10 echo ($ret === 255 && $a["options"]["max_range"] === "1024")?"ok\n":"bug\n";
H A Dbug76366.phpt28 $options['max_range'] = 5;
H A D032.phpt19 'options' => array("min_range"=>1, "max_range"=>10)
/PHP-7.3/ext/filter/
H A Dlogical_filters.c189 zend_long min_range, max_range, option_flags; in php_filter_int() local
199 FETCH_LONG_OPTION(max_range, "max_range"); in php_filter_int()
242 … > 0 || (min_range_set && (ctx_value < min_range)) || (max_range_set && (ctx_value > max_range))) { in php_filter_int()

Completed in 9 milliseconds