Forum und email

is_null

(PHP 4 >= 4.0.4, PHP 5)

is_null — Controleer of een variabele NULL is

Beschrijving

bool is_null ( mixed $var )

Geeft TRUE terug als var null is, en anders FALSE.

In de documentatie voor het type NULL wordt beschreven wanneer een variabele als NULL wordt beschouwd en wanneer niet.

Zie ook NULL, is_bool(), is_numeric(), is_float(), is_int(), is_string(), is_object(), is_array(), is_integer(), en is_real()