22.06.2015, 08:56
That is actually not recommended and also not necessary, at the end of the file. If you accidentally put some spaces or tabs behind the closing tag, the browser will consider that as "output" and will attempt to render it on screen. If you later include more PHP code that modifies header values, you will get nasty warnings about "headers already sent".