What is the difference between the functions unlink and unset?

Answers were Sorted based on User's Feedback



What is the difference between the functions unlink and unset?..

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

What is the difference between the functions unlink and unset?..

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

What is the difference between the functions unlink and unset?..

Answer / ashwini ahire

Unlink : Deletes file from specified path

Unset : Destroys the varriable

Is This Answer Correct ?    1 Yes 0 No

What is the difference between the functions unlink and unset?..

Answer / rajat sharma

unlink() means that to delete the files
and
unset() destroys the specified variables.

Is This Answer Correct ?    2 Yes 2 No

What is the difference between the functions unlink and unset?..

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

What is the difference between the functions unlink and unset?..

Answer / rajat sharma

unlink() means that to delete the files
and
unset() destroys the specified variables.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More PHP Interview Questions

What is the difference between runtime exception and compile time exception?

0 Answers  


Which software is best for php?

0 Answers  


How to find datatype of variable in php?

0 Answers  


hello friend koi mujhe bata skta ke php easy way se aur jaldi kese seekh skte h...plz im waiting for ur answer..

2 Answers  


Define object-oriented methodology?

0 Answers  






Explain some of the php string functions?

0 Answers  


What is PHP's configuration file called?

0 Answers  


i have saved the password in encrypted format in database. now i want how to retrive the password in decrypted format.

6 Answers  


Explain me soundex() and metaphone()?

0 Answers  


how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini and set Also increase Memory_limit Post_max_size upload_max_filesize..........but not working......

0 Answers  


Is null function in php?

0 Answers  


programm for factorial

1 Answers  


Categories