void unset ( mixed $var [, mixed $... ] )
unset() construct destroys the specified variables by unlinking the data from the variable in the look-up (symbols) table.
The behavior of
unset() inside of a function can vary depending on what type of variable you are attempting to destroy.
If a globalized variable is
unset() inside of a function, only the local variable is destroyed. The variable in the calling environment will retain the same value as before
unset() was called.
Show It in ActionBasic
Let’s see the
unset function in action. In this video, you will see how it works, including the sequencing flowchart.
You get WET when you swim. Stay DRY when you code.
In this video, you will go deeper into the instruction.
In this video, you will learn when to use