Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетил 18851 программист и 1635 роботов. Сейчас ищут 1973 программиста ...
Net_IPv6::getPrefixLength()
Вернуться к: Net_IPv6
Net_IPv6::getPrefixLength()
Net_IPv6::getPrefixLength() – Tests for a prefix length specification in the address and returns the prefix length, if exists.
Synopsis
require_once 'Net/IPv6.php';
mixed Net_IPv6::getPrefixLength ( string $ip )
Tests for a prefix length specification in the address and returns the prefix length, if exists.
Parameter
-
string $ip - a valid ipv6 address
Return value
mixed - the prefix as String or false, if prefix was not found.
Note
This function can be called statically.
Method available since: Release 1.1.0
This function is deprecated. That means that future versions of this package may not support it anymore.
Deprecated in release 1.2.1
Вернуться к: Net_IPv6