Manuel Pear

Net_IPv6::removeNetmaskSpec()

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

Synopsis

  1. <?php
  2. require_once 'Net/IPv6.php
  3. ?> 

string Net_IPv6::removeNetmaskSpec (string $ip)

Description

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

Paramètres

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

Valeur retournée

string - the IP without netmask length specification.

Note

Cette fonction peut être appelée de façon statique.

Method available since: Release 1.1.0


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique