Searched refs:FILTER_VALIDATE_BOOLEAN (Results 1 – 9 of 9) sorted by relevance
/PHP-8.2/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);
|
H A D | filter_null_on_failure.phpt | 8 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE));
|
/PHP-8.2/ext/opcache/tests/ |
H A D | phi_use_chain.phpt | 10 … 'phpdbg'], true) && $adapter instanceof stdClass && !\filter_var('1', \FILTER_VALIDATE_BOOLEAN)) {
|
/PHP-8.2/ext/filter/ |
H A D | filter.stub.php | 67 const FILTER_VALIDATE_BOOLEAN = UNKNOWN; define
|
Completed in 18 milliseconds