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

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Net_IPv6::uncompress()

Net_IPv6::uncompress() – IPv6 アドレスを伸長する

Synopsis

require_once 'Net/IPv6.php';

string Net_IPv6::uncompress ( string $ip )

Description

IPv6 アドレスを伸長します。 RFC 2373 では、アドレス内のゼロを '::'に圧縮する事を許可しています。 この関数は有効な IPv6アドレスを期待しており、 '::' を必要とされるゼロに伸長します。

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

Parameter

  • string $ip - 伸長する IP アドレスを指定します。

Return value

string - 伸長された IPv6 アドレス

Note

This function can be called statically.

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

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