isset()

isset - Determine if a variable is set and is not

NULL

Syntax

bool isset (mixed $var, mixed $var, $...)

Arguments

  • var - The variable to be checked.
  • var - Another variable..
  • ...

Description

Determine if a variable is set and is not NULL.

Version

PHP 4, 5

Return value

Returns TRUE if var exists and has value other than NULL, FALSE otherwise.