Loading…

Please explain the difference between unlink() and unset()?

unlink() : It is used to delete a file.

unset() : It is used to unset a file.

Example

                                        

unlink('headbar.php');
unset(&variable);

Suggest An Answer

No suggestions avaliable!

Latest post from PHP interview questions

Ask Question