1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
<document exts="php" langs="PHP">
<item name="options" wrap="0" xml_format="1">
</item>
<item name="keywords" type="keywords" color="keywords" fontstyle="bold">\b(\b(and|abstract|array|as|break|case|catch|cfunction|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|false|final|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|interface|isset|list|namespace|new|old_function|or|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|true|try|unset|use|var|while|xor)\b
</item>
<item name="variables" type="keywords" color="type" fontstyle="bold">
\$[A-Za-z_][0-9A-Za-z_]*\b
</item>
<item name="char" type="item" color="quotes">('[^']*')</item>
<item name="quotes" type="item" color="quotes">("[^\"]*")</item>
<item name="single comment" type="item" color="single comment" fontstyle="italic">//.*$</item>
<item name="cm_single" type="comment">//%s</item>
<item name="mcomment-start" type="mcomment-start" color="mcomment-start" fontstyle="italic">/\*</item>
<item name="mcomment-end" type="mcomment-end">\*/</item>
</document>
|