Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 18834 программиста и 1635 роботов. Сейчас ищут 1859 программистов ...
Net_IPv6::removePrefixLength()
Вернуться к: Net_IPv6
Net_IPv6::removePrefixLength()
Net_IPv6::removePrefixLength() – Tests for a prefix length specification in the address and removes the prefix length, if exists.
Synopsis
require_once 'Net/IPv6.php';
string Net_IPv6::removePrefixLength ( string $ip )
Tests for a prefix length specification in the address and removes the prefix length, if exists.
Parameter
-
string $ip - the IP address in Hex format, compressed IPs are allowed
Return value
string - the address without a prefix length.
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