Bug #73216 [Opn->Dup]: FILTER_FLAG_NO_RES_RANGE and 10.0.0.0/8 range

From: Date: Sat, 01 Oct 2016 08:39:24 +0000
Subject: Bug #73216 [Opn->Dup]: FILTER_FLAG_NO_RES_RANGE and 10.0.0.0/8 range
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204387@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73216&edit=1 ID: 73216 Updated by: requinix@php.net Reported by: video dot ice dot power at seznam dot cz Summary: FILTER_FLAG_NO_RES_RANGE and 10.0.0.0/8 range -Status: Open +Status: Duplicate Type: Bug Package: Filter related Operating System: Linux / DotDeb PHP Version: 7.0.11 Block user comment: N Private report: N New Comment: See bug #72972. Previous Comments: ------------------------------------------------------------------------ [2016-10-01 08:13:54] video dot ice dot power at seznam dot cz Description: ------------ http://stackoverflow.com/questions/39804324/bug-in-php-7-0-11-filter-flag-no-res-range Test script: --------------- var_dump(filter_var('10.1.1.1', FILTER_VALIDATE_IP, FILTER_FLAG_NO_RES_RANGE)); Expected result: ---------------- string(8) "10.1.1.1" Actual result: -------------- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73216&edit=1

« previous php.bugs (#204387) next »