Searched refs:FILTER_VALIDATE_BOOLEAN (Results 1 – 8 of 8) sorted by relevance
/PHP-7.3/ext/filter/tests/ |
H A D | 014.phpt | 2 filter_var() and FILTER_VALIDATE_BOOLEAN 17 var_dump(filter_var("no", FILTER_VALIDATE_BOOLEAN)); 18 var_dump(filter_var(NULL, FILTER_VALIDATE_BOOLEAN)); 19 var_dump(filter_var($t, FILTER_VALIDATE_BOOLEAN)); 21 var_dump(filter_var("yes", FILTER_VALIDATE_BOOLEAN)); 24 var_dump(filter_var("off", FILTER_VALIDATE_BOOLEAN)); 25 var_dump(filter_var("on", FILTER_VALIDATE_BOOLEAN)); 26 var_dump(filter_var("0", FILTER_VALIDATE_BOOLEAN)); 27 var_dump(filter_var("1", FILTER_VALIDATE_BOOLEAN)); 29 var_dump(filter_var("", FILTER_VALIDATE_BOOLEAN)); [all …]
|
H A D | bug49510.phpt | 7 var_dump(filter_var(false, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 8 var_dump(filter_var(0, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 9 var_dump(filter_var("0", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 10 var_dump(filter_var("off", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 11 var_dump(filter_var("", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 12 var_dump(filter_var("false", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 13 var_dump(filter_var("no", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 15 var_dump(filter_var(true, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 16 var_dump(filter_var(1, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); 17 var_dump(filter_var("1", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE)); [all …]
|
H A D | filter_data.phpt | 35 $data = "on"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 36 $data = "off"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 37 $data = "yes"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 38 $data = "no"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 39 $data = "true"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 40 $data = "false"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 41 $data = "1"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 42 $data = "0"; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 43 $data = 1; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); 44 $data = 0; var_dump(filter_var($data, FILTER_VALIDATE_BOOLEAN)); [all …]
|
H A D | bug67167.02.phpt | 2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null 9 FILTER_VALIDATE_BOOLEAN,
|
H A D | bug67167.01.phpt | 9 FILTER_VALIDATE_BOOLEAN,
|
H A D | 034.phpt | 25 $res =filter_var($val, FILTER_VALIDATE_BOOLEAN);
|
/PHP-7.3/ext/filter/ |
H A D | filter_private.h | 61 #define FILTER_VALIDATE_BOOLEAN 0x0102 macro
|
H A D | filter.c | 41 { "boolean", FILTER_VALIDATE_BOOLEAN, php_filter_boolean }, 236 …REGISTER_LONG_CONSTANT("FILTER_VALIDATE_BOOLEAN", FILTER_VALIDATE_BOOLEAN, CONST_CS | CONST_PERSIS… in PHP_MINIT_FUNCTION()
|
Completed in 16 milliseconds