Actions
Bug #47828
closedShort PHP opening/closing Tags in temp_CACHED files cause errors
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-05-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The "temp_CACHED"-Files written into "typo3conf/" contain the content of a list of files. Closing PHP tags and long opening PHP tags
<?php ?>are stripped from these files.
However, I noticed that short PHP opening-/closing Tags
<?...?>are not stripped, but included for every included file.
This is absolutely unnesseccary and can also lead into problems.
Some developers begin to strip-off the closing-tags at the end of their PHP-Files to avoid writing blanks to the PHP-Output.
The blanks may lead to invalid xHTML (for the W3C Validator).
As the additional opening-/closing tags are just overload for the temp_CACHE files they should be simply stripped of except the first one. The closing-tag should also be stripped off.
Actions