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 move_uploaded_file in php?
What is the purpose of constant() function?
Are there regular expressions in php?
What are the 5 types of variables?
Inside a php function, what param needs to be set in order to access a global variable?
What is foreach loop in php?
Which function Returns the time of sunrise for a given day / location in PHP.
Is nan in javascript?
Which will check if a function exists?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
Can I include php in javascript?
Do you know when sessions ends?
What are the disadvantages of php?
What are the ways to define a constant in php?
What is the difference between php and java?