What is the difference between the functions unlink and unset?
Answer Posted / suprita pandey
Unlink() :-remove file from server.
unlink(' /path/file.phtml');
Unset() :-remove the variable.
unset($variableName);
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What Is a Persistent Cookie?
How do I sort numbers in php?
How the values are ordered in an array?
What are the main error types in php and how do they differ?
How to download files from an external server with code in php?
how to track user logged out or not? when a user is idle?
What is __ construct in php?
How to know user has read the email-php?
What are the differences between php constants and variables?
How can you submit a form without a submit button?
How can you increase the maximum execution time of a script in php?
What is a query give example?
What is array and function?
Is laravel better than codeigniter?
What the difference between the 'bitwise and' operator and the 'logical and' operator?