xref: /php-src/ext/filter/tests/gh16944.phpt (revision d25aac29)
1--TEST--
2Bug GH-16944 (Invalid filtering of IPv6 with FILTER_FLAG_NO_RES_RANGE)
3--EXTENSIONS--
4filter
5--FILE--
6<?php
7var_dump(filter_var("::ffff:0:1", FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE));
8?>
9--EXPECT--
10bool(false)
11