I would like to suggest an enhancement to the handling of PHP's heredoc strings.
I suggest that the heredoc delimiter be used to identify the language of the embedded string, so that the appropriate syntax colouring rules can be applied, e.g.
$a = <<<HTML
<div>hi</div>
HTML;
$b = <<<SQL
SELECT * FROM users
SQL;
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to suggest an enhancement to the handling of PHP's heredoc strings.
I suggest that the heredoc delimiter be used to identify the language of the embedded string, so that the appropriate syntax colouring rules can be applied, e.g.
$a = <<<HTML
<div>hi</div>
HTML;
$b = <<<SQL
SELECT * FROM users
SQL;