Net_IPv6::checkIPv6() (Previous) (Next) Net_IPv6::uncompress()

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

Net_IPv6::compress()

Net_IPv6::compress() -- IPv6 アドレスの圧縮

説明

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

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

パラメータ

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

返り値

string - 圧縮された IPv6 アドレス

注意

この関数は、スタティックにコールする ことができます。

Net_IPv6::checkIPv6() (Previous) (Next) Net_IPv6::uncompress()

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