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?

Answer Posted / prahallada

unlink() is a function for file system handling.
It will simply delete the file in context.


Unset () is used to destroy a variable in PHP. In can be
used to remove a single variable, multiple variables, or an
element from an array. It is phrased as Unset ($remove).
Also Known As: Unset Variable, Destroy Variable

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are new features in php 7?

1003


What are the difference between echo and print?

990


Are php sessions secure?

977


What are the differences between PHP3 and PHP4 and PHP5? what is the current stable version of PHP?

1115


Tell me how is it possible to propagate a session id?

1039


Explain some most commonly use string functions in php?

1017


How can we get ip address of a client in php?

967


Is PHP runs on different platforms (Windows, Linux, Unix, etc.)?

1049


Is null function in php?

1015


How could I install codeignitor ?

2219


What are magic methods?

954


What is the purpose of break and continue statement?

978


How are php sessions stored?

972


How to pass an argument to a function?

1224


Is php 7 backwards compatible?

1023