Net_IPv4::atoh()

Net_IPv4::atoh()

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

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.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.