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

Posted on    May-04-2012 8:37 AM

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

Arun Singh

Total Post:310

Points:1550
Posted on    May-04-2012 12:00 AM

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

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

Follow MindStick