Basic PHP Programming Question:

What is the difference between the functions unlink and unset?

Tweet Share WhatsApp

Answer:

unlink() is a function for file system handling. It will simply delete the file in context.

unset() is a function for variable management. It will make a variable undefined.

Download PHP PDF Read All 139 PHP Questions
Previous QuestionNext Question
How can we extract string abc.com from a string http://info@abc.com using regular expression of php?How come the code works, but does not for two-dimensional array of mine?