mixed Net_IPv6::getPrefixLength (
string $ip
)
Tests for a prefix length specification in the address and returns the prefix length, if exists.
string $ip - a valid ipv6 address
mixed - the prefix as String or false, if prefix was not found.
This function can be called statically.
Method available since: Release 1.1.0