What is the difference between the functions unlink and unset?
Answer Posted / prahallada
unlink() is a function for file system handling.
It will simply delete the file in context.
Unset () is used to destroy a variable in PHP. In can be
used to remove a single variable, multiple variables, or an
element from an array. It is phrased as Unset ($remove).
Also Known As: Unset Variable, Destroy Variable
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can i execute PHP File using Command Line?
Is php secure?
How to execute a function in php?
Is php used for frontend or backend?
What is a variable cost example?
What is use of count() function in php?
What is difference between php and html?
What is the purpose of pear in php?
What should we do to be able to export data into an excel file?
How can we determine whether a php variable is an instantiated object of a certain class?
How to convert strings to upper or lower cases?
Is session a cookie?
Does php support multithreading?
What is a php 5?
Define about declare construct?