Searching for "unlink"

Q:

What is the difference between the functions unlink and unset in PHP?

Answer

The function unlink() is to remove a file, where as unset() is used for destroying a variable that was declared earlier.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

Q:

What is the difference between the functions unlink and unset?

Answer

unlink()-deletes the given file from the file system.
unset() -makes a variable undefined.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP