Home »

What is the difference between the functions unlink and unset?

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

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

alisataylore190 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