Net_IPv6::getAddressType()

Net_IPv6::getAddressType() -- Returns the type of an IP address

Synopsis

require_once 'Net/IPv6.php';

int Net_IPv6::getAddressType (string $ip)

Beschreibung

RFC 1883, Section 2.3 describes several types of addresses in the IPv6 addresse space. This methods tries to find the type of address for the given IP.

Warnung

Several address types are markers for reserved spaces and as consequence a subject to change.

Parameter

Rückgabewert

int - the addresstype

The type can be one of this constants:

Hinweise

Diese Methode kann statisch aufgerufen werden.

Method available since: Release 1.1.0