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

unlink-deletes the file
unset-unsets the variable

Is This Answer Correct ?    50 Yes 2 No

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

Answer / kiran

unlink() is used to delete a file
unset() is used to delete a variable

Is This Answer Correct ?    44 Yes 5 No

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

Answer / jeyaprabhu

Unlink() is a function for Delete the file.

unset is a function for delete the variable.

Is This Answer Correct ?    9 Yes 2 No

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

Answer / n.boopathi

UNLINK:unlink-deletes the file.

UNSET:Unset is function which is use the unset (destroys OR
delete) the
specified variable.

Is This Answer Correct ?    6 Yes 0 No

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

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

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

Answer / manish kumar

Unset is function which is use the unset (destroys) the
specified variable but unlink is also a function which is
used to deletes a file.

Is This Answer Correct ?    4 Yes 2 No

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

Answer / pinky

unlink is used to delete the file where as

unset is used to delete the variable and the content of file.

Is This Answer Correct ?    0 Yes 0 No

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

Answer / suprita pandey

Unlink() :-remove file from server.
unlink(' /path/file.phtml');

Unset() :-remove the variable.
unset($variableName);

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Tell me how can we define a variable accessible in functions of a php script?

0 Answers  


What types of Data Can Be Used as Array Keys?

0 Answers  


List out different arguments in PHP header function?

4 Answers  


how to open & closing opening period in fico

0 Answers   NS,


What does $_server means?

0 Answers  


How to create the PHP Script to Calculate the Age Using the Inputs Of our Birth date and the Current date?

6 Answers  


Explain what is the use of "echo" in php?

0 Answers  


How can we upload a php + mysql Site

1 Answers  


Tell me how can I display text with a php script?

0 Answers  


Is null function in php?

0 Answers  


What is difference between require_once(), require(), include()?

0 Answers  


What kind of variable is age?

0 Answers  


Categories