Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Closing tags in PureMVC files?  (Read 7626 times)
toby869
Newbie
*
Posts: 8


View Profile Email
« 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?
Logged
SasaT
Newbie
*
Posts: 7


View Profile Email
« Reply #1 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...
Logged
Pages: [1]
Print