October 2005
Intermediate to advanced
372 pages
11h 35m
English
isset()
bool isset ( mixedvar[, mixedvar[, ...]] )
The isset()
function returns true if its parameter has already been set in your script. This is not the same as the empty(): if a variable was set and had no value, isset() would return true, and empty() would return false.
To check for "variable not set," use the not operator !, as in if (!isset($foo)).