previousNet_IPv4::atoh() (Previous) (Next) Net_IPv4::ip2double()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_IPv4::htoa()

Net_IPv4::htoa() – Converts a hexadecimal string into a dot-quad formatted IP address

Synopsis

require_once 'Net/IPv4.php';

mixed htoa ( string $addr )

Description

Converts hexadecimal string to a dot-quad formatted IP address - for example "c0a80100" to "192.168.1.0". Returns FALSE if the hexadecimal string is no valid IP adress.

Note

This function can be called statically.

previousNet_IPv4::atoh() (Previous) (Next) Net_IPv4::ip2double()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.