[
https://issues.apache.org/jira/browse/THRIFT-1636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Volodymyr Panivko resolved THRIFT-1636.
---------------------------------------
Assignee: Volodymyr Panivko
Resolution: Done
> Can we remove the closing tags from generated PHP sources?
> ----------------------------------------------------------
>
> Key: THRIFT-1636
> URL: https://issues.apache.org/jira/browse/THRIFT-1636
> Project: Thrift
> Issue Type: Improvement
> Components: PHP - Compiler
> Reporter: Mike Riley
> Assignee: Volodymyr Panivko
> Priority: Minor
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Closing PHP tags are unnecessary in virtually all environments and in many
> cases actually cause problems when not used properly. Right now we're
> generating the closing tags followed by a newline, if output buffering isn't
> running at the point that such a source is included, PHP will go ahead and
> print it.
> In my experience it's best to leave the closing PHP tags off of the end of
> sources, any objections to removing them here?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)