I\'ve come across a tutorial (reputable one if I may add) where the closing php tag ?> was omitted. This reminded me of a previous tutorial where the author
?>
In addition to the other great answers, I'd like to note that this practice is mainly used in files that contain only PHP code.
I always close the last tag while editing templates/views, so I don't have to when I add other content below that point.