Home
last modified time | relevance | path

Searched refs:FILTER_VALIDATE_FLOAT (Results 1 – 18 of 18) sorted by relevance

/PHP-8.2/ext/filter/tests/
H A D060.phpt2 filter_var() - tests for the range options of filter FILTER_VALIDATE_FLOAT
24 FILTER_VALIDATE_FLOAT,
36 FILTER_VALIDATE_FLOAT,
47 FILTER_VALIDATE_FLOAT,
H A Dfilter_data.phpt25 $data = "-0.123"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
26 $data = "0.00"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
27 $data = "1.23"; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
28 $data = -1.23; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
29 $data = 0.0; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
30 $data = 1.23; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
31 $data = ""; var_dump(filter_var($data, FILTER_VALIDATE_FLOAT));
H A Dbug51368.phpt9 filter_var('1 000', FILTER_VALIDATE_FLOAT, $options),
10 filter_var('1 234.567', FILTER_VALIDATE_FLOAT, $options)
15 filter_var('12345', FILTER_VALIDATE_FLOAT, $options);
H A D031.phpt22 $out = filter_var($float, FILTER_VALIDATE_FLOAT);
37 … var_dump(filter_var($float, FILTER_VALIDATE_FLOAT, array("options"=>array('decimal' => $dec))));
H A D011.phpt17 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass);
21 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_FLOAT));
H A D044.phpt18 var_dump(filter_var($var, FILTER_VALIDATE_FLOAT));
H A Dbug8315.phpt11 var_dump(filter_var($var, FILTER_VALIDATE_FLOAT));
H A Dbug81708.phpt12 FILTER_VALIDATE_FLOAT,
H A Dbug7733.phpt14 $out = filter_var($data, FILTER_VALIDATE_FLOAT, FILTER_REQUIRE_ARRAY);
H A Dbug7715.phpt20 $res = filter_var($val, FILTER_VALIDATE_FLOAT);
H A D050.phpt14 $out = filter_var($src, FILTER_VALIDATE_FLOAT);
H A D049.phpt19 $out = filter_var($src, FILTER_VALIDATE_FLOAT, array("flags"=>FILTER_FLAG_ALLOW_THOUSAND));
H A Dfilter_null_on_failure.phpt10 var_dump(filter_var("invalid", FILTER_VALIDATE_FLOAT, FILTER_NULL_ON_FAILURE));
H A D010.phpt11 …(1.2,"1.7","", "-23234.123", "text", "asdf234.2asdfgs", array()), FILTER_VALIDATE_FLOAT, FILTER_RE…
/PHP-8.2/ext/filter/
H A Dfilter_private.h61 #define FILTER_VALIDATE_FLOAT 0x0103 macro
H A Dfilter.stub.php77 const FILTER_VALIDATE_FLOAT = UNKNOWN; define
H A Dfilter_arginfo.h77 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_FLOAT", FILTER_VALIDATE_FLOAT, CONST_PERSISTENT); in register_filter_symbols()
H A Dfilter.c41 { "float", FILTER_VALIDATE_FLOAT, php_filter_float },

Completed in 18 milliseconds