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 (659)
 ASP interview questions  ASP Interview Questions (251)
 CGI Perl interview questions  CGI Perl Interview Questions (76)
 JavaScript interview questions  JavaScript Interview Questions (175)
 VB Script interview questions  VB Script Interview Questions (343)
 JSP interview questions  JSP Interview Questions (100)
 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 :: PHP
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
unlink-deletes the file
unset-unsets the variable
 
Is This Answer Correct ?    46 Yes 2 No
Umapathi
 
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
 
 
 
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
 
Answer
# 4
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
 
Answer
# 5
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
 
Answer
# 6
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
 
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
 
hello experts good morning to everyone ! at present am now learning LAMP course sir( linux, apache,mysql and php) after finishing this course can i create my own website without investment is it possible ? please can any one tell sir and also tell me how can i upload my project after finishing the project in internet ? please tell the ways sir please send ur valuable suggestions to kiranpulsar2007@gmail.com   2
How to get the DNS servers of a domain name? Life-Infotech 1
I am a 2007 Passed out, Jobless for almost 2.6 years. I am preparing myself as a Php programmer. Will i get a job in Php and can any one guide me please. HCL 5
Write the code for upload a video file in PHP.How will You Play this in Your Page.? Convex-Digital 2
hello myself Atul saini completed mca in 2007 due to personal problem i cant do job.now i really search 4 a job.i dont know where i go i think simple think is learn php anyone help me wat i can do for a job. thanks   4
what is the maximum size of databasi in mysql?   4
1. Write a function to swap two values ? $a = 10; $b = 20; echo $a, $b; swap(); // If u want u can pass parameters echo $a, $b; // It should print 20 , 10 TCS 13
Difference among echo, print and printf.   1
What are the differences between PHP 3 and PHP 4 and PHP 5?   2
What are the reasons for selecting lamp (linux, apache, mysql, PHP) instead of combination of other software programmes, servers and operating systems?   3
How to add different images in php program like a job site.......   2
what is "mysql_pconnect", i know mysql_connect but what it is pconnect is their?   2
 
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