Home »

What is the difference between the functions unlink and unset?

Question ListCategory: PHPWhat is the difference between the functions unlink and unset?
adamemliy16 author asked 10 years ago
2 Answers
denielshakespeare5 author answered 8 years ago

unlink() deletes the given file from the file system.unset() makes a variable undefined.

jamessmith05 author answered 8 years ago

unlink: delete the files from Server.unset: delete the variable name and data from memory.

Please login or Register to Submit Answer