Home
last modified time | relevance | path

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

/php-src/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 …]
H A Dfilter_null_on_failure.phpt7 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOL, FILTER_NULL_ON_FAILURE));
/php-src/ext/filter/
H A Dfilter_arginfo.h73 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_BOOLEAN", FILTER_VALIDATE_BOOL, CONST_PERSISTENT); in register_filter_symbols()
74 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_BOOL", FILTER_VALIDATE_BOOL, CONST_PERSISTENT); in register_filter_symbols()
H A Dfilter_private.h60 #define FILTER_VALIDATE_BOOL 0x0102 macro
H A Dfilter.stub.php72 const FILTER_VALIDATE_BOOL = UNKNOWN; define
H A Dfilter.c42 { "boolean", FILTER_VALIDATE_BOOL, php_filter_boolean },

Completed in 18 milliseconds