1 ## Here is an example for PHP
3 syntax "php" "\.php[2345s~]?$"
4 magic "PHP script text"
7 color brightgreen "(<\?(php)?|\?>)"
10 color white "\<[a-z_]*\("
13 color green "\<(var|float|global|double|bool|char|int|enum|const)\>"
16 color brightyellow "\<(class|new|private|public|function|for|foreach|if|while|do|else|elseif|case|default|switch)\>"
19 color magenta "\<(goto|continue|break|return)\>"
22 color brightyellow "<[^= ]*>" ""(\.|[^"])*""
25 color brightblue "//.*"
26 color brightblue start="/\*" end="\*/"
27 #color blue start="<" end=">"
28 #color red "&[^;[[:space:]]]*;"
30 ## Trailing whitespace
31 color ,green "[[:space:]]+$"