Not highlighting PHP # comments and multi-line strings
-
I am not really sure if this is something unique only to me but I can’t seem to figure it out.
The syntaxhighlighter plugin does not seem to detect (and highlight) PHP comment lines that start with a #.
The plugin also does not seem to detect (and highlight) multi-line strings in PHP code examples… such as
<?php
$test = "aa bb cc dd
ee ff gg hh
ii jj kk";
?>
The topic ‘Not highlighting PHP # comments and multi-line strings’ is closed to new replies.