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
How to return ascii value of character in php?
Where are php configuration settings stored?
How can php and javascript interact?
What is cakephp framework?
Is php 7 backwards compatible?
What beforeFilter() is used?
How be the result set of mysql handled in php?
How to count all the lines of code in a directory and sub folder?
How to Pass JSON Data in a URL using CURL in PHP?
What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
What is magic function in php?
What is factory pattern in php?
How can cross site request forgery csrf be prevented?
How a variable is declared in php?
Is jquery better than javascript?