What is the difference between the functions unlink and unset?

Answer Posted / rajan vardawaj

unlink() is a function for file system handling. It will
simply delete the file in context. unset() is a function for
variable management. It will make a variable undefined.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the scope of a variable defined in a function?

764


What is alias in php?

811


How can we encrypt the password using php?

775


How is it possible to cast types in php?

716


What is php in simple words?

749


What is the use of trim in php?

728


Why many companies are switching their current business language to php? Where php basically used?

711


What is the difference between apache vs niginx?

830


How to display your correct URL of the current web page?

850


Explain different sorting function in php?

830


Write the statements that are used to connect php with mysql

751


Explain how is it possible to set an infinite execution time for php script?

728


What is return in php function?

759


What is binary safe function in php?

822


What is super () python?

751