Home
last modified time | relevance | path

Searched refs:FILTER_VALIDATE_BOOL (Results 1 – 4 of 4) sorted by relevance

/PHP-8.0/ext/filter/tests/
H A D061.phpt2 filter_var() and FILTER_VALIDATE_BOOL
17 var_dump(filter_var("no", FILTER_VALIDATE_BOOL));
18 var_dump(filter_var(NULL, FILTER_VALIDATE_BOOL));
19 var_dump(filter_var($t, FILTER_VALIDATE_BOOL));
21 var_dump(filter_var("yes", FILTER_VALIDATE_BOOL));
24 var_dump(filter_var("off", FILTER_VALIDATE_BOOL));
25 var_dump(filter_var("on", FILTER_VALIDATE_BOOL));
26 var_dump(filter_var("0", FILTER_VALIDATE_BOOL));
27 var_dump(filter_var("1", FILTER_VALIDATE_BOOL));
29 var_dump(filter_var("", FILTER_VALIDATE_BOOL));
[all …]
/PHP-8.0/ext/filter/
H A Dfilter_private.h59 #define FILTER_VALIDATE_BOOL 0x0102 macro
H A Dfilter.c40 { "boolean", FILTER_VALIDATE_BOOL, php_filter_boolean },
176 …REGISTER_LONG_CONSTANT("FILTER_VALIDATE_BOOLEAN", FILTER_VALIDATE_BOOL, CONST_CS | CONST_PERSISTEN… in PHP_MINIT_FUNCTION()
177 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_BOOL", FILTER_VALIDATE_BOOL, CONST_CS | CONST_PERSISTENT); in PHP_MINIT_FUNCTION()
/PHP-8.0/
H A DUPGRADING1112 . FILTER_VALIDATE_BOOL has been added as an alias for FILTER_VALIDATE_BOOLEAN.

Completed in 17 milliseconds