NYCPHP Meetup

NYPHP.org

[nycphp-talk] warning message on the php page

Daniel Convissor danielc at analysisandsolutions.com
Wed Feb 6 14:42:14 EST 2008


On Wed, Feb 06, 2008 at 10:59:56AM -0500, Dan Cech wrote:
> 
> There are many reasons for adding a comment at the end of the file, but 
> the single biggest one is to prevent the situation where some helpful 
> developer looks at the file and says "Hey, they forgot a closing ?> tag 
> here".

So, what's to keep them from adding the ?> after the comment or replacing 
the comment with it? :)

This kind of situation is what coding standards are for.  If someone 
can't follow them, fire them.  :)

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409



More information about the talk mailing list