Searched refs:FILTER_FLAG_HOSTNAME (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/filter/tests/ |
H A D | 056.phpt | 28 var_dump(filter_var($value, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 32 var_dump(filter_var('_example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 34 var_dump(filter_var('test_.example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 36 var_dump(filter_var('te_st.example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME)); 38 var_dump(filter_var('test._example.com', FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME));
|
H A D | gh16523.phpt | 2 GH-16523 (FILTER_FLAG_HOSTNAME accepts ending hyphen) 14 var_dump(filter_var($domain, FILTER_VALIDATE_DOMAIN, FILTER_FLAG_HOSTNAME));
|
/php-src/ext/filter/ |
H A D | filter_private.h | 55 #define FILTER_FLAG_HOSTNAME 0x100000 macro
|
H A D | filter.stub.php | 289 const FILTER_FLAG_HOSTNAME = UNKNOWN; define
|
H A D | filter_arginfo.h | 115 REGISTER_LONG_CONSTANT("FILTER_FLAG_HOSTNAME", FILTER_FLAG_HOSTNAME, CONST_PERSISTENT); in register_filter_symbols()
|
H A D | logical_filters.c | 511 int hostname = flags & FILTER_FLAG_HOSTNAME; in _php_filter_validate_domain() 626 !_php_filter_validate_domain(ZSTR_VAL(url->host), l, FILTER_FLAG_HOSTNAME) in php_filter_validate_url()
|
Completed in 10 milliseconds