Home
last modified time | relevance | path

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

/PHP-8.2/ext/filter/tests/
H A Dfilter_ipv4_rfc6890.phpt25 var_dump(filter_var($min, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE));
26 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_PRIV_RANGE));
79 var_dump(filter_var($min, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
80 var_dump(filter_var($max, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 | FILTER_FLAG_NO_RES_RANGE));
H A D018.phpt26 var_dump(filter_var("::1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV4));
30 var_dump(filter_var("127.0.0.1", FILTER_VALIDATE_IP, FILTER_FLAG_IPV4));
H A Dbug61700.phpt7 var_dump(filter_var('::ffff:192.168.1.1', FILTER_VALIDATE_IP, FILTER_FLAG_IPV4));
/PHP-8.2/ext/filter/
H A Dfilter_private.h49 #define FILTER_FLAG_IPV4 0x00100000 macro
H A Dfilter.stub.php263 const FILTER_FLAG_IPV4 = UNKNOWN; define
H A Dfilter_arginfo.h112 REGISTER_LONG_CONSTANT("FILTER_FLAG_IPV4", FILTER_FLAG_IPV4, 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()
892 } else if ((flags & FILTER_FLAG_IPV4) && mode == FORMAT_IPV6) { in php_filter_validate_ip()

Completed in 11 milliseconds