|
gethostbynamelGet a list of IPv4 addresses corresponding to a given Internet host name Description
array gethostbynamel
( string
$hostname
)
Returns a list of IPv4 addresses to which the Internet host
specified by Parameters
Return Values
Returns an array of IPv4 addresses or Examples
Example #1 gethostbynamel example
<?php The above example will output: Array ( [0] => 192.0.34.166 ) See Also
|