int isDefined(string $name)

$name - the name of the variable

Returns 0 if the variable named $name has not been defined, else the function returns nonzero

NOTE: This function is deprecated; use isSet() instead.

Example: to see if $varname is defined, use isDefined('varname'), DO NOT use isDefined($varname)