What is the difference between the functions unlink and unset?

Answer Posted / shilpa yogesh agrawal

The function unlink() is to remove a file, where as unset()
is used for destroying a variable that was declared earlier.
unset() empties a variable or contents of file.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different data types in javascript?

522


Are php short tags acceptable to use?

529


Does php 5 support exceptions?

683


Tell us what does $_cookie means?

573


Why php script is not running in browser?

567






What are the advantages of oops in php?

565


Tell me what are the correct and the most two common way to start and finish a php block of code?

536


What is the purpose of pear in php?

589


Is php easier than javascript?

510


What is the use of the function htmlentities?

627


What can php do?

553


What are the php variables?

537


What is parent __construct ();?

543


What is php and features of php?

453


What is the difference between myisam and innodb?

513