Метод | Описание | |
---|---|---|
get_data ( ) : array | Get data about the general system information, like OS or IP (shortened). | |
get_identifier ( ) | ||
is_private_ip ( string $ip ) : boolean | Checks whether the given IP is in a private network. |
public is_private_ip ( string $ip ) : boolean | ||
$ip | string | IP in v4 dot-decimal or v6 hex format |
Результат | boolean | true if the IP is from a private network, else false |