From 969168c7e1b30e3ec8998381301f76b010f72dd9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 23 Apr 2026 09:34:39 +0200 Subject: add Reflection --- PHPINFO | 9 +++ REFLECTION | 244 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 253 insertions(+) create mode 100644 PHPINFO create mode 100644 REFLECTION 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 [ extension #82 geoip version 1.4.0 ] { + + - INI { + Entry [ geoip.custom_directory ] + Current = '' + } + } + + - Constants [24] { + Constant [ int GEOIP_COUNTRY_EDITION ] { 1 } + Constant [ int GEOIP_REGION_EDITION_REV0 ] { 7 } + Constant [ int GEOIP_CITY_EDITION_REV0 ] { 6 } + Constant [ int GEOIP_ORG_EDITION ] { 5 } + Constant [ int GEOIP_ISP_EDITION ] { 4 } + Constant [ int GEOIP_CITY_EDITION_REV1 ] { 2 } + Constant [ int GEOIP_REGION_EDITION_REV1 ] { 3 } + Constant [ int GEOIP_PROXY_EDITION ] { 8 } + Constant [ int GEOIP_ASNUM_EDITION ] { 9 } + Constant [ int GEOIP_NETSPEED_EDITION ] { 10 } + Constant [ int GEOIP_DOMAIN_EDITION ] { 11 } + Constant [ int GEOIP_COUNTRY_EDITION_V6 ] { 12 } + Constant [ int GEOIP_CITY_EDITION_REV0_V6 ] { 31 } + Constant [ int GEOIP_ORG_EDITION_V6 ] { 23 } + Constant [ int GEOIP_ISP_EDITION_V6 ] { 22 } + Constant [ int GEOIP_CITY_EDITION_REV1_V6 ] { 30 } + Constant [ int GEOIP_ASNUM_EDITION_V6 ] { 21 } + Constant [ int GEOIP_DOMAIN_EDITION_V6 ] { 24 } + Constant [ int GEOIP_NETSPEED_EDITION_REV1 ] { 32 } + Constant [ int GEOIP_NETSPEED_EDITION_REV1_V6 ] { 33 } + Constant [ int GEOIP_UNKNOWN_SPEED ] { 0 } + Constant [ int GEOIP_DIALUP_SPEED ] { 1 } + Constant [ int GEOIP_CABLEDSL_SPEED ] { 2 } + Constant [ int GEOIP_CORPORATE_SPEED ] { 3 } + } + + - Functions { + Function [ function geoip_database_info ] { + + - Parameters [1] { + Parameter #0 [ int $database = GEOIP_COUNTRY_EDITION ] + } + - Return [ ?string ] + } + Function [ function geoip_country_code_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_code_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_code_by_addr ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_code_by_addr_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_domain_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_domain_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_code3_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_code3_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_name_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_country_name_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_continent_code_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_continent_code_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_org_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_org_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_record_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_record_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_id_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + - Return [ int ] + } + Function [ function geoip_id_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + - Return [ int ] + } + Function [ function geoip_region_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_region_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_isp_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_isp_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_db_avail ] { + + - Parameters [1] { + Parameter #0 [ int $database ] + } + - Return [ ?bool ] + } + Function [ function geoip_db_get_all_info ] { + + - Parameters [0] { + } + - Return [ array ] + } + Function [ function geoip_db_filename ] { + + - Parameters [1] { + Parameter #0 [ int $database ] + } + - Return [ ?string ] + } + Function [ function geoip_region_name_by_code ] { + + - Parameters [2] { + Parameter #0 [ string $country_code ] + Parameter #1 [ string $region_code ] + } + } + Function [ function geoip_time_zone_by_country_and_region ] { + + - Parameters [2] { + Parameter #0 [ string $country_code ] + Parameter #1 [ ?string $region_code ] + } + } + Function [ function geoip_asnum_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_asnum_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_netspeedcell_by_name ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_netspeedcell_by_name_v6 ] { + + - Parameters [1] { + Parameter #0 [ string $hostname ] + } + } + Function [ function geoip_setup_custom_directory ] { + + - Parameters [1] { + Parameter #0 [ string $path ] + } + } + } +} + -- cgit