Menu Riverview Church

GETHOSTBYNAMEL

Get a list of IPv4 addresses corresponding to a given Internet host name

SYNTAX

gethostbynamel ( string $hostname ) : array

PARAMETERS

hostname

The host name.

RETURN

Returns an array of IPv4 addresses or FALSE if hostname could not be resolved.

EXAMPLES

Array
(
    [0] => 185.85.0.29
)

PHP