PHP 8.3.4 Released!

Funktionen zur Behandlung von Variablen

Inhaltsverzeichnis

  • boolval — Get the boolean value of a variable
  • debug_zval_dump — Dumps a string representation of an internal zval structure to output
  • doubleval — Alias von floatval
  • empty — Prüft, ob eine Variable leer ist
  • floatval — Konvertiert einen Wert nach float
  • get_debug_type — Gets the type name of a variable in a way that is suitable for debugging
  • get_defined_vars — Gibt ein Array aller definierten Variablen zurück
  • get_resource_id — Returns an integer identifier for the given resource
  • get_resource_type — Liefert den Typ einer Ressource
  • gettype — Liefert den Datentyp einer Variablen
  • intval — Konvertiert einen Wert nach integer
  • is_array — Prüft, ob die Variable ein Array ist
  • is_bool — Prüft, ob eine Variable vom Typ boolean ist
  • is_callable — Prüft, ob ein Wert als Funktion aus dem aktuellen Bereich aufgerufen werden kann.
  • is_countable — Verify that the contents of a variable is a countable value
  • is_double — Alias von is_float
  • is_float — Prüft, ob eine Variable vom Typ float ist
  • is_int — Prüft, ob eine Variable vom Typ int ist
  • is_integer — Alias von is_int
  • is_iterable — Verify that the contents of a variable is an iterable value
  • is_long — Alias von is_int
  • is_null — Prüft, ob eine Variable null enthält
  • is_numeric — Prüft, ob eine Variable eine Zahl oder ein numerischer String ist
  • is_object — Prüft, ob eine Variable vom Typ object ist
  • is_real — Alias von is_float
  • is_resource — Prüft, ob eine Variable vom Typ resource ist
  • is_scalar — Prüft, ob eine Variable skalar ist
  • is_string — Prüft, ob Variable vom Typ string ist
  • isset — Prüft, ob eine Variable deklariert ist und sich von null unterscheidet
  • print_r — Gibt Variablen-Informationen in lesbarer Form aus
  • serialize — Erzeugt eine speicherbare Repräsentation eines Wertes
  • settype — Legt den Typ einer Variablen fest
  • strval — Ermittelt die String-Repräsentation einer Variable
  • unserialize — Erzeugt aus einem gespeicherten Datenformat einen Wert in PHP
  • unset — Löschen einer angegebenen Variablen
  • var_dump — Gibt alle Informationen zu einer Variablen aus
  • var_export — Liefert den Inhalt einer Variablen als parsbaren PHP-Code
add a note

User Contributed Notes 1 note

up
-4
aldemarcalazans@gmail
4 years ago
I thought the PHP developers should include in this section, the operator "identity" ( see http://php.net/manual/en/language.operators.arithmetic.php).

From an arithmetic point of view, this operator is useless but, as a converter from string to number, it is great. It does not force the numerical string to have an integer or float type, instead, it automatically determines the adequate type, depending on the numerical quantity represented by the string.
To Top