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 is the difference between echo print and print_r in php?
How we load all classes that placed in different directory in one php file , means how to do auto load classes.
What PHP stands for?
How to calculate the difference between two dates using php?
What is smarty?
How to call a php function from html button?
What is php data type?
What is urlencode and urldecode in php?
Is php used in 2019?
What are the differences between require and include?
How to parse configuration file in php?
Is empty array php?
What does it mean when it says the csrf token is invalid?
Is laravel better than codeigniter?
Tell me how can you pass a variable by reference?