What is the difference between the functions unlink and unset in PHP?
The function unlink() is to remove a file, where as unset() is used for destroying a variable that was declared earlier.
View answer Workspace Report Error Discuss
What is the difference between the functions unlink and unset?
unlink()-deletes the given file from the file system.unset() -makes a variable undefined.