ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Scripts >> PHP
 
 


 

 
 PHP interview questions  PHP Interview Questions (658)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (174)
 VB Script interview questions  VB Script Interview Questions (338)
 JSP interview questions  JSP Interview Questions (99)
 Shell Script interview questions  Shell Script Interview Questions (158)
 Python interview questions  Python Interview Questions (5)
 Tcl interview questions  Tcl Interview Questions (19)
 Awk interview questions  Awk Interview Questions (6)
 AJAX interview questions  AJAX Interview Questions (24)
 Ruby on Rails interview questions  Ruby on Rails Interview Questions (21)
 Scripts AllOther interview questions  Scripts AllOther Interview Questions (48)
Question
What is the difference between the functions unlink and unset?
 Question Submitted By :: PhpWizz
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 1
unlink-deletes the file
unset-unsets the variable
 
Is This Answer Correct ?    46 Yes 2 No
Umapathi
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 2
unlink() is used to delete a file
unset() is used to delete a variable
 
Is This Answer Correct ?    43 Yes 5 No
Kiran
 
 
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 3
Unlink() is a function for Delete the file.

unset is a function for delete the variable.
 
Is This Answer Correct ?    8 Yes 2 No
Jeyaprabhu
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 4
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
Manish Kumar
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 5
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
N.boopathi
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 6
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
Prahallada
 
  Re: What is the difference between the functions unlink and unset?
Answer
# 7
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
Pinky
 

 
 
 
Other PHP Interview Questions
 
  Question Asked @ Answers
 
How can I find the colour of a pixel of an image? Rushmore-Consultancy 2
What's the diff. between include() and Include_once(). Intrack 5
What is the difference between PHP,ASP and JSP? T3-Softwares 3
How can we find the number of rows in a result set using PHP?   2
Suppose your Zend engine supports the mode <? ?> Then how can u configure your PHP Zend engine to support <?PHP ?> mode ? Rushmore-Consultancy 1
For printing out strings, there are echo, print and printf. Explain the differences.   3
How can we register the variables into a Session? HCL 6
what method is used to get a user's IP address?   2
•How can we submit a form without a submit button   5
How can we convert the time zones using PHP?   1
What is the difference between the functions unlink and unset?   6
Difference between notify url, return url in paypal payment gateway? A1-Technology 3
 
For more PHP Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright © 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com