Monday, May 13, 2013

What is the difference between the functions unlink and unset?


Unlink is a function for file system handling which deletes a file. Unset is used to destroy a variable.  
The function unlink() is to remove a file, where as unset() is used for destroying a variable that was declared earlier.
unset() empties a variable or contents of file.

No comments:

Post a Comment