gethostbynamel
reactphp/event-loop
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get a list of IPv4 addresses corresponding to a given Internet host name
<?php gethostbynamel
(
string $hostname
): array|
false