View Full Version : What is the difference between the functions UNLINK and UNSET?
davidho
04-14-2016, 02:07 AM
What is the difference between the functions UNLINK and UNSET?
Alanah_Rae
04-14-2016, 01:55 PM
I also want to know about it. Anyone??
Erickwatson
04-15-2016, 09:25 PM
What is the difference between the functions UNLINK and UNSET?
hi davidho UNLINK is a funcation for file handling and unlink() is use to delete file and unset is () funcation for variable management.
learn2do
04-22-2016, 10:03 AM
In PHP, unlink() is acting as the drop operation which will completely delete files, where as, unset() is used to delete the file content for emptying it.
rashikasaxena
05-04-2016, 10:49 AM
Unlink is use to delete file
Unset is use for variable management.
bidaddy
05-09-2017, 04:15 AM
In PHP unlink() is a function for file system handling, unlink() is used to delete files. Suppose you have uploaded a file and wants to delete this file through the coding then unlink() function is used to delete the file. unset() is a function for variable management. It will make a variable undefined
Powered by vBulletin® Version 4.2.4 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.