PureMVC Architects Lounge

PureMVC Manifold => Standard Version => Topic started by: toby869 on July 26, 2011, 08:49:28



Title: Closing tags in PureMVC files?
Post by: toby869 on July 26, 2011, 08:49:28
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?


Title: Re: Closing tags in PureMVC files?
Post by: SasaT on July 26, 2011, 10:53:55
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...