Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
June 27, 2017, 03:33:57 AM
Home Help Search Login Register
News: Please DM @puremvc on Twitter to gain forum access. Spambots are why we can't have nice things.
Pages: [1]
Print
Author Topic: Closing tags in PureMVC files?  (Read 2354 times)
toby869
Newbie
*
Posts: 8


View Profile
« on: July 26, 2011, 08:49:28 AM »

I noticed that the puremvc php files contain the closing tags.  Personally I leave them out of files that are pure php to avoid possible 'headers already sent' errors.  What are the maintainers thoughts on this?
Logged
SasaT
Newbie
*
Posts: 7


View Profile
« Reply #1 on: July 26, 2011, 10:53:55 AM »

You are correct, there is no reason to keep them if there is no output. I always omit them myself, but there's a lot of people who got used to the old way. I guess PHP's still got a lot of baggage...
Logged
Pages: [1]
Print
Jump to: