Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 / subrat

unlink: is used to delete a file
unset is used to destroy an eralier declared variable

Is This Answer Correct ?    31 Yes 1 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / ramse

Unset can be used for empty the value of variable or
contents of file but unlink destroy file.

Is This Answer Correct ?    12 Yes 2 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / kirti

Function Unlink is used for deleting a file.
Function Unset is used for variable as to unset the variable
and free d memory allocated.

Is This Answer Correct ?    6 Yes 1 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / adarsh katiyar

If you want delete some session data, you can use the
unset() or the session_destroy() function.

The unset() function is used to free the specified session
variable.

Is This Answer Correct ?    4 Yes 1 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / ramtej

UNLINK function is used to delete a file,
UNSET function is used to free the specified session variable

Is This Answer Correct ?    3 Yes 0 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / raju kumar

unlink used for delete file from directory and unset used
for destroy variable like session.

Is This Answer Correct ?    3 Yes 1 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / vineet sharma

unset() function is to destroy the temporary declared variable.
Unlink function is used to remove the link from the file

Is This Answer Correct ?    1 Yes 0 No

What is the difference between the functions UNLINK and UNSET? ..

Answer / ramthiraviya

unlink():: is a function for file system handling.it will
simply file in context
unset():: is a function for variable management.it will make
a variable undefined

Is This Answer Correct ?    4 Yes 5 No

Post New Answer

More PHP Interview Questions

coding for deleting items form data base on select

1 Answers  


How can we submit a form without a submit button?

23 Answers   ABC, HCL, Infosys, Kept Bug, Panys, Rushmore Consultancy, Torque Infotech, Wipro, zCon Solutions,


What is exception in php?

4 Answers  


What are the string functions in php?

0 Answers  


How to move uploaded files to permanent directory?

0 Answers  


For printing out strings, there are echo, print and printf. Explain the differences.

3 Answers  


Is laravel better than codeigniter?

0 Answers  


How can you tell if a number is even or odd without using any condition or loop?

0 Answers  


Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?

0 Answers  


Tell me how the result set of mysql be handled in php?

0 Answers  


How is php different from other languages?

0 Answers  


Write a query to to delete duplicate rows?

4 Answers   ATS,


Categories