empty

empty -- determine whether a variable is set

Description

int empty(mixed var);

Returns false if var is set and has a non-empty or non-zero value; true otherwise.

See also isset() and unset().