array(string|array(string)) gethostbyname(string hostname)
Returns an array with information about the specified host.
The returned array contains the following:
Name of the host.
Array of IP numbers for the host.
Array of alternative names for the host.
This function only exists on systems that have the gethostbyname(2) or similar system call.
gethostbyaddr()