highlightjs/highlight.js
Explain the difference between php and php-template in their comments
已關閉
#3,765 建立於 2023年4月25日
buggood first issuehelp welcomeparser
倉庫指標
- 星標
- (22,960 顆星)
- PR 合併指標
- (平均合併 6分鐘) (30 天內合併 2 個 PR)
描述
Both php and php-template only have the link to https://www.php.net in their header comments. How does one choose one over another?
- The discussion was here: https://github.com/highlightjs/highlight.js/issues/2330
And it is unclear how it ended.
I believe that those two languages should have a short comments in headers like
Choose this for any PHP code, with the opening tag or not.
or
Choose this for PHP code with a required opening tag.
(If I got the difference right.)