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
PureMVC Architects Lounge
PureMVC Manifold
Port to PHP
Standard Version
(:
hasan
)
Closing tags in PureMVC files?
Pages: [
1
]
« previous
next »
Author
Topic: Closing tags in PureMVC files? (Read 4813 times)
toby869
Newbie
Posts: 8
Closing tags in PureMVC files?
«
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
Re: Closing tags in PureMVC files?
«
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
]
« previous
next »
Stack Overflow
GitHub
Linked In
Google Plus
Twitter
Powered by SMF 2.0.15
|
SMF © 2006-2007, Simple Machines LLC
|
Content © 2006-2018, Futurescale, Inc.
Loading...