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

Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?

4769


What is mysqli_query?

509


How do you trim spaces in excel?

512


What is static in php?

536


How to know user has read the email-php?

495






How do I run php?

528


How to specify argument default values?

543


Explain do you use composer? If yes, what benefits have you found in it?

539


Explain what are the two main string operators?

513


Can a super () and this () keywords be in same constructor?

484


What is array and function?

531


What are sql injections, how do you prevent them and what are the best practices?

500


Does php support polymorphism?

506


Where are cookies stored php?

502


What is the use of magic function in php?

504