Home Answers Viewqa PHP What is the difference between the functions unlink and unset?

 
 


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

What is the difference between the functions unlink and unset?

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









Related Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.