SimplePie_Net_IPv6 Klassenreferenz

SimplePie_Net_IPv6 Klassenreferenz

Öffentliche, statische Methoden

static uncompress ($ip)
 
static compress ($ip)
 
static check_ipv6 ($ip)
 
static checkIPv6 ($ip)
 

Private, statische Methoden

static split_v6_v4 ($ip)
 

Ausführliche Beschreibung

Definiert in Zeile 59 der Datei IPv6.php.

Dokumentation der Elementfunktionen

static check_ipv6 (   $ip)
static

Checks an IPv6 address

Checks if the given IP is a valid IPv6 address

Parameter
string$ipAn IPv6 address
Rückgabe
bool true if $ip is a valid IPv6 address

Definiert in Zeile 218 der Datei IPv6.php.

Wird benutzt von SimplePie_IRI\set_host().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

static checkIPv6 (   $ip)
static

Checks if the given IP is a valid IPv6 address

Veraltet:
Use {
Siehe auch
SimplePie_Net_IPv6::check_ipv6()} instead
check_ipv6
Parameter
string$ipAn IPv6 address
Rückgabe
bool true if $ip is a valid IPv6 address

Definiert in Zeile 272 der Datei IPv6.php.

static compress (   $ip)
static

Compresses an IPv6 address

RFC 4291 allows you to compress concecutive zero pieces in an address to '::'. This method expects a valid IPv6 address and compresses consecutive zero pieces to '::'.

Example: FF01:0:0:0:0:0:0:101 -> FF01::101 0:0:0:0:0:0:0:1 -> ::1

Siehe auch
uncompress()
Parameter
string$ipAn IPv6 address
Rückgabe
string The compressed IPv6 address

Definiert in Zeile 147 der Datei IPv6.php.

Wird benutzt von SimplePie_IRI\set_host().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

static split_v6_v4 (   $ip)
staticprivate

Splits an IPv6 address into the IPv6 and IPv4 representation parts

RFC 4291 allows you to represent the last two parts of an IPv6 address using the standard IPv4 representation

Example: 0:0:0:0:0:0:13.1.68.3 0:0:0:0:0:FFFF:129.144.52.38

Parameter
string$ipAn IPv6 address
Rückgabe
array [0] contains the IPv6 represented part, and [1] the IPv4 represented part

Definiert in Zeile 195 der Datei IPv6.php.

static uncompress (   $ip)
static

Uncompresses an IPv6 address

RFC 4291 allows you to compress concecutive zero pieces in an address to '::'. This method expects a valid IPv6 address and expands the '::' to the required number of zero pieces.

Example: FF01::101 -> FF01:0:0:0:0:0:0:101 ::1 -> 0:0:0:0:0:0:0:1

Autor
Alexander Merz alexa.nosp@m.nder.nosp@m..merz.nosp@m.@web.nosp@m..de
elfrink at introweb dot nl
Josh Peck <jmp at="" joshpeck="" dot="" org>="">
Parameter
string$ipAn IPv6 address
Rückgabe
string The uncompressed IPv6 address

Definiert in Zeile 79 der Datei IPv6.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.