Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Welcome, Guest. Please login or register.
April 29, 2017, 02:23:21 PM
Home Help Search Login Register
News: ATTENTION: Spambots must die! Humans must visit http://contact.futurescale.com to request forum access.
Pages: [1]
Print
Author Topic: Closing tags in PureMVC files?  (Read 2205 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: