Home
last modified time | relevance | path

Searched refs:FILTER_FLAG_IPV6 (Results 1 – 10 of 10) sorted by relevance

/php-src/ext/filter/tests/
H A Dbug47435.phpt7 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 Dbug46973.phpt8 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 Dbug48762.phpt8 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 D018.phpt27 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 Dbug61700.phpt2 Bug #61700 (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing)
H A D030.phpt53 $out = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
/php-src/ext/filter/
H A Dfilter_private.h50 #define FILTER_FLAG_IPV6 0x00200000 macro
H A Dfilter.stub.php268 const FILTER_FLAG_IPV6 = UNKNOWN; define
H A Dfilter_arginfo.h111 REGISTER_LONG_CONSTANT("FILTER_FLAG_IPV6", FILTER_FLAG_IPV6, CONST_PERSISTENT); in register_filter_symbols()
H A Dlogical_filters.c890 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