]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/php.micro
Merge pull request #447 from samdmarshall/objective-c-syntax
[micro.git] / runtime / syntax / php.micro
index 2ae7deb55d909f18d082542dc5dccfde2706213e..9208a6341aed096bc262f2c869216b8d95b2b8f8 100644 (file)
@@ -3,7 +3,7 @@ color default start="<\?(php|=)?" end="\?>"
 
 color special "([a-zA-Z0-9_-]+)\("
 
-color identifier "(var|class|goto|extends|function|echo|case|break|default|exit|switch|foreach|endforeach|while|const|static|extends|as|require|include|require_once|include_once|define|do|continue|declare|goto|print|in|interface|[E|e]xception|array|int|string|bool)[\s|\)]"
+color identifier "(var|class|goto|extends|function|echo|case|break|default|exit|switch|foreach|endforeach|while|const|static|extends|as|require|include|require_once|include_once|define|do|continue|declare|goto|print|in|trait|interface|[E|e]xception|array|int|string|bool|iterable|void)[\s|\)]"
 
 color identifier "[a-zA-Z\\]+::"
 
@@ -27,4 +27,4 @@ color default "[\(|\)|/|+|-|\*|\[|,|;]"
 color constant.string "('.*?'|\".*?\")"
 
 color comment start="/\*" end="\*/"
-color comment "(#.*|//.*)$"
\ No newline at end of file
+color comment "(#.*|//.*)$"