Home
last modified time | relevance | path

Searched refs:FILTER_VALIDATE_DOMAIN (Results 1 – 7 of 7) sorted by relevance

/php-src/ext/filter/tests/
H A D056.phpt2 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 Dgh16523.phpt14 var_dump(filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME));
H A Dfilter_null_on_failure.phpt11 var_dump(filter_var(".invalid", FILTER_VALIDATE_DOMAIN, FILTER_NULL_ON_FAILURE));
/php-src/ext/filter/
H A Dfilter_private.h68 #define FILTER_VALIDATE_DOMAIN 0x0115 macro
H A Dfilter.stub.php88 const FILTER_VALIDATE_DOMAIN = UNKNOWN; define
H A Dfilter_arginfo.h77 REGISTER_LONG_CONSTANT("FILTER_VALIDATE_DOMAIN", FILTER_VALIDATE_DOMAIN, CONST_PERSISTENT); in register_filter_symbols()
H A Dfilter.c46 { "validate_domain", FILTER_VALIDATE_DOMAIN, php_filter_validate_domain },

Completed in 12 milliseconds