Doc #72104 [Opn->Ver]: FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses too
Edit report at https://bugs.php.net/bug.php?id=72104&edit=1
ID: 72104
Updated by: cmb@php.net
Reported by: kroky6 at gmail dot com
Summary: FILTER_FLAG_NO_RES_RANGE applies to IPv6 addresses
too
-Status: Open
+Status: Verified
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
According to <https://3v4l.org/VX2US>, IPv6 addresses are
supported as of PHP 5.2.10 already.
Previous Comments:
------------------------------------------------------------------------
[2016-04-26 07:09:26] kroky6 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/filter.filters.flags
---
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:
https://github.com/php/php-src/commit/e90265ac978a5d92beb7c37ecf3107c2c5f1d7f5
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72104&edit=1
Thread (3 messages)