HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP Network Reference : A gethostbynamel() example
The gethostbynamel() function returns a list of IPv4 address for a given domain/host name.
Parameter | Description |
---|---|
hostname | Required. Specifies a hostname (like "W3C") |
Return Value: | An array of IPv4 address on success. FALSE on failure. |
---|---|
PHP Version: | 4.0+ |
❮ PHP Network Reference