Net_IPv6::compress() (Previous) (Next) Net_IPv6::getAddressType()

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

Net_IPv6::uncompress()

Net_IPv6::uncompress() -- Uncompresses an IPv6 address

Beschreibung

Uncompresses an IPv6 address. RFC 2373 allows you to compress zeros in an address to '::'. This function expects an valid IPv6 address and expands the '::' to the required zeros.

FF01::101	->  FF01:0:0:0:0:0:0:101
      ::1       ->  0:0:0:0:0:0:0:1

Parameter

  • string $ip - the IP address to uncompress

Rückgabewert

string - the uncompressed IP is an IPv6 address

Hinweise

Diese Methode kann statisch aufgerufen werden.

Net_IPv6::compress() (Previous) (Next) Net_IPv6::getAddressType()

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.