Net_IPv6::removeNetmaskSpec()

Net_IPv6::removeNetmaskSpec()

Net_IPv6::removeNetmaskSpec() -- Removes the Netmask length specification

Description

Removes a possible existing netmask length specification in an IP addresse.

Parameter

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

Return value

string - the IP without netmask length specification.

Note

This function can be called statically.

Method available since: Release 1.1.0

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.