previousNet_IPv4 (Previous) (Next) Net_IPv4::htoa()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::atoh()

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

Synopsis

require_once 'Net/IPv4.php';

mixed atoh ( string $addr )

Description

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

Note

This function can be called statically.

previousNet_IPv4 (Previous) (Next) Net_IPv4::htoa()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.