Home
last modified time | relevance | path

Searched refs:min_range (Results 1 – 7 of 7) sorted by relevance

/PHP-7.2/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"…
9 echo ($ret === 255 && $a["options"]["min_range"] === "0")?"ok\n":"bug\n";
H A Dbug76366.phpt27 $options['min_range'] = 1;
H A D032.phpt19 'options' => array("min_range"=>1, "max_range"=>10)
H A Dbug7586.phpt18 'options' => array("min_range"=>1, "max_range"=>10)
/PHP-7.2/ext/filter/
H A Dlogical_filters.c191 zend_long min_range, max_range, option_flags; in php_filter_int() local
200 FETCH_LONG_OPTION(min_range, "min_range"); in php_filter_int()
244 …if (error > 0 || (min_range_set && (ctx_value < min_range)) || (max_range_set && (ctx_value > max_… in php_filter_int()
/PHP-7.2/ext/filter/docs/
H A Dfilter.txt25 * Removed min_range and max_range flags from the float filter.
120 * min_range: Minimal number that is allowed

Completed in 13 milliseconds