, isset false.
$test = "a";
$test = null;
var_dump( isset( $test ));
Moving variables in PHP are accomplished by assigning its specific value (for example, $ foo = intval ($ bar), etc.). If you put NULL in a variable, it will be interpreted as NULL (type NULL), isset will return false if the variable is type NULL
Edit: if you want to completely disable the variable, use
unset ($ test);
source
share