previousNet_IPv6::removeNetmaskSpec() (Previous) (Next) Net_LDAPnext

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::splitV64()

Net_IPv6::splitV64() – IPv6 アドレスを IPv6 パートと IPv4 パートに分割する

Synopsis

require_once 'Net/IPv6.php';

array Net_IPv6::splitV64 ( string $ip )

Description

IPv6 アドレスを IPv6 パートと IPv4 形式のパートに分割します RFC 2373 では、 IPv6 の最後の2パートを IPv4 アドレス形式 で表現することを許可しています。

0:0:0:0:0:0:13.1.68.3
     0:0:0:0:0:FFFF:129.144.52.38

Parameter

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

Return value

array - キー [0] には IPv6 パートが、キー [1] には IPv4 形式のパートがそれぞれ含まれます。

Note

This function can be called statically.

previousNet_IPv6::removeNetmaskSpec() (Previous) (Next) Net_LDAPnext

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.