WissensdatenbankPrüfungszentrum
DEDeutsch
Sprache wählen13

CKTIS / Wissensdatenbank

Wissensdatenbank

Syntax, Operatoren und Programmierkonzepte. Finde eine Erklärung, sieh dir ein Beispiel an und lerne weiter.

Einträge: 5788

PHP

is_countable()

Prüft, ob count den Wert akzeptiert.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_float()

Erkennt float ohne numerische Umwandlung.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_int()

Prüft einen Index auf den tatsächlichen Typ int.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_iterable()

Erkennt Arrays und Traversable-Objekte vor der Übergabe an einen iterable-Parameter.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_null()

Prüft genau auf null und unterscheidet es von der Zahl 0 und dem leeren String.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_numeric()

Erkennt Zahlen und numerische Strings.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_object()

Erkennt jedes Objekt einschließlich Closure und stdClass.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_resource()

Prüft, ob ein Erweiterungs-Handle eine offene Ressource ist.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_scalar()

Akzeptiert bool, int, float und string, auch false und den leeren String. null, Arrays und Objekte fallen durch.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

is_string()

Erkennt einen String auch dann, wenn er leer oder binär ist oder nur Ziffern enthält.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

iterator_apply()

Ruft beim Durchlaufen eines Traversable einen Callback auf.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

iterator_count()

Zählt die Elemente eines Durchlaufs und kann dabei einen Generator erschöpfen.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

iterator_to_array()

Überführt den Durchlauf in ein Array.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

join()

Dieser Alias von implode setzt Trenner nur zwischen aufeinanderfolgende Werte.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

json_decode()

Liest UTF-8-JSON als PHP-Werte.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

json_encode()

Serialisiert einen PHP-Wert als UTF-8-JSON.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

json_validate()

Prüft seit PHP 8.3 die JSON-Syntax, ohne einen PHP-Wert zu erzeugen.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

key()

Liest den aktuellen Schlüssel ohne Zeigerbewegung. 0 und "" sind gültige Schlüssel, nur null bedeutet, dass kein aktuelles Element vorliegt.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

krsort()

Sortiert eine Zuordnung nach absteigenden Schlüsseln und erhält die zugehörigen Werte.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

ksort()

Bringt die Schlüssel vor dem nächsten Durchlauf in aufsteigende Reihenfolge.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

lcfirst()

Verkleinert das erste Byte, falls es ein ASCII-Großbuchstabe ist, und erhält den Rest.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

ltrim()

Entfernt links Maskenbytes bis zum ersten anderen Byte.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

max()

Bei einem einzelnen nichtleeren Array wählt max den größten Wert unabhängig vom Schlüssel.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested
PHP

mb_strlen()

Die Funktion mb_strlen zählt Zeichen in der angegebenen Kodierung, bei null in der internen Kodierung.

Mittlere Stufe · PHP 8.4; repository runtime, production runtime not attested