Related Functions

empty

PHP 4.0+

Determines whether a variable is considered empty, returning true for falsy values and undefined variables.

Description

The empty() Determines whether a variable is considered empty, returning true for falsy values and undefined variables.

Example