summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO9
-rw-r--r--REFLECTION244
2 files changed, 253 insertions, 0 deletions
diff --git a/PHPINFO b/PHPINFO
new file mode 100644
index 0000000..6061bf6
--- /dev/null
+++ b/PHPINFO
@@ -0,0 +1,9 @@
+
+geoip
+
+geoip support => enabled
+geoip extension version => 1.4.0
+geoip library version => 1006012
+
+Directive => Local Value => Master Value
+geoip.custom_directory => no value => no value
diff --git a/REFLECTION b/REFLECTION
new file mode 100644
index 0000000..85fb812
--- /dev/null
+++ b/REFLECTION
@@ -0,0 +1,244 @@
+Extension [ <persistent> extension #82 geoip version 1.4.0 ] {
+
+ - INI {
+ Entry [ geoip.custom_directory <ALL> ]
+ Current = ''
+ }
+ }
+
+ - Constants [24] {
+ Constant [ <persistent> int GEOIP_COUNTRY_EDITION ] { 1 }
+ Constant [ <persistent> int GEOIP_REGION_EDITION_REV0 ] { 7 }
+ Constant [ <persistent> int GEOIP_CITY_EDITION_REV0 ] { 6 }
+ Constant [ <persistent> int GEOIP_ORG_EDITION ] { 5 }
+ Constant [ <persistent> int GEOIP_ISP_EDITION ] { 4 }
+ Constant [ <persistent> int GEOIP_CITY_EDITION_REV1 ] { 2 }
+ Constant [ <persistent> int GEOIP_REGION_EDITION_REV1 ] { 3 }
+ Constant [ <persistent> int GEOIP_PROXY_EDITION ] { 8 }
+ Constant [ <persistent> int GEOIP_ASNUM_EDITION ] { 9 }
+ Constant [ <persistent> int GEOIP_NETSPEED_EDITION ] { 10 }
+ Constant [ <persistent> int GEOIP_DOMAIN_EDITION ] { 11 }
+ Constant [ <persistent> int GEOIP_COUNTRY_EDITION_V6 ] { 12 }
+ Constant [ <persistent> int GEOIP_CITY_EDITION_REV0_V6 ] { 31 }
+ Constant [ <persistent> int GEOIP_ORG_EDITION_V6 ] { 23 }
+ Constant [ <persistent> int GEOIP_ISP_EDITION_V6 ] { 22 }
+ Constant [ <persistent> int GEOIP_CITY_EDITION_REV1_V6 ] { 30 }
+ Constant [ <persistent> int GEOIP_ASNUM_EDITION_V6 ] { 21 }
+ Constant [ <persistent> int GEOIP_DOMAIN_EDITION_V6 ] { 24 }
+ Constant [ <persistent> int GEOIP_NETSPEED_EDITION_REV1 ] { 32 }
+ Constant [ <persistent> int GEOIP_NETSPEED_EDITION_REV1_V6 ] { 33 }
+ Constant [ <persistent> int GEOIP_UNKNOWN_SPEED ] { 0 }
+ Constant [ <persistent> int GEOIP_DIALUP_SPEED ] { 1 }
+ Constant [ <persistent> int GEOIP_CABLEDSL_SPEED ] { 2 }
+ Constant [ <persistent> int GEOIP_CORPORATE_SPEED ] { 3 }
+ }
+
+ - Functions {
+ Function [ <internal:geoip> function geoip_database_info ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $database = GEOIP_COUNTRY_EDITION ]
+ }
+ - Return [ ?string ]
+ }
+ Function [ <internal:geoip> function geoip_country_code_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_code_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_code_by_addr ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_code_by_addr_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_domain_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_domain_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_code3_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_code3_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_name_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_country_name_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_continent_code_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_continent_code_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_org_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_org_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_record_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_record_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_id_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:geoip> function geoip_id_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ - Return [ int ]
+ }
+ Function [ <internal:geoip> function geoip_region_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_region_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_isp_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_isp_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_db_avail ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $database ]
+ }
+ - Return [ ?bool ]
+ }
+ Function [ <internal:geoip> function geoip_db_get_all_info ] {
+
+ - Parameters [0] {
+ }
+ - Return [ array ]
+ }
+ Function [ <internal:geoip> function geoip_db_filename ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> int $database ]
+ }
+ - Return [ ?string ]
+ }
+ Function [ <internal:geoip> function geoip_region_name_by_code ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $country_code ]
+ Parameter #1 [ <required> string $region_code ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_time_zone_by_country_and_region ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> string $country_code ]
+ Parameter #1 [ <required> ?string $region_code ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_asnum_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_asnum_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_netspeedcell_by_name ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_netspeedcell_by_name_v6 ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $hostname ]
+ }
+ }
+ Function [ <internal:geoip> function geoip_setup_custom_directory ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $path ]
+ }
+ }
+ }
+}
+