|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #72104 FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses too
Submitted: 2016-04-26 07:09 UTC Modified: 2016-09-08 12:04 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: kroky6 at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Filter related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kroky6 at gmail dot com
New email:
PHP Version: OS:


 [2016-04-26 07:09 UTC] kroky6 at gmail dot com
From manual page:
Description for FILTER_FLAG_NO_RES_RANGE says "This flag does not apply to IPv6 addresses."

In fact, it does apply and filters reserved IPv6 address ranges quite well from PHP 5.3. This commit adds the mentioned functionality:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-26 16:55 UTC]
-Status: Open +Status: Verified
 [2016-04-26 16:55 UTC]
According to <>, IPv6 addresses are
supported as of PHP 5.2.10 already.
 [2016-09-08 12:03 UTC]
Automatic comment from SVN on behalf of cmb
Log: Fix #72104: FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses too
 [2016-09-08 12:04 UTC]
-Status: Verified +Status: Closed -Package: Documentation problem +Package: Filter related -Assigned To: +Assigned To: cmb
 [2016-09-08 12:04 UTC]
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

Also relevant: <>.
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of cmb
Log: Fix #72104: FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses too
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 19:01:29 2024 UTC