What is the difference between the functions UNLINK
and UNSET?

Answer Posted / vineet sharma

unset() function is to destroy the temporary declared variable.
Unlink function is used to remove the link from the file

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of curl()?

638


How do you find the length of a string in php?

518


Which function gives us the number of affected entries by a query?

521


How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

519


How should a model be structured in mvc?

529






What is difference between strstr() and stristr() in PHP?

551


Can you define an array argument as a reference type?

513


List functions available to sort an php array?

549


Can you use both this () and super () in a constructor?

546


Explain the purpose of output buffering in php.

512


What is the use of explode() function?

571


How values in arrays are indexed?

599


What is php addslashes?

551


What is overloading and overriding in oop?

562


What the limitation of header() function in php?

511