[TYPO3-50-general] CGL regarding php closing tag
Martin Kutschker
masi-no at spam-typo3.org
Tue Jun 9 22:12:54 CEST 2009
Karsten Dambekalns schrieb:
> Hi.
>
> On 09.06.2009 18:49 Uhr, Joerg Schoppet wrote:
>> Is there a special reason, why in the FLOW3 coding guidelines there is
>> the need to have the php closing tag "?>" ?
>
> We discussed that a while ago, so it's in there on purposer. Why?
> Because it makes clear that this is the intended end of the file. It's a
> clear message and clean style.
I feel the same.
>
>> I'm asking because there was just an error because of an empty line
>> after a closing tag in extbase.
>
> Funny, I personally *never* had such an issue, not even with foreign
> code. I stumbled over quote some short open tag problems, but never with
> trailing whitespace...
I have encountered this problem. Not really often, but it's annoying
when it happens.
Masi
More information about the TYPO3-project-5_0-general
mailing list