Net_IPv6::getAddressType() (Previous) (Next) Net_IPv6::isInNetmask()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Net_IPv6::getNetmask()

Net_IPv6::getNetmask() -- Calculates the network prefix

Description

Calculates the network prefix based on the netmask bits.

Paramètres

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

  • int $bits - if the number of netmask bits is not part of the IP, you must provide the mumber of bits

Valeur retournée

string - the network prefix

Note

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

Method available since: Release 1.1.0

Net_IPv6::getAddressType() (Previous) (Next) Net_IPv6::isInNetmask()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.