gethostbyname

PHP 4, PHP 5, PHP 7, PHP 8
gethostbyname - Get the IPv4 address corresponding to a given Internet host name

Example #1 A simple gethostbyname example

PHP Version:


Example #2 of gethostbyname

PHP Version: