The PHP documentation states the following about the unset()
language construct:
destroys the specified variables.
Unset a given variable
What does this really mean? Just destroy the variable content; empty out a variable and give it the value null
? Or does it mean, wipe out the variable not just it's content but everything?
I wrote the following:
$a = "tom";
unset($a);
var_dump($a);
and got this:
Notice: Undefined variable: a in...