How to reset a variable to NULL in PHP?

php, scripting, variables

Solution

Use `unset($var);`

Problem

I can use `isset($var)` to check if the variable is not defined or null. (eg. checking if a session variable has been set before) But after setting a variable, how do I reset it to the default such that `isset($var)` returns `false`?

Original source