What is the difference between the functions unlink and unset?
Answer Posted / jitendra k jain
unlink is a function to delete a file from specified location where as unset() is a function that will distroy memory allocated to that variable. it means it will remove variable from memory.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why is php used for web development?
What is the scope of a variable defined in a function?
In php, how to redirect from one page to another page?
How can we check the value of a given variable is alphanumeric?
What are the functions of string?
What is the use of htmlentities in php?
How to access a Static Member of a Class in PHP?
What is the functionality of the functions strstr() and stristr()?
How to get a total number of rows available in the table?
What changes I have to do in php.ini file for file uploading?
How can I learn php fast?
Which function can be used to exit from the script after displaying the error message?
What is the difference between the include() and require() functions?
Are php variables global?
What is singleton design pattern in php?