PHP » GoLang |
login |
register |
about
|
gethostbynamel(PHP 4, PHP 5, PHP 7) gethostbynamel — Get 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
|
more
Recently updated
more
Most requested
more
Last requests
|