-
Notifications
You must be signed in to change notification settings - Fork 5
/
ip2location.stub.php
45 lines (42 loc) · 2.06 KB
/
ip2location.stub.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php
/**
* @generate-function-entries
* @generate-legacy-arginfo
*/
function ip2location_open(string $file_path): bool {}
function ip2location_open_mem(int $method): bool {}
function ip2location_get_country_short(string $ip_address): string {}
function ip2location_get_country_long(string $ip_address): string {}
function ip2location_get_region(string $ip_address): string {}
function ip2location_get_city(string $ip_address): string {}
function ip2location_get_isp(string $ip_address): string {}
function ip2location_get_latitude(string $ip_address): string {}
function ip2location_get_longitude(string $ip_address): string {}
function ip2location_get_domain(string $ip_address): string {}
function ip2location_get_zipcode(string $ip_address): string {}
function ip2location_get_timezone(string $ip_address): string {}
function ip2location_get_netspeed(string $ip_address): string {}
function ip2location_get_iddcode(string $ip_address): string {}
function ip2location_get_areacode(string $ip_address): string {}
function ip2location_get_weatherstationcode(string $ip_address): string {}
function ip2location_get_weatherstationname(string $ip_address): string {}
function ip2location_get_mcc(string $ip_address): string {}
function ip2location_get_mnc(string $ip_address): string {}
function ip2location_get_mobilebrand(string $ip_address): string {}
function ip2location_get_elevation(string $ip_address): string {}
function ip2location_get_usagetype(string $ip_address): string {}
function ip2location_get_all(string $ip_address): array {}
function ip2location_close(): void {}
function ip2location_delete_shm(): void {}
#if API_VERSION_NUMERIC >= 80300
function ip2location_bin_version(): string {}
#endif
#if API_VERSION_NUMERIC >= 80400
function ip2location_get_addresstype(string $ip_address): string {}
function ip2location_get_category(string $ip_address): string {}
#endif
#if API_VERSION_NUMERIC >= 80600
function ip2location_get_district(string $ip_address): string {}
function ip2location_get_asn(string $ip_address): string {}
function ip2location_get_as(string $ip_address): string {}
#endif