IPSet:PHP库用于将IP与CIDR规范进行匹配。 这是来自https:gerrit.wikimedia.org的镜像。 请参阅https:www.medi
IPSet IPSet是一个PHP库,用于将IP地址与一组CIDR规范进行匹配。 使用方法如下: use Wikimedia \ IPSet ; // At startup, calculate the optimized data structure for the set: $ ipset = new IPSet ( [ '208.80.154.0/26' , '2620:0:861:1::/64' , '10.64.0.0/22' , ] ); // Runtime check against cached set (returns bool): if (
下载地址
用户评论