Searched refs:FILTER_VALIDATE_DOMAIN (Results 1 – 7 of 7) sorted by relevance
/php-src/ext/filter/tests/ |
H A D | 056.phpt | 2 filter_var() and FILTER_VALIDATE_DOMAIN 28 var_dump(filter_var($value, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 31 var_dump(filter_var('_example.com', FILTER_VALIDATE_DOMAIN)); 32 var_dump(filter_var('_example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 33 var_dump(filter_var('test_.example.com', FILTER_VALIDATE_DOMAIN)); 34 var_dump(filter_var('test_.example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 35 var_dump(filter_var('te_st.example.com', FILTER_VALIDATE_DOMAIN)); 36 var_dump(filter_var('te_st.example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 37 var_dump(filter_var('test._example.com', FILTER_VALIDATE_DOMAIN)); 38 var_dump(filter_var('test._example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME));
|
H A D | gh16523.phpt | 14 var_dump(filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME));
|
H A D | filter_null_on_failure.phpt | 11 var_dump(filter_var(".invalid", FILTER_VALIDATE_DOMAIN, FILTER_NULL_ON_FAILURE));
|
/php-src/ext/filter/ |
H A D | filter_private.h | 68 #define FILTER_VALIDATE_DOMAIN 0x0115 macro
|
H A D | filter.stub.php | 88 const FILTER_VALIDATE_DOMAIN = UNKNOWN; define
|
H A D | filter_arginfo.h | 77 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_DOMAIN", FILTER_VALIDATE_DOMAIN, CONST_PERSISTENT); in register_filter_symbols()
|
H A D | filter.c | 46 { "validate_domain", FILTER_VALIDATE_DOMAIN, php_filter_validate_domain },
|
Completed in 12 milliseconds