What is the difference between the functions unlink and unset?
unlink() : It is used to delete a file.
unset() : It is used to unset a file.
BY Best Interview Question ON 06 Jul 2020
Example
unlink('headbar.php');
unset($variable);
unlink() : It is used to delete a file.
unset() : It is used to unset a file.
unlink('headbar.php');
unset($variable);