socket_addrinfo_lookup
Supported Versions: PHP 7 >= 7.2.0, PHP 8
Get array with contents of getaddrinfo about the given hostname
<?php socket_addrinfo_lookup
(
string $host
, ?
string $service
=
null
, array
$hints
= []): array|
false