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
Where is session value stored?
Tell me what is the use of mysql_real_escape_string() function?
How can i execute PHP File using Command Line?
What is properties of class?
How to get a total number of rows available in the table?
How can we access the data sent through the url with the post method?
How to check an key is exists in array?
How to get the total number of values in an array?
How to check a variable is an array or not in php?
Where are php configuration settings stored?
What are the different opening and closing tags available in PHP?
Differentiate echo vs. Print statement.
How to create a directory?
What function should you use to join array elements with a glue string?
What is in a cookie?