Net_IPv4::atoh()

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

Synopsis

require_once('Net/IPv4.php');

string atoh (string $addr)

Description

Converts dot-quad formatted IP address into a hexadecimal string - for example "192.168.1.0" to "c0a80100".

Note

This function can be called statically.