PHP Manual (NEW!)
First Time PHP'ers
Help with programming
Sql assignment help
PHP Homework Help
Descriptionbool empty ( mixed var)
This is the opposite of (boolean) var, except that no warning is generated when the variable is not set. See converting to boolean for more information.
Note that this is meaningless when used on anything which isn't a variable; i.e. empty (addslashes ($name)) has no meaning since it would be checking whether something which isn't a variable is a variable with a FALSE value.