What is the difference between the functions unlink and unset?

Answer Posted / pinky

unlink is used to delete the file where as

unset is used to delete the variable and the content of file.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is zend studio for?

540


Can php replace javascript?

535


Explain the casts allowed in PHP?

587


What is the name of the scripting engine that powers PHP?

713


Is php a float?

543






Do while loops?

530


Define soundex()?

517


Is php 7 backwards compatible?

601


How to remove all duplicate values in array in php?

523


What is the capacity of mysql database?

568


What is the difference between rest and soap?

572


Which cryptographic functions in php returns the longest hash value?

583


Which is the best php framework for a beginner?

532


How to write comment in php?

698


Is it possible multiple inheritance in php?

580