What is the difference between the functions unlink and unset?

Answer Posted / umapathi

unlink-deletes the file
unset-unsets the variable

Is This Answer Correct ?    50 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between python and php?

519


How to set a value in session? How to remove data from a session?

502


What is new static in php?

538


How to include a file to a PHP page?

590


How can we determine whether a php variable is an instantiated object of a certain class?

529






Can you pass an array into a function?

561


What is the difference between mysqli_fetch_object() and mysqli_fetch_array()?

520


What is namespace in php?

559


How to execute an sql query? How to fetch its result?

578


How to do single and multi line comment in php?

562


When do you use define() and when do you use const. What are the main differences between those two?

577


Explain preg_Match and preg_replace?

555


What are the Advantages and Application Areas of PHP?

515


Tell me will a comparison of an integer 12 and a string "13" work in php?

658


Is overloading possible in php?

524