<document pattern="^.*\.(php)$">

<item name="options" wrap="0"></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="operator" type="item" color="operator">[-=\+\*\/\|]</item>

<item name="bracket" type="item" color="brackets">[\(\)\[\]]</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>
