[FLOW3-general] PHP Parse error: syntax error, unexpected $end

Marcus 'biesior' Biesioroff vsbies at wp.pl
Fri Mar 18 15:03:05 CET 2011


ellou' List!

I can confirm Regine's problem with files generated by compiler
http://forge.typo3.org/issues/13796

What happens:
'./flow3 compile' command creates perfectly valid files, but without PHP 
closing tag ?> (which is valid as well). Omitting closing tag is the 
reason... but... I've no idea why...

I used regexp search & replace function of my IDE to insert the tag and 
after that operation it ran, I think that's fastest way to fix it is 
change compiler behaviour to insert this tag by default...

However I'm wondering why it doesn't work as omitting closing tag is 
fully allowed and even preferred way to ending the scripts, maybe 
something about php.ini ? any ideas?




-- 
Marcus 'biesior' Biesioroff
http://www.typo3.pl | TYPO3 Polish Community
T3CI


More information about the FLOW3-general mailing list