highlightjs/highlight.js

Explain the difference between php and php-template in their comments

Chiusa

#3765 aperta il 25 apr 2023

 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (3497 fork)batch import
buggood first issuehelp welcomeparser

Metriche repository

Star
 (22.960 stelle)
Metriche merge PR
 (Merge medio 6m) (2 PR mergiate in 30 g)

Descrizione

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?

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.)

Guida contributor