Searched refs:min_range (Results 1 – 7 of 7) sorted by relevance
/PHP-8.0/ext/filter/tests/ |
H A D | 013.phpt | 29 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 D | 060.phpt | 27 'min_range' => -5.4, 50 'min_range' => -10,
|
H A D | 045.phpt | 7 $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 D | bug81708.phpt | 15 ["options" => ['min_range' => -1, 'max_range' => 1]]
|
H A D | bug76366.phpt | 27 $options['min_range'] = 1;
|
H A D | 032.phpt | 19 'options' => array("min_range"=>1, "max_range"=>10)
|
/PHP-8.0/ext/filter/ |
H A D | logical_filters.c | 199 zend_long min_range, max_range, option_flags; in php_filter_int() local 208 FETCH_LONG_OPTION(min_range, "min_range"); in php_filter_int() 255 …if (error > 0 || (min_range_set && (ctx_value < min_range)) || (max_range_set && (ctx_value > max_… in php_filter_int() 351 double min_range, max_range; in php_filter_float() local 386 FETCH_DOUBLE_OPTION(min_range, "min_range"); in php_filter_float() 439 if ((min_range_set && (lval < min_range)) || (max_range_set && (lval > max_range))) { in php_filter_float() 449 if ((min_range_set && (dval < min_range)) || (max_range_set && (dval > max_range))) { in php_filter_float()
|
Completed in 11 milliseconds