Searched refs:FILTER_VALIDATE_BOOL (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/filter/tests/ |
H A D | 061.phpt | 2 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 D | filter_null_on_failure.phpt | 7 var_dump(filter_var("invalid", FILTER_VALIDATE_BOOL, FILTER_NULL_ON_FAILURE));
|
/php-src/ext/filter/ |
H A D | filter_arginfo.h | 73 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 D | filter_private.h | 60 #define FILTER_VALIDATE_BOOL 0x0102 macro
|
H A D | filter.stub.php | 72 const FILTER_VALIDATE_BOOL = UNKNOWN; define
|
H A D | filter.c | 42 { "boolean", FILTER_VALIDATE_BOOL, php_filter_boolean },
|
Completed in 18 milliseconds