PHP 7.0.11 中的 BUG,FILTER_FLAG_NO_RES_RANGE

BUG in PHP 7.0.11, FILTER_FLAG_NO_RES_RANGE

var_dump(filter_var('10.1.1.1', FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE));

打印(在PHP 7.0.11):

bool(false)

但是根据文档应该打印:

string(8) "10.1.1.1"

PHPDOC: FILTER_FLAG_NO_RES_RANGE http://php.net/manual/en/filter.filters.flags.php

Fails validation for the following reserved IPv4 ranges: 0.0.0.0/8, 169.254.0.0/16, 127.0.0.0/8 and 240.0.0.0/4.

Fails validation for the following reserved IPv6 ranges: ::1/128, ::/128, ::ffff:0:0/96 and fe80::/10.

这是一个错误还是我遗漏了什么?

10.1.1.1 一个reserved IP addresses. This was a breaking change introduced with #1954. It will be fixed with #2113.