php ip2long 32 64位,php 中IPV6 ip2long的问题解决办法_PHP教程
function ip2bin($ip){if(filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4) !== false)return base_convert(ip2long($ip),10,2);if(filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6) === false)return...