okay guys so the code block below is highlighted wrong on purpose 😅
the comment loses its color at "My" because the highlighter thinks the SQL inside MySQL closes the heredoc. found it from @fil-on's heredoc question, fix is here: https://github.com/tempestphp/highlight/pull/243
php
$query = <<<SQL SELECT * FROM Book -- runs on MySQL and SQLite SQL;
GitHubfix: only end a PHP heredoc where its label starts a line by sulimanbenhalim · Pull Request #243 · tempestphp/highlighta heredoc ends at the first spot its label is followed by whitespace or ; or ) even mid-line so in $query = <<<SQL SELECT * FROM Book -- runs on MySQL and SQLite SQL; the sql stops...
commit d2049e6