Isset

isset() is a function that determines if a variable is declared and is different than null.

isset() is also related to the magic method __isset(), which is used to determine if a property in an object exists or not.

isset() has an error suppression feature, that masks various errors, such as undefined offset or undefined variables. Some other errors, like an invalid type as offset, are still reported.

<?php

$var = 'something';

if (isset($var)) {
    echo 'The variable $var contains '.$var;
} else {
    echo 'No such variable as $var';
}
?>

Documentation

See also isset vs empty vs is_null

Related : Magic Methods, __isset() Method