Searched refs:FILTER_VALIDATE_FLOAT (Results 1 – 18 of 18) sorted by relevance
/PHP-8.2/ext/filter/tests/ |
H A D | 060.phpt | 2 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 D | filter_data.phpt | 25 $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 D | bug51368.phpt | 9 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 D | 031.phpt | 22 $out = filter_var($float, FILTER_VALIDATE_FLOAT); 37 … var_dump(filter_var($float, FILTER_VALIDATE_FLOAT, array("options"=>array('decimal' => $dec))));
|
H A D | 011.phpt | 17 filter_input(INPUT_GET, "b", FILTER_VALIDATE_FLOAT, new stdClass); 21 var_dump(filter_input(INPUT_POST, "d", FILTER_VALIDATE_FLOAT));
|
H A D | 044.phpt | 18 var_dump(filter_var($var, FILTER_VALIDATE_FLOAT));
|
H A D | bug8315.phpt | 11 var_dump(filter_var($var, FILTER_VALIDATE_FLOAT));
|
H A D | bug81708.phpt | 12 FILTER_VALIDATE_FLOAT,
|
H A D | bug7733.phpt | 14 $out = filter_var($data, FILTER_VALIDATE_FLOAT, FILTER_REQUIRE_ARRAY);
|
H A D | bug7715.phpt | 20 $res = filter_var($val, FILTER_VALIDATE_FLOAT);
|
H A D | 050.phpt | 14 $out = filter_var($src, FILTER_VALIDATE_FLOAT);
|
H A D | 049.phpt | 19 $out = filter_var($src, FILTER_VALIDATE_FLOAT, array("flags"=>FILTER_FLAG_ALLOW_THOUSAND));
|
H A D | filter_null_on_failure.phpt | 10 var_dump(filter_var("invalid", FILTER_VALIDATE_FLOAT, FILTER_NULL_ON_FAILURE));
|
H A D | 010.phpt | 11 …(1.2,"1.7","", "-23234.123", "text", "asdf234.2asdfgs", array()), FILTER_VALIDATE_FLOAT, FILTER_RE…
|
/PHP-8.2/ext/filter/ |
H A D | filter_private.h | 61 #define FILTER_VALIDATE_FLOAT 0x0103 macro
|
H A D | filter.stub.php | 77 const FILTER_VALIDATE_FLOAT = UNKNOWN; define
|
H A D | filter_arginfo.h | 77 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_FLOAT", FILTER_VALIDATE_FLOAT, CONST_PERSISTENT); in register_filter_symbols()
|
H A D | filter.c | 41 { "float", FILTER_VALIDATE_FLOAT, php_filter_float },
|
Completed in 25 milliseconds