I was amazed at the response to my recent article, Should You Close Your PHP Code Tags? I didn’t think it would be controversial or cause so much debate among developers!
To recap, closing PHP tags (?>) are entirely optional if you’re coding a PHP-only file and there’s no intermingled html.
Files containing single class definitions are good candidates.

We’ve written a lot about