itbdw / ip-database

免费IP离线数据库,支持IPV4+IPV6 ,国家、省、市、县、运营商
Other
1.35k stars 256 forks source link

没搞懂$ip_num2 = $ip_num_arr[2];意义 #34

Closed nenge123 closed 4 months ago

nenge123 commented 2 years ago
echo '<br>test2:'.var_export(myapp\ip::get('127.0.0.1'));
echo '<br>test2:'.var_export(myapp\ip::get('183.38.211.40'));
//array ( 'start' => '::', 'end' => '64:ff9a:ffff:ffff::', 'addr' => array ( 0 => 'IANA保留地址', 1 => '', ), 'disp' => 'IANA保留地址 ', )
nenge123 commented 2 years ago

好像里面并不包含IPV4