What is the difference between the functions unlink and unset?
Answers were Sorted based on User's Feedback
Answer / rajan vardawaj
unlink() is a function for file system handling. It will
simply delete the file in context. unset() is a function for
variable management. It will make a variable undefined.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / shilpa yogesh agrawal
The function unlink() is to remove a file, where as unset()
is used for destroying a variable that was declared earlier.
unset() empties a variable or contents of file.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ashwini ahire
Unlink : Deletes file from specified path
Unset : Destroys the varriable
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / rajat sharma
unlink() means that to delete the files
and
unset() destroys the specified variables.
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / jitendra k jain
unlink is a function to delete a file from specified location where as unset() is a function that will distroy memory allocated to that variable. it means it will remove variable from memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajat sharma
unlink() means that to delete the files
and
unset() destroys the specified variables.
| Is This Answer Correct ? | 0 Yes | 1 No |
Define soundex()?
Write down the benefits of php7?
hi sir am kiran kumar finished my mca 2009 passed out sir .. i have more doubts regarding open source technologies sir if we pass zend exam in php can we get a job opportunity in foreign countries sir and is it good demand for php compared to dot net and java and some other technologies like sap , erp sir bcoz my friends saying they are finished dot net and java courses they telling in php we cannot earn more and we cannot go onsite opportunity even big companies not dealing with php is it right ah sir ? please send ur valuable suggestions to my email sir kiranpulsar2007@gmail.com please send ur phone number also sir thanking u sir
Tell me how can we determine whether a variable is set?
What is an operator in php?
Who is the father of PHP and explain the changes in PHP versions?
15 Answers ADISoft Tech, Genpact, PropTiger, TWA,
What are the functions for imap?
Tell me how is it possible to know the number of rows returned in result set?
Is php class name case sensitive?
Which function is used in php to search a particular value in an array?
Tell me how is it possible to return a value from a function?
How to take a substring from a given string?