gethostbyname
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Get the IPv4 address corresponding to a given Internet host name
<?php gethostbyname
(
string $hostname
):
string