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);