Menu Samaritan's Purse

GETHOSTBYADDR

Get the Internet host name corresponding to a given IP address

SYNTAX

gethostbyaddr ( string $ip_address ) : string

PARAMETERS

ip_address

The host IP address.

RETURN

Returns the host name on success, the unmodified ip_address on failure, or FALSE on malformed input.

EXAMPLES

ip-185-85-0-29.ax5z.com

PHP