Difference between the functions unlink and unset.
Unlink is used to delete the file used in the context.
Example :unlink('test.html');
Unset is used to unset or destroy the variable.
Example :unset($var);
If a global variable is attempted to “unset” inside a function, the local variable is destroyed.