|
PHP5中文手册
geoip_db_get_all_info(PECL geoip:1.0.1) geoip_db_get_all_info — Returns detailed informations about all GeoIP database types 说明
array geoip_db_get_all_info
( void
)
The geoip_db_get_all_info() function will return detailed informations as a multi-dimensional array about all the GeoIP database types. This function is available even if no databases are installed. It will simply list them as non-available. The names of the different keys of the returning associative array are as follows:
返回值Returns the associative array. 范例
Example#1 A geoip_db_get_all_info() example This will print the array containing all the informations.
<?php 上例将输出:
Example#2 A geoip_db_get_all_info() example You can use the various constants as keys to get only parts of the information.
<?php 上例将输出:
|