public
|
string[]
|
$tokenClass = [
T_OPEN_TAG => self::PHP_TAG,
T_OPEN_TAG_WITH_ECHO => self::PHP_TAG,
T_CLOSE_TAG => self::PHP_TAG,
T_INCLUDE => self::PHP_KEYWORD,
T_INCLUDE_ONCE => self::PHP_KEYWORD,
T_REQUIRE => self::PHP_KEYWORD,
T_REQUIRE_ONCE => self::PHP_KEYWORD,
T_LOGICAL_OR => self::PHP_KEYWORD,
T_LOGICAL_XOR => self::PHP_KEYWORD,
T_LOGICAL_AND => self::PHP_KEYWORD,
T_PRINT => self::PHP_KEYWORD,
T_YIELD => self::PHP_KEYWORD,
T_YIELD_FROM => self::PHP_KEYWORD,
T_INSTANCEOF => self::PHP_KEYWORD,
T_NEW => self::PHP_KEYWORD,
T_CLONE => self::PHP_KEYWORD,
T_ELSEIF => self::PHP_KEYWORD,
T_ELSE => self::PHP_KEYWORD,
T_EVAL => self::PHP_KEYWORD,
T_EXIT => self::PHP_KEYWORD,
T_IF => self::PHP_KEYWORD,
T_ENDIF => self::PHP_KEYWORD,
T_ECHO => self::PHP_KEYWORD,
T_DO => self::PHP_KEYWORD,
T_WHILE => self::PHP_KEYWORD,
T_ENDWHILE => self::PHP_KEYWORD,
T_FOR => self::PHP_KEYWORD,
T_ENDFOR => self::PHP_KEYWORD,
T_FOREACH => self::PHP_KEYWORD,
T_ENDFOREACH => self::PHP_KEYWORD,
T_DECLARE => self::PHP_KEYWORD,
T_ENDDECLARE => self::PHP_KEYWORD,
T_AS => self::PHP_KEYWORD,
T_SWITCH => self::PHP_KEYWORD,
T_ENDSWITCH => self::PHP_KEYWORD,
T_CASE => self::PHP_KEYWORD,
T_DEFAULT => self::PHP_KEYWORD,
T_BREAK => self::PHP_KEYWORD,
T_CONTINUE => self::PHP_KEYWORD,
T_GOTO => self::PHP_KEYWORD,
T_FUNCTION => self::PHP_KEYWORD,
T_FN => self::PHP_KEYWORD,
T_CONST => self::PHP_KEYWORD,
T_RETURN => self::PHP_KEYWORD,
T_CATCH => self::PHP_KEYWORD,
T_TRY => self::PHP_KEYWORD,
T_FINALLY => self::PHP_KEYWORD,
T_THROW => self::PHP_KEYWORD,
T_USE => self::PHP_KEYWORD,
T_INSTEADOF => self::PHP_KEYWORD,
T_GLOBAL => self::PHP_KEYWORD,
T_STATIC => self::PHP_KEYWORD,
T_ABSTRACT => self::PHP_KEYWORD,
T_FINAL => self::PHP_KEYWORD,
T_PRIVATE => self::PHP_KEYWORD,
T_PROTECTED => self::PHP_KEYWORD,
T_PUBLIC => self::PHP_KEYWORD,
T_VAR => self::PHP_KEYWORD,
T_UNSET => self::PHP_KEYWORD,
T_ISSET => self::PHP_KEYWORD,
T_EMPTY => self::PHP_KEYWORD,
T_HALT_COMPILER => self::PHP_KEYWORD,
T_CLASS => self::PHP_KEYWORD,
T_TRAIT => self::PHP_KEYWORD,
T_INTERFACE => self::PHP_KEYWORD,
T_EXTENDS => self::PHP_KEYWORD,
T_IMPLEMENTS => self::PHP_KEYWORD,
T_LIST => self::PHP_KEYWORD,
T_ARRAY => self::PHP_KEYWORD,
T_NAMESPACE => self::PHP_KEYWORD,
T_ENUM => self::PHP_KEYWORD,
T_READONLY => self::PHP_KEYWORD,
T_MATCH => self::PHP_KEYWORD,
T_LNUMBER => self::PHP_NUMBER,
T_DNUMBER => self::PHP_NUMBER,
T_CONSTANT_ENCAPSED_STRING => self::PHP_STRING,
T_ENCAPSED_AND_WHITESPACE => self::PHP_STRING,
T_VARIABLE => self::PHP_VARIABLE,
T_COMMENT => self::PHP_COMMENT,
T_DOC_COMMENT => self::PHP_COMMENT,
]
|
#
|