What is the difference between the functions unlink and unset?
Answer Posted / shilpa yogesh agrawal
The function unlink() is to remove a file, where as unset()
is used for destroying a variable that was declared earlier.
unset() empties a variable or contents of file.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are php parameters?
Explain some of the php string functions?
How to execute a function in php?
When to use self over $this?
What is crypt () in php?
Why sessions are used in php?
What does php mean?
What is url encoding and decoding in php?
What is the difference between abstract class and interface in php?
Which function would you use to replace a record in a database in php?
How to find datatype of variable in php?
Tell me what is the use of the function htmlentities?
Is set in php?
What is default session time and path in PHP. How to change it?
Are php session secure?