fread replaced with readfile() for simple send() usecase
improved performance (the overhead of looping through file contents in PHP is avoided), and cleaner code ob_end_clean() is added in line with the php manual's recommendation, but only where $flush is true - to maintain CLI and test suite compatability
Loading
Please sign in to comment