What is the difference between the functions unlink and unset?

Answer Posted / kiran

unlink() is used to delete a file
unset() is used to delete a variable

Is This Answer Correct ?    44 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell me how do I escape data before storing it into the database?

535


Explain the value of the variable input is a string 1,2,3,4,5,6,7. How would you get the sum of the integers contained inside input?

575


What are the uses of php language?

538


How to assigning a new character in a string using php?

544


What are getters and setters and why are they important?

534






What's the difference between accessing a class method via -> and via ::?

531


What is regular expression in php?

537


What is php glob?

571


Is it difficult to learn php?

541


What is the difference between the include() and require() functions?

879


Tell me what is the actually used php version?

567


What library is used for pdf in php?

525


I need to know about the courses which are useful in corporate companies.. especially php/mySQL, Java/j2ee, .NET.. also tell if any other courses are valuable

1522


Tell me how to set a page as a home page in a php based site?

517


Is php still used?

533