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

How is session data stored?

0 Answers  


I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?

0 Answers  


What is the difference between the include() and require() functions?

0 Answers  


Which is better session or cookie?

0 Answers  


List functions available to sort an php array?

0 Answers  


What is php and its advantages?

0 Answers  


Explain some of the php array functions?

0 Answers  


What are the differences between public, private, protected, static, transient, final and volatile?

3 Answers  


What type of operation is needed when passing values through a form or an url?

0 Answers  


Whether it is possible to share a single instance of a memcache between multiple php projects?

0 Answers  


How can we change the maximum size of the files to be uploaded?

0 Answers  


Which of the following represents the proper way to set a session variable? Answer: a. $_SESSION['foo'] = 'bar'; b. session_start(); c. session_set_save_handler ('myopen', 'myclose', 'myread', 'mywrite', 'mydelete', 'mygarbage'); d. $foo = $_SESSION['foo']; 2.When administering MySQL, you should make the data directory accessible via the operating system 3.which statement can be used to determine how the optimizer resolves a query

9 Answers   Cybercom, TCS,


Categories