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

Define about declare construct?

1053


Write a program to get lcm of two numbers using php?

967


Explain me what is the goto statement useful for?

817


What are the difference between overloading and overriding in oops?

1031


in PHP for pdf which library used?

1018


Explain what is meant by pear in php?

1002


Explain about switch statement in PHP?

1025


Tell me how is it possible to return a value from a function?

1009


Is php faster than javascript?

947


What is php7?

1085


What is dao in php?

971


What is null value in php?

1049


Explain some of the php string functions?

978


Do you know design patterns. List few?

998


What does pear stand for?

954