src/Chippyash/Validation/Util/IpUtil.php
protected static function cidrMatch64bit($ipAddr, $cidr)
    {
        list ($sn, $bits) = explode('/', $cidr);
        $ipLong = self::ip2long64($ipAddr, $bits);
        $subnet = self::ip2long64($sn, $bits);
        $mask = -1 << (32 - $bits);

        return ($ipLong & $mask) == $subnet;
    }
protected static function cidrMatch64bit($ipAddr, $cidr)
    {
        list ($sn, $bits) = explode('/', $cidr);
        $ipLong = self::ip2long64($ipAddr, $bits);
        $subnet = self::ip2long64($sn, $bits);
        $mask = -1 << (32 - $bits);

        return ($ipLong & $mask) == $subnet;
    }
protected static function cidrMatch64bit ( $ ipAddr , $ cidr ) { list ( $ sn , $ bits ) = explode ( '/' , $ cidr ) ; $ ipLong = self :: ip2long64 ( $ ipAddr , $ bits ) ; $ subnet = self :: ip2long64 ( $ sn , $ bits ) ; $ mask = - 1 << ( 32 - $ bits ) ; return ( $ ipLong & $ mask ) == $ subnet ; }
64 bit processor CIDR match

@link http://stackoverflow.com/questions/594112/matching-an-ip-to-a-cidr-mask-in-php5

@param  string $ipAddr
@param  string $cidr
@return boolean
64 bit processor CIDR match