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 the difference between array_merge() and array_merge_recursive() in php?
How do functions work?
What is a null coalescing operator in php7?
What is the php function that removes the last element of the array and returns it?
Explain me what is the use of header() function in php?
What are the differences between echo and print?
What are access specifiers?
Is php a case sensitive language?
Should I use mysqli or pdo?
What the difference between the 'bitwise and' operator and the 'logical and' operator?
Explain what does the function get_magic_quotes_gpc() means?
What kind of variable is age?
Tell me what does pear stands for?
Is it easy to learn wordpress?
What are the rules in creating php variable?