Bug #17833 [Opn->Dup]: ipInNetwork stopped working
| From: | klaas dot naaijkens at gmail dot com | Date: | Mon, 30 Aug 2010 16:29:34 +0000 |
| Subject: | Bug #17833 [Opn->Dup]: ipInNetwork stopped working | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-4719@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17833&edit=1
ID: 17833
Updated by: klaas.naaijkens@gmail.com
Reported By: klaas dot naaijkens at gmail dot com
Summary: ipInNetwork stopped working
-Status: Open
+Status: Duplicate
Type: Bug
Package: Net_IPv4
Operating System: ubuntu
Package Version: 1.3.2
PHP Version: 5.3.1
Roadmap Versions:
New Comment:
-Status: Open
+Status: Duplicate
Previous Comments:
------------------------------------------------------------------------
[2010-08-30 16:24:26] kjn
Description:
------------
ipInNetwork is broken.
Test script:
---------------
$ip = '10.11.12.13';
$net1 = '10.0.0.1/8';
Net_IPv4::ipInNetwork($ip, $net1);
this should return true, but it returns false.
Expected result:
----------------
this should return true
Actual result:
--------------
but it returns false.
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17833&edit=1