Net_IPv4::htoa() (Previous) (Next) Net_IPv4::validateIP()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_IPv4::ip2double()

Net_IPv4::ip2double() -- Converts an IP address to a PHP double.

Description

Converts an IP address to a PHP double - for example "192.168.1.0" to "3232235776". A double is, in contrast to ip2long's integer, not signed and may be more comfortable when presented to the user. It can still be reconverted with PHP's long2ip().

Note

Cette fonction peut être appelée de façon statique.

Net_IPv4::htoa() (Previous) (Next) Net_IPv4::validateIP()

Download Documentation Last updated: Sun, 28 Sep 2008
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.