Searched refs:FILTER_FLAG_IPV6 (Results 1 – 10 of 10) sorted by relevance
/php-src/ext/filter/tests/ |
H A D | bug47435.phpt | 7 var_dump(filter_var("FC00::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 9 var_dump(filter_var("::", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 10 var_dump(filter_var("::", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 | FILTER_FLAG_NO_RES_RANGE)); 11 var_dump(filter_var("::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 12 var_dump(filter_var("::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 | FILTER_FLAG_NO_RES_RANGE)); 13 var_dump(filter_var("fe80:5:6::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 15 var_dump(filter_var("2001:0db8::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 17 var_dump(filter_var("2001:0010::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 19 var_dump(filter_var("240b:0010::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 21 var_dump(filter_var("5f::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); [all …]
|
H A D | bug46973.phpt | 8 var_dump(filter_var('1fff::a88:85a3::172.31.128.1', FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)); 9 var_dump(filter_var('3ffe:6a88:85a3:08d3:1319:8a2e:0370:7344', FILTER_VALIDATE_IP,FILTER_FLAG_IPV6)… 10 var_dump(filter_var('1fff::a88:85a3::172.31.128.1', FILTER_VALIDATE_IP,FILTER_FLAG_IPV6));
|
H A D | bug48762.phpt | 8 var_dump(filter_var('0b15:23::3:67.98.234.17', FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 9 var_dump(filter_var('::67:78b:34.43.43.2', FILTER_VALIDATE_IP, FILTER_FLAG_IPV6));
|
H A D | 018.phpt | 27 var_dump(filter_var("127.0.0.1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 28 var_dump(filter_var("::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)); 29 var_dump(filter_var("::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 | FILTER_FLAG_NO_RES_RANGE));
|
H A D | bug61700.phpt | 2 Bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing)
|
H A D | 030.phpt | 53 $out = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
|
/php-src/ext/filter/ |
H A D | filter_private.h | 50 #define FILTER_FLAG_IPV6 0x00200000 macro
|
H A D | filter.stub.php | 268 const FILTER_FLAG_IPV6 = UNKNOWN; define
|
H A D | filter_arginfo.h | 111 REGISTER_LONG_CONSTANT("FILTER_FLAG_IPV6", FILTER_FLAG_IPV6, CONST_PERSISTENT); in register_filter_symbols()
|
H A D | logical_filters.c | 890 if ((flags & FILTER_FLAG_IPV4) && (flags & FILTER_FLAG_IPV6)) { in php_filter_validate_ip() 894 } else if ((flags & FILTER_FLAG_IPV6) && mode == FORMAT_IPV4) { in php_filter_validate_ip()
|
Completed in 24 milliseconds