Home
last modified time | relevance | path

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

/PHP-7.0/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 D032.phpt19 'options' => array("min_range"=>1, "max_range"=>10)
H A Dbug7586.phpt18 'options' => array("min_range"=>1, "max_range"=>10)
/PHP-7.0/ext/filter/
H A Dlogical_filters.c191 zend_long min_range, max_range, option_flags; in php_filter_int() local
201 FETCH_LONG_OPTION(max_range, "max_range"); in php_filter_int()
244 … > 0 || (min_range_set && (ctx_value < min_range)) || (max_range_set && (ctx_value > max_range))) { in php_filter_int()
/PHP-7.0/ext/filter/docs/
H A Dfilter.txt25 * Removed min_range and max_range flags from the float filter.
122 * max_range: Maximum number that is allowed

Completed in 15 milliseconds