Quote Originally Posted by kuroi View Post
If the PHP interpreter reaches the end of a file with its tag state as open, it will close it automatically. So ?> at the end of a file are actually optional. I would argue that best practise would be to include a closing tag anyway, but the author of Image Handler always preferred to leave them off. So there's no surprise that there's not one here.
Indeed, this FAQ Entry shows that ?> end tags are beginning to disappear from Zen Cart's core code too and gives a good reason for this. Looks like I might need to review my perception of best practise!