Aphp query ip location code class,The offset address of the first ip index,The offset address of the last ip index, In order to be compatible with versions below php5, this class does not use a destructor and automatically closes the ip library, Convert the ip to an ipv4 Internet address through ip2long, and then compress it into big-endian byte order for comparison with the ip address in the index area.