Net_IPv6::getNetmaskSpec()

Net_IPv6::getNetmaskSpec() – Returns a possible existing netmask specification at an IP addresse.

Synopsis

require_once 'Net/IPv6.php';

string Net_IPv6::getNetmaskSpec ( string $ip )

Description

Returns a possible existing netmask specification at an IP addresse.

Parameter

  • string $ip - the IP address in Hex format, compressed IPs are allowed

Return value

string - the netmask specification.

Note

This function can be called statically.

Method available since: Release 1.1.0