Home > DeveloperSection > Interviews > What is the difference between the functions unlink and unset?

Posted on    June-13-2011 7:37 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1278  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    June-13-2011 12:00 AM

unlink is a function for file system handling. It will simply delete the file in context. unset will set UNSET the

specified variable.

unlink is used to delete a file. unset is used to destroy an earlier declared variable.


Don't want to miss updates? Please click the below button!

Follow MindStick