gethostbynamel

PHP 4, PHP 5, PHP 7, PHP 8
gethostbynamel - Get a list of IPv4 addresses corresponding to a given Internet host name
Manual
Code Examples

Example #1 gethostbynamel example

Result: Array ( [0] => 192.0.34.166 )
PHP Version: