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 the different ways to login to a remote server? Explain the me, advantages and disadvantages?
How to check a variable is array or not in php?
Where is the submitted form data stored?
Can you extend a final defined class?
What is variable give example?
Which operator is used to concatenate two strings in PHP?
Explain how we can get the number of elements in an array?
Write a program to find the factorial of a number in php?
What is == and === in php?
How is a session id generated?
What is an abstract class in php?
What is sticky form in php?
How can I learn php fast?
What is instantiation?
Write the statements that are used to connect php with mysql