*.php
*.php3
*.php4
*.phtml
comment
/\*
\*/
SYNTAX_ERROR
//[ \t]*TODO[ \t]*:
\n
\
comment
#
\n
comment
//
\n
\
doubleQuoteText
"
"
\
doubleQuoteText
'
'
keyword
[\$]+[a-zA-Z_][a-zA-Z0-9_]*
type
\@array|bool|boolean|double|float|int|integer|numeric|object|resource|string|unset\@
storageKeyword
\@abstract|and|as|break|case|catch|class|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|final|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|interface|isset|list|namespace|new|or|print|private|protected|public|require|require_once|return|static|switch|throw|trait|try|unset|use|var|while|xor\@
commonDefine
\@doubleval|floatval|gettype|intval|print_r|serialize|settype|strval|unserialize|var_dump|var_export\@
number
\@((0(x|X)[0-9a-fA-F]*)|(\d+\.?\d*|\.\d+)((e|E)(\+|\-)?\d+)?)(L|l|UL|ul|u|U|F|f)?\@
boolean
\@true|TRUE|false|FALSE\@
functionName
\@(\w|_)+[ \t]*\(
boolean
==|<=|>=|!=|<|>|&&|\{|\}|