What is the difference between the functions unlink and unset? zendnwar July 24, 2012 PHP Basic 0 Comments unlink() deletes the given file from the file system. unset() makes a variable undefined. Related Posts How to Transform a String from Multi-Line to Single-Line in PHP? zendnwar August 18, 2014 It is very simple. Just add below code. echo str_replace(array(“\r”,”\n” .. What are the different types of errors in php? zendnwar July 24, 2012 What are the different types of errors in php? Notices: These are trivial, non-critical errors ..