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


require_once 'Net/IPv4.php';

mixed htoa ( string $addr )


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


This function can be called statically.

Net_IPv4::atoh() (Previous) Net_IPv4::ip2double() (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.