What is the difference between the functions UNLINK
and UNSET?

Answer Posted / ramse

Unset can be used for empty the value of variable or
contents of file but unlink destroy file.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is php the same as html?

731


How to get the number of characters in a string?

813


How many types of array are there in php?

838


How to track user logged out or not? When user is idle?

743


Can a trait extend a class php?

758


Which function parses an English textual date or time into Unix timestamp in PHP.

807


Is array a key php?

742


Is laravel an oop?

716


How to convert a string to uppercase in php?

761


Is php used anymore?

738


How can we encrypt the password using php?

796


What is PECL?

991


What is the use of super-global arrays in php?

716


Tell me what is the difference between unset() and unlink()?

779


What are new features in php 7?

788