Home
last modified time | relevance | path

Searched refs:FILTER_VALIDATE_BOOLEAN (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/filter/tests/
H A D014.phpt2 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 Dbug49510.phpt7 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 Dfilter_data.phpt35 $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 Dbug67167.02.phpt2 Bug #67167: filter_var(null,FILTER_VALIDATE_BOOLEAN,FILTER_NULL_ON_FAILURE) returns null
9 FILTER_VALIDATE_BOOLEAN,
H A Dbug67167.01.phpt9 FILTER_VALIDATE_BOOLEAN,
H A D034.phpt25 $res =filter_var($val, FILTER_VALIDATE_BOOLEAN);
H A Dfilter_null_on_failure.phpt8 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE));
/PHP-8.2/ext/opcache/tests/
H A Dphi_use_chain.phpt10 … 'phpdbg'], true) && $adapter instanceof stdClass && !\filter_var('1', \FILTER_VALIDATE_BOOLEAN)) {
/PHP-8.2/ext/filter/
H A Dfilter.stub.php67 const FILTER_VALIDATE_BOOLEAN = UNKNOWN; define

Completed in 17 milliseconds