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 retrieve the original query string?
Do you know what is use of count() function in php?
How to create an array in php?
Does php has a future?
How do I escape data before storing it in the database?
How to terminate the execution of a script in PHP?
How can you send email in php?
Why do we use csrf token?
What is the name of scripting engine in php?
Describe which programming language does php parallel to?
How to remove leading and trailing spaces from user input values?
Tell me how can we automatically escape incoming data?
What is the function func_num_args() used for?
Write a select query that will be displayed the duplicated site name and how many times it is duplicated?
What is json php?