empty

empty -- determine whether a variable is set

Description

int empty(mixed var);

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

See also isset() and unset().