Net_IPv6::getNetmask()

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

Referentiesamenvatting

require_once 'Net/IPv6.php';

string Net_IPv6::getNetmask (string $ip [, int $bits = null])

Beschrijving

Calculates the network prefix based on the netmask bits.

Parameter

Return waarde

string - the network prefix

Note

Deze functie kan statisch worden aangeroepen.

Method available since: Release 1.1.0