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
Define about declare construct?
Write a program to get lcm of two numbers using php?
Explain me what is the goto statement useful for?
What are the difference between overloading and overriding in oops?
in PHP for pdf which library used?
Explain what is meant by pear in php?
Explain about switch statement in PHP?
Tell me how is it possible to return a value from a function?
Is php faster than javascript?
What is php7?
What is dao in php?
What is null value in php?
Explain some of the php string functions?
Do you know design patterns. List few?
What does pear stand for?