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


Please Help Members By Posting Answers For Below Questions

Is session a cookie?

740


What is php resource type?

714


How do you explain independent and dependent variables?

681


Is php an oop?

726


What is laravel php?

775


What do you mean range() in php?

816


What are the main error types in php?

760


Why php is also called as scripting language?

728


How would you determine the size of a file in php?

785


Tell me in php, objects are they passed by value or by reference?

736


How many different types of messages available in php?

740


Tell me when a conditional statement is ended with an endif?

695


What is ci framework in php?

681


How to call php function in jquery?

795


What is purpose of @ in Php?

851