is_null

(PHP 4 >= 4.0.4, PHP 5)

is_null --  Finds whether a variable is NULL

Popis

bool is_null ( mixed var )

Finds whether the given variable is NULL.

Seznam parametrů

var

The variable being evaluated.

Návratové hodnoty

Returns TRUE if var is null, FALSE otherwise.

Viz také

The NULL type
isset()
is_bool()
is_numeric()
is_float()
is_int()
is_string()
is_object()
is_array()