What is the difference between the functions unlink and unset?

Ads

 
 

Share on Google+Share on Google+

brijesh
What is the difference between the functions unlink and unset?
1 Answer(s)      7 years ago
Posted in : PHP

What is the difference between the functions unlink and unset?

Ads
View Answers

November 15, 2010 at 3:48 PM


Hi all,

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

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

Thanks


Ads









Related Tutorials/Questions & Answers:
Advertisements

Ads

 
Advertisement null

Ads