annotate runtime/syntax/php.vim @ 33392:3d3d0492824e

Added tag v9.0.1954 for changeset 6d326000432329e86e9f286f165871bbc9e82b73
author Christian Brabandt <cb@256bit.org>
date Fri, 29 Sep 2023 20:00:07 +0200
parents 65de67669df3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
2 " Language: php PHP 3/4/5/7/8
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
3 " Maintainer: Tyson Andre <tysonandre775@hotmail.com>
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
4 " Last Change: Sep 18, 2021
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
5 " URL: https://github.com/TysonAndre/php-vim-syntax
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
6 " Former Maintainers:
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
7 " Jason Woofenden <jason@jasonwoof.com>
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
8 " Peter Hodge <toomuchphp-vim@yahoo.com>
2826
3c7da93eb7f9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1620
diff changeset
9 " Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
10 "
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
11 " Note: If you are using a colour terminal with dark background, you will
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
12 " probably find the 'elflord' colorscheme is much better for PHP's syntax
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
13 " than the default colourscheme, because elflord's colours will better
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
14 " highlight the break-points (Statements) in your code.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 "
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
16 " Note: This embeds a modified copy of the html.vim with (mostly) different symbols,
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
17 " in order to implement php_htmlInStrings=2 can work as expected and correctly parse
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
18 " `<?php $phpStartTag = '<?php';`.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
19 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
20 " Credits for the original version of html.vim prior to modifications
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
21 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
22 " Previous Maintainer Jorge Maldonado Ventura <jorgesumle@freakspot.net>
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
23 " Previous Maintainer Claudio Fleiner <claudio@fleiner.com>
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
24 " Repository https://notabug.org/jorgesumle/vim-html-syntax
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
25 " Last Change 2021 Mar 02
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
26 " Included patch #7900 to fix comments
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
27 " Included patch #7916 to fix a few more things
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
28 "
11407
cc5253681167 Runtime file updates
Christian Brabandt <cb@256bit.org>
parents: 10498
diff changeset
29 " Options:
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
30 " Set to anything to enable:
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
31 " php_sql_query SQL syntax highlighting inside strings
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
32 " php_htmlInStrings HTML syntax highlighting inside strings
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
33 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
34 " By setting this to 2, this will use a local copy of
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
35 " HTML syntax highlighting instead of the official
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
36 " HTML syntax highlighting, and properly highlight
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
37 " `<?php $startTag = '<?php';`.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
38 " This may become the new default in the future.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
39 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
40 " By setting this to 3 (or any unrecognized value),
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
41 " this will use the official installed top level html syntax highlighting rules.
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
42 " php_baselib highlighting baselib functions
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
43 " php_asp_tags highlighting ASP-style short tags
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
44 " php_parent_error_close highlighting parent error ] or )
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
45 " php_parent_error_open skipping an php end tag, if there exists
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
46 " an open ( or [ without a closing one
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
47 " php_oldStyle use old colorstyle
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
48 " php_noShortTags don't sync <? ?> as php
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
49 " Set to a specific value:
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
50 " php_folding = 1 fold classes and functions
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
51 " php_folding = 2 fold all { } regions
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
52 " php_sync_method = x where x is an integer:
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
53 " -1 sync by search ( default )
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
54 " >0 sync at least x lines backwards
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
55 " 0 sync from start
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
56 " Set to 0 to _disable_: (Added by Peter Hodge On June 9, 2006)
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
57 " php_special_functions = 0 highlight functions with abnormal behaviour
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
58 " php_alt_comparisons = 0 comparison operators in an alternate colour
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
59 " php_alt_assignByReference = 0 '= &' in an alternate colour
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
60 "
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
61 "
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
62 " Note:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 " Setting php_folding=1 will match a closing } by comparing the indent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 " before the class or function keyword with the indent of a matching }.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 " Setting php_folding=2 will match all of pairs of {,} ( see known
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 " bugs ii )
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
68 " Known Bugs:
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
69 " - setting php_parent_error_close on and php_parent_error_open off
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
70 " has these two leaks:
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
71 " i) A closing ) or ] inside a string match to the last open ( or [
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
72 " before the string, when the the closing ) or ] is on the same line
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
73 " where the string started. In this case a following ) or ] after
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
74 " the string would be highlighted as an error, what is incorrect.
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
75 " ii) Same problem if you are setting php_folding = 2 with a closing
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
76 " } inside an string on the first line of this string.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
78 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
79 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 if !exists("main_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84 let main_syntax = 'php'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
87 " Start of copy of html for embedding in strings with {{{
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
88 " This is a clone of https://notabug.org/jorgesumle/vim-html-syntax
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
89 " from 2021 Mar 02 with changed symbols and modifications to rules. See the Note in the file header.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
90 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
91 " The default behavior of php_htmlInStrings causes a bug
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
92 " when you're working with code that contains the string literal `'<?php'`.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
93 " E.g. code that reads php files or generates the contents of php files or
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
94 " generates snippets to `eval()`.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
95 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
96 " When php_htmlInStrings was set to any value,
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
97 " it would cause the html syntax rules to be embedded inside of the string
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
98 " contents.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
99 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
100 " However, php.vim extends html.vim by allowing the php start tag to be
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
101 " included, meaning that this is parsed as `<?php';`, i.e. the start of a
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
102 " new string literal.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
103 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
104 " Work around that by using a different set of rules that don't allow
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
105 " embedding php in most places (phpInnerHtmlPreProc).
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
106 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
107 " The default behavior may be changed to this in the future for constants other
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
108 " than 2 or 3 if there are no issues.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
109 "
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
110 " Many, but not all syntax rules were changed from html* to phpInnerHtml*
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
111 if exists("php_htmlInStrings") && php_htmlInStrings==2
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
112 " mark illegal characters
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
113 syn match phpInnerHtmlError contained "[<>&]"
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
114
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
115 " tags
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
116 syn region phpInnerHtmlString contained start=+"+ end=+"+ contains=phpInnerHtmlSpecialChar,javaScriptExpression,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
117 syn region phpInnerHtmlString contained start=+'+ end=+'+ contains=phpInnerHtmlSpecialChar,javaScriptExpression,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
118 syn match phpInnerHtmlValue contained "=[\t ]*[^'" \t>][^ \t>]*"hs=s+1 contains=javaScriptExpression,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
119 syn region phpInnerHtmlEndTag contained start=+</+ end=+>+ contains=phpInnerHtmlTagN,phpInnerHtmlTagError
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
120 syn region phpInnerHtmlTag contained start=+<[^/]+ end=+>+ fold contains=phpInnerHtmlTagN,phpInnerHtmlString,htmlArg,phpInnerHtmlValue,phpInnerHtmlTagError,phpInnerHtmlEvent,phpInnerHtmlCssDefinition,@phpInnerHtmlPreproc,@phpInnerHtmlArgCluster
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
121 syn match phpInnerHtmlTagN contained +<\s*[-a-zA-Z0-9]\++hs=s+1 contains=htmlTagName,htmlSpecialTagName,@phpInnerHtmlTagNameCluster
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
122 syn match phpInnerHtmlTagN contained +</\s*[-a-zA-Z0-9]\++hs=s+2 contains=htmlTagName,htmlSpecialTagName,@phpInnerHtmlTagNameCluster
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
123 syn match phpInnerHtmlTagError contained "[^>]<"ms=s+1
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
124
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
125
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
126 " special characters
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
127 syn match phpInnerHtmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};"
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
128
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
129 " Comments (the real ones or the old netscape ones)
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
130 if exists("html_wrong_comments")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
131 syn region phpInnerHtmlComment start=+<!--+ end=+--\s*>+ contains=@Spell
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
132 else
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
133 " The HTML 5.2 syntax 8.2.4.41: bogus comment is parser error; browser skips until next &gt
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
134 syn region phpInnerHtmlComment start=+<!+ end=+>+ contains=phpInnerHtmlCommentError keepend
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
135 " Idem 8.2.4.42,51: Comment starts with <!-- and ends with -->
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
136 " Idem 8.2.4.43,44: Except <!--> and <!---> are parser errors
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
137 " Idem 8.2.4.52: dash-dash-bang (--!>) is error ignored by parser, also closes comment
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
138 syn region phpInnerHtmlComment matchgroup=phpInnerHtmlComment start=+<!--\%(-\?>\)\@!+ end=+--!\?>+ contains=phpInnerHtmlCommentNested,@phpInnerHtmlPreProc,@Spell keepend
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
139 " Idem 8.2.4.49: nested comment is parser error, except <!--> is all right
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
140 syn match phpInnerHtmlCommentNested contained "<!-->\@!"
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
141 syn match phpInnerHtmlCommentError contained "[^><!]"
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
142 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
143 syn region phpInnerHtmlComment start=+<!DOCTYPE+ end=+>+ keepend
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
144
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
145 " server-parsed commands
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
146 syn region phpInnerHtmlPreProc start=+<!--#+ end=+-->+ contains=phpInnerHtmlPreStmt,phpInnerHtmlPreError,phpInnerHtmlPreAttr
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
147 syn match phpInnerHtmlPreStmt contained "<!--#\(config\|echo\|exec\|fsize\|flastmod\|include\|printenv\|set\|if\|elif\|else\|endif\|geoguide\)\>"
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
148 syn match phpInnerHtmlPreError contained "<!--#\S*"ms=s+4
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
149 syn match phpInnerHtmlPreAttr contained "\w\+=[^"]\S\+" contains=phpInnerHtmlPreProcAttrError,phpInnerHtmlPreProcAttrName
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
150 syn region phpInnerHtmlPreAttr contained start=+\w\+="+ skip=+\\\\\|\\"+ end=+"+ contains=phpInnerHtmlPreProcAttrName keepend
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
151 syn match phpInnerHtmlPreProcAttrError contained "\w\+="he=e-1
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
152 syn match phpInnerHtmlPreProcAttrName contained "\(expr\|errmsg\|sizefmt\|timefmt\|var\|cgi\|cmd\|file\|virtual\|value\)="he=e-1
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
153
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
154 if !exists("html_no_rendering")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
155 " rendering
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
156 syn cluster phpInnerHtmlTop contains=@Spell,phpInnerHtmlTag,phpInnerHtmlEndTag,phpInnerHtmlSpecialChar,phpInnerHtmlPreProc,phpInnerHtmlComment,phpInnerHtmlLink,javaScript,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
157
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
158 syn region phpInnerHtmlStrike start="<del\>" end="</del\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
159 syn region phpInnerHtmlStrike start="<strike\>" end="</strike\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
160
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
161 syn region phpInnerHtmlBold start="<b\>" end="</b\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldUnderline,phpInnerHtmlBoldItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
162 syn region phpInnerHtmlBold start="<strong\>" end="</strong\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldUnderline,phpInnerHtmlBoldItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
163 syn region phpInnerHtmlBoldUnderline contained start="<u\>" end="</u\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
164 syn region phpInnerHtmlBoldItalic contained start="<i\>" end="</i\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldItalicUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
165 syn region phpInnerHtmlBoldItalic contained start="<em\>" end="</em\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldItalicUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
166 syn region phpInnerHtmlBoldUnderlineItalic contained start="<i\>" end="</i\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
167 syn region phpInnerHtmlBoldUnderlineItalic contained start="<em\>" end="</em\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
168 syn region phpInnerHtmlBoldItalicUnderline contained start="<u\>" end="</u\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
169
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
170 syn region phpInnerHtmlUnderline start="<u\>" end="</u\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlUnderlineBold,phpInnerHtmlUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
171 syn region phpInnerHtmlUnderlineBold contained start="<b\>" end="</b\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlUnderlineBoldItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
172 syn region phpInnerHtmlUnderlineBold contained start="<strong\>" end="</strong\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlUnderlineBoldItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
173 syn region phpInnerHtmlUnderlineItalic contained start="<i\>" end="</i\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlUnderlineItalicBold
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
174 syn region phpInnerHtmlUnderlineItalic contained start="<em\>" end="</em\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlUnderlineItalicBold
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
175 syn region phpInnerHtmlUnderlineItalicBold contained start="<b\>" end="</b\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
176 syn region phpInnerHtmlUnderlineItalicBold contained start="<strong\>" end="</strong\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
177 syn region phpInnerHtmlUnderlineBoldItalic contained start="<i\>" end="</i\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
178 syn region phpInnerHtmlUnderlineBoldItalic contained start="<em\>" end="</em\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
179
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
180 syn region phpInnerHtmlItalic start="<i\>" end="</i\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlItalicBold,phpInnerHtmlItalicUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
181 syn region phpInnerHtmlItalic start="<em\>" end="</em\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
182 syn region phpInnerHtmlItalicBold contained start="<b\>" end="</b\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlItalicBoldUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
183 syn region phpInnerHtmlItalicBold contained start="<strong\>" end="</strong\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlItalicBoldUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
184 syn region phpInnerHtmlItalicBoldUnderline contained start="<u\>" end="</u\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
185 syn region phpInnerHtmlItalicUnderline contained start="<u\>" end="</u\_s*>"me=s-1 contains=@phpInnerHtmlTop,phpInnerHtmlItalicUnderlineBold
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
186 syn region phpInnerHtmlItalicUnderlineBold contained start="<b\>" end="</b\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
187 syn region phpInnerHtmlItalicUnderlineBold contained start="<strong\>" end="</strong\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
188
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
189 syn match phpInnerHtmlLeadingSpace "^\s\+" contained
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
190 syn region phpInnerHtmlLink start="<a\>\_[^>]*\<href\>" end="</a\_s*>"me=s-1 contains=@Spell,phpInnerHtmlTag,phpInnerHtmlEndTag,phpInnerHtmlSpecialChar,phpInnerHtmlPreProc,phpInnerHtmlComment,phpInnerHtmlLeadingSpace,phpInnerJavaScript,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
191 syn region phpInnerHtmlH1 start="<h1\>" end="</h1\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
192 syn region phpInnerHtmlH2 start="<h2\>" end="</h2\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
193 syn region phpInnerHtmlH3 start="<h3\>" end="</h3\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
194 syn region phpInnerHtmlH4 start="<h4\>" end="</h4\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
195 syn region phpInnerHtmlH5 start="<h5\>" end="</h5\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
196 syn region phpInnerHtmlH6 start="<h6\>" end="</h6\_s*>"me=s-1 contains=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
197 syn region phpInnerHtmlHead start="<head\>" end="</head\_s*>"me=s-1 end="<body\>"me=s-1 end="<h[1-6]\>"me=s-1 contains=phpInnerHtmlTag,phpInnerHtmlEndTag,phpInnerHtmlSpecialChar,phpInnerHtmlPreProc,phpInnerHtmlComment,phpInnerHtmlLink,phpInnerHtmlTitle,phpInnerJavaScript,phpInnerCssStyle,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
198 syn region phpInnerHtmlTitle start="<title\>" end="</title\_s*>"me=s-1 contains=phpInnerHtmlTag,phpInnerHtmlEndTag,phpInnerHtmlSpecialChar,phpInnerHtmlPreProc,phpInnerHtmlComment,phpInnerJavaScript,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
199 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
200
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
201 if main_syntax != 'java' || exists("javascript")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
202 " JAVA SCRIPT
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
203 " For example, $phpVar = '<img onload="foo()" />';
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
204 syn include @phpInnerHtmlJavaScript syntax/javascript.vim
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
205 unlet b:current_syntax
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
206 syn region phpInnerHtmlScriptTag contained start=+<script+ end=+>+ fold contains=phpInnerHtmlTagN,phpInnerHtmlString,phpInnerHtmlArg,phpInnerHtmlValue,phpInnerHtmlTagError,phpInnerHtmlEvent
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
207 hi def link phpInnerHtmlScriptTag phpInnerHtmlTag
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
208
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
209 " phpInnerHtml events (i.e. arguments that include phpInnerJavascript commands)
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
210 if exists("html_extended_events")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
211 syn region phpInnerHtmlEvent contained start=+\<on\a\+\s*=[\t ]*'+ end=+'+ contains=phpInnerHtmlEventSQ
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
212 syn region phpInnerHtmlEvent contained start=+\<on\a\+\s*=[\t ]*"+ end=+"+ contains=phpInnerHtmlEventDQ
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
213 else
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
214 syn region phpInnerHtmlEvent contained start=+\<on\a\+\s*=[\t ]*'+ end=+'+ keepend contains=phpInnerHtmlEventSQ
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
215 syn region phpInnerHtmlEvent contained start=+\<on\a\+\s*=[\t ]*"+ end=+"+ keepend contains=phpInnerHtmlEventDQ
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
216 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
217 syn region phpInnerHtmlEventSQ contained start=+'+ms=s+1 end=+'+me=s-1 contains=@phpInnerHtmlJavaScript
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
218 syn region phpInnerHtmlEventDQ contained start=+"+ms=s+1 end=+"+me=s-1 contains=@phpInnerHtmlJavaScript
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
219 hi def link phpInnerHtmlEventSQ phpInnerHtmlEvent
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
220 hi def link phpInnerHtmlEventDQ phpInnerHtmlEvent
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
221
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
222 " a phpInnerJavascript expression is used as an arg value
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
223 " syn region phpInnerJavaScriptExpression contained start=+&{+ keepend end=+};+ contains=@phpInnerHtmlJavaScript,@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
224 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
225
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
226 syn cluster phpInnerHtmlJavaScript add=@phpInnerHtmlPreproc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
227
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
228 " The default highlighting.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
229 " NOTE: For now, this deliberately copies the definitions from html rather than link
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
230 " to the corresponding html tag name. If html is refactored to rename any
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
231 " keywords then html highlighting would unexpectedly be cleared.
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
232 hi def link phpInnerHtmlTag Function
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
233 hi def link phpInnerHtmlEndTag Identifier
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
234 hi def link phpInnerHtmlArg Type
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
235 hi def link phpInnerHtmlValue String
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
236 hi def link phpInnerHtmlSpecialChar Special
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
237
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
238 if !exists("html_no_rendering")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
239 hi def link phpInnerHtmlH1 Title
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
240 hi def link phpInnerHtmlH2 phpInnerHtmlH1
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
241 hi def link phpInnerHtmlH3 phpInnerHtmlH2
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
242 hi def link phpInnerHtmlH4 phpInnerHtmlH3
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
243 hi def link phpInnerHtmlH5 phpInnerHtmlH4
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
244 hi def link phpInnerHtmlH6 phpInnerHtmlH5
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
245 hi def link phpInnerHtmlHead PreProc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
246 hi def link phpInnerHtmlTitle Title
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
247 hi def link phpInnerHtmlBoldItalicUnderline phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
248 hi def link phpInnerHtmlUnderlineBold phpInnerHtmlBoldUnderline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
249 hi def link phpInnerHtmlUnderlineItalicBold phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
250 hi def link phpInnerHtmlUnderlineBoldItalic phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
251 hi def link phpInnerHtmlItalicUnderline phpInnerHtmlUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
252 hi def link phpInnerHtmlItalicBold phpInnerHtmlBoldItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
253 hi def link phpInnerHtmlItalicBoldUnderline phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
254 hi def link phpInnerHtmlItalicUnderlineBold phpInnerHtmlBoldUnderlineItalic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
255 hi def link phpInnerHtmlLink Underlined
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
256 hi def link phpInnerHtmlLeadingSpace None
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
257 if !exists("html_my_rendering")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
258 hi def phpInnerHtmlBold term=bold cterm=bold gui=bold
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
259 hi def phpInnerHtmlBoldUnderline term=bold,underline cterm=bold,underline gui=bold,underline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
260 hi def phpInnerHtmlBoldItalic term=bold,italic cterm=bold,italic gui=bold,italic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
261 hi def phpInnerHtmlBoldUnderlineItalic term=bold,italic,underline cterm=bold,italic,underline gui=bold,italic,underline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
262 hi def phpInnerHtmlUnderline term=underline cterm=underline gui=underline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
263 hi def phpInnerHtmlUnderlineItalic term=italic,underline cterm=italic,underline gui=italic,underline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
264 hi def phpInnerHtmlItalic term=italic cterm=italic gui=italic
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
265 if v:version > 800 || v:version == 800 && has("patch1038")
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
266 hi def phpInnerHtmlStrike term=strikethrough cterm=strikethrough gui=strikethrough
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
267 else
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
268 hi def phpInnerHtmlStrike term=underline cterm=underline gui=underline
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
269 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
270 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
271 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
272
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
273 hi def link phpInnerHtmlPreStmt PreProc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
274 hi def link phpInnerHtmlPreError Error
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
275 hi def link phpInnerHtmlPreProc PreProc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
276 hi def link phpInnerHtmlPreAttr String
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
277 hi def link phpInnerHtmlPreProcAttrName PreProc
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
278 hi def link phpInnerHtmlPreProcAttrError Error
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
279 hi def link phpInnerHtmlString String
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
280 hi def link phpInnerHtmlStatement Statement
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
281 hi def link phpInnerHtmlComment Comment
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
282 hi def link phpInnerHtmlCommentNested phpInnerHtmlError
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
283 hi def link phpInnerHtmlCommentError phpInnerHtmlError
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
284 hi def link phpInnerHtmlTagError phpInnerHtmlError
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
285 hi def link phpInnerHtmlEvent phpInnerJavaScript
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
286 hi def link phpInnerHtmlError Error
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
287
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
288 hi def link phpInnerJavaScript Special
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
289 hi def link phpInnerJavaScriptExpression phpInnerJavaScript
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
290 hi def link phpInnerHtmlCssStyleComment Comment
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
291 hi def link phpInnerHtmlCssDefinition Special
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
292 endif
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
293
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
294
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
295 runtime! syntax/html.vim
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
296 unlet b:current_syntax
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 " accept old options
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 if !exists("php_sync_method")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
300 if exists("php_minlines")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 let php_sync_method=php_minlines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
303 let php_sync_method=-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
304 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
305 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
306
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
307 if exists("php_parentError") && !exists("php_parent_error_open") && !exists("php_parent_error_close")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308 let php_parent_error_close=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 let php_parent_error_open=1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
312 " End of copy of html syntax for embedding in php strings }}}
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
313
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 syn cluster htmlPreproc add=phpRegion,phpRegionAsp,phpRegionSc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
316 syn include @sqlTop syntax/sql.vim
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 syn sync clear
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 unlet b:current_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 syn cluster sqlTop remove=sqlString,sqlComment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 if exists( "php_sql_query")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 syn cluster phpAddStrings contains=@sqlTop
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
322 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 if exists( "php_htmlInStrings")
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
325 if php_htmlInStrings==2
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
326 syn cluster phpAddStrings add=@phpInnerHtmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
327 else
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
328 syn cluster phpAddStrings add=@htmlTop
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
329 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
332 " make sure we can use \ at the beginning of the line to do a continuation
3153
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
333 let s:cpo_save = &cpo
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
334 set cpo&vim
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
335
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 " Env Variables
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
339 syn keyword phpEnvVar GATEWAY_INTERFACE SERVER_NAME SERVER_SOFTWARE SERVER_PROTOCOL REQUEST_METHOD QUERY_STRING DOCUMENT_ROOT HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ENCODING HTTP_ACCEPT_LANGUAGE HTTP_CONNECTION HTTP_HOST HTTP_REFERER HTTP_USER_AGENT REMOTE_ADDR REMOTE_PORT SCRIPT_FILENAME SERVER_ADMIN SERVER_PORT SERVER_SIGNATURE PATH_TRANSLATED SCRIPT_NAME REQUEST_URI contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 " Internal Variables
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
342 syn keyword phpIntVar GLOBALS PHP_ERRMSG PHP_SELF HTTP_GET_VARS HTTP_POST_VARS HTTP_COOKIE_VARS HTTP_POST_FILES HTTP_ENV_VARS HTTP_SERVER_VARS HTTP_SESSION_VARS HTTP_RAW_POST_DATA HTTP_STATE_VARS _GET _POST _COOKIE _FILES _SERVER _ENV _SERVER _REQUEST _SESSION contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 " Constants
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5340
diff changeset
345 syn keyword phpCoreConstant PHP_VERSION PHP_OS DEFAULT_INCLUDE_PATH PEAR_INSTALL_DIR PEAR_EXTENSION_DIR PHP_EXTENSION_DIR PHP_BINDIR PHP_LIBDIR PHP_DATADIR PHP_SYSCONFDIR PHP_LOCALSTATEDIR PHP_CONFIG_FILE_PATH PHP_OUTPUT_HANDLER_START PHP_OUTPUT_HANDLER_CONT PHP_OUTPUT_HANDLER_END contained
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5340
diff changeset
346
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5340
diff changeset
347 " Predefined constants
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
348 " Generated by: curl -q https://www.php.net/manual/en/errorfunc.constants.php | grep -oP 'E_\w+' | sort -u
6238
47b1887483da Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5340
diff changeset
349 syn keyword phpCoreConstant E_ALL E_COMPILE_ERROR E_COMPILE_WARNING E_CORE_ERROR E_CORE_WARNING E_DEPRECATED E_ERROR E_NOTICE E_PARSE E_RECOVERABLE_ERROR E_STRICT E_USER_DEPRECATED E_USER_ERROR E_USER_NOTICE E_USER_WARNING E_WARNING contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
353 syn keyword phpConstant __LINE__ __FILE__ __FUNCTION__ __METHOD__ __CLASS__ __DIR__ __NAMESPACE__ __TRAIT__ contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
356 " Function and Methods ripped from php_manual_de.tar.gz Jan 2003 and amended later with common bundled extensions
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
357
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
358 syn keyword phpFunctions apc_cache_info apc_clear_cache apc_store apc_fetch apc_enabled apc_delete apc_add apc_sma_info apc_inc apc_dec apc_cas apc_exists contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
359 syn keyword phpFunctions apcu_add apcu_cache_info apcu_cas apcu_clear_cache apcu_dec apcu_delete apcu_enabled apcu_entry apcu_exists apcu_fetch apcu_inc apcu_key_info apcu_sma_info apcu_store contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
360 syn keyword phpFunctions apache_child_terminate apache_get_modules apache_get_version apache_getenv apache_lookup_uri apache_note apache_request_headers apache_response_headers apache_setenv ascii2ebcdic ebcdic2ascii getallheaders virtual contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
361 syn keyword phpFunctions array_change_key_case array_chunk array_column array_combine array_count_values array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_diff array_fill_keys array_fill array_filter array_flip array_intersect_assoc array_intersect_key array_intersect_uassoc array_intersect_ukey array_intersect array_key_exists array_keys array_map array_merge_recursive array_merge array_multisort array_pad array_pop array_product array_push array_rand array_reduce array_replace_recursive array_replace array_reverse array_search array_shift array_slice array_splice array_sum array_udiff_assoc array_udiff_uassoc array_udiff array_uintersect_assoc array_uintersect_uassoc array_uintersect array_unique array_unshift array_values array_walk_recursive array_walk arsort asort count current each end in_array key_exists key krsort ksort natcasesort natsort next pos prev range reset rsort shuffle sizeof sort uasort uksort usort contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
362 syn keyword phpFunctions aspell_check aspell_new aspell_suggest contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
363 syn keyword phpFunctions bcadd bccomp bcdiv bcmod bcmul bcpow bcpowmod bcscale bcsqrt bcsub contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
364 syn keyword phpFunctions bzclose bzcompress bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
365 syn keyword phpFunctions cal_days_in_month cal_from_jd cal_info cal_to_jd easter_date easter_days frenchtojd gregoriantojd jddayofweek jdmonthname jdtofrench jdtogregorian jdtojewish jdtojulian jdtounix jewishtojd juliantojd unixtojd contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
366 syn keyword phpFunctions ccvs_add ccvs_auth ccvs_command ccvs_count ccvs_delete ccvs_done ccvs_init ccvs_lookup ccvs_new ccvs_report ccvs_return ccvs_reverse ccvs_sale ccvs_status ccvs_textvalue ccvs_void contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
367 syn keyword phpFunctions call_user_method_array call_user_method class_exists get_class_methods get_class_vars get_class get_declared_classes get_object_vars get_parent_class is_a is_subclass_of method_exists contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
368 syn keyword phpFunctions com VARIANT com_addref com_get com_invoke com_isenum com_load_typelib com_load com_propget com_propput com_propset com_release com_set contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
369 syn keyword phpFunctions cpdf_add_annotation cpdf_add_outline cpdf_arc cpdf_begin_text cpdf_circle cpdf_clip cpdf_close cpdf_closepath_fill_stroke cpdf_closepath_stroke cpdf_closepath cpdf_continue_text cpdf_curveto cpdf_end_text cpdf_fill_stroke cpdf_fill cpdf_finalize_page cpdf_finalize cpdf_global_set_document_limits cpdf_import_jpeg cpdf_lineto cpdf_moveto cpdf_newpath cpdf_open cpdf_output_buffer cpdf_page_init cpdf_place_inline_image cpdf_rect cpdf_restore cpdf_rlineto cpdf_rmoveto cpdf_rotate_text cpdf_rotate cpdf_save_to_file cpdf_save cpdf_scale cpdf_set_action_url cpdf_set_char_spacing cpdf_set_creator cpdf_set_current_page cpdf_set_font_directories cpdf_set_font_map_file cpdf_set_font cpdf_set_horiz_scaling cpdf_set_keywords cpdf_set_leading cpdf_set_page_animation cpdf_set_subject cpdf_set_text_matrix cpdf_set_text_pos cpdf_set_text_rendering cpdf_set_text_rise cpdf_set_title cpdf_set_viewer_preferences cpdf_set_word_spacing cpdf_setdash cpdf_setflat cpdf_setgray_fill cpdf_setgray_stroke cpdf_setgray cpdf_setlinecap cpdf_setlinejoin cpdf_setlinewidth cpdf_setmiterlimit cpdf_setrgbcolor_fill cpdf_setrgbcolor_stroke cpdf_setrgbcolor cpdf_show_xy cpdf_show cpdf_stringwidth cpdf_stroke cpdf_text cpdf_translate contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
370 syn keyword phpFunctions crack_check crack_closedict crack_getlastmessage crack_opendict contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
371 syn keyword phpFunctions ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_graph ctype_lower ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
372 syn keyword phpFunctions curl_close curl_errno curl_error curl_exec curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_setopt curl_version curl_copy_handle curl_escape curl_file_create curl_multi_errno curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_share_close curl_share_errno curl_share_init curl_share_setopt curl_share_strerror curl_strerror curl_unescape contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
373 syn keyword phpFunctions cybercash_base64_decode cybercash_base64_encode cybercash_decr cybercash_encr contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
374 syn keyword phpFunctions cyrus_authenticate cyrus_bind cyrus_close cyrus_connect cyrus_query cyrus_unbind contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
375 syn keyword phpFunctions checkdate date getdate gettimeofday gmdate gmmktime gmstrftime localtime microtime mktime strftime strtotime time date_add date_create date_create_from_format date_create_immutable date_create_immutable_from_format date_date_set date_default_timezone_get date_default_timezone_set date_diff date_format date_get_last_errors date_interval_create_from_date_string date_interval_format date_isodate_set date_modify date_offset_get date_parse date_parse_from_format date_sub date_sun_info date_sunrise date_sunset date_time_set date_timestamp_get date_timestamp_set date_timezone_get date_timezone_set idate timezone_abbreviations_list timezone_identifiers_list timezone_location_get timezone_name_from_abbr timezone_name_get timezone_offset_get timezone_open timezone_transitions_get timezone_version_get contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
376 syn keyword phpFunctions dba_close dba_delete dba_exists dba_fetch dba_firstkey dba_handlers dba_insert dba_key_split dba_list dba_nextkey dba_open dba_optimize dba_popen dba_replace dba_sync contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
377 syn keyword phpFunctions dbase_add_record dbase_close dbase_create dbase_delete_record dbase_get_header_info dbase_get_record_with_names dbase_get_record dbase_numfields dbase_numrecords dbase_open dbase_pack dbase_replace_record contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
378 syn keyword phpFunctions dblist dbmclose dbmdelete dbmexists dbmfetch dbmfirstkey dbminsert dbmnextkey dbmopen dbmreplace contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
379 syn keyword phpFunctions dbplus_add dbplus_aql dbplus_chdir dbplus_close dbplus_curr dbplus_errcode dbplus_errno dbplus_find dbplus_first dbplus_flush dbplus_freealllocks dbplus_freelock dbplus_freerlocks dbplus_getlock dbplus_getunique dbplus_info dbplus_last dbplus_lockrel dbplus_next dbplus_open dbplus_prev dbplus_rchperm dbplus_rcreate dbplus_rcrtexact dbplus_rcrtlike dbplus_resolve dbplus_restorepos dbplus_rkeys dbplus_ropen dbplus_rquery dbplus_rrename dbplus_rsecindex dbplus_runlink dbplus_rzap dbplus_savepos dbplus_setindex dbplus_setindexbynumber dbplus_sql dbplus_tcl dbplus_tremove dbplus_undo dbplus_undoprepare dbplus_unlockrel dbplus_unselect dbplus_update dbplus_xlockrel dbplus_xunlockrel contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
380 syn keyword phpFunctions dbx_close dbx_compare dbx_connect dbx_error dbx_escape_string dbx_fetch_row dbx_query dbx_sort contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
381 syn keyword phpFunctions dio_close dio_fcntl dio_open dio_read dio_seek dio_stat dio_tcsetattr dio_truncate dio_write contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
382 syn keyword phpFunctions chdir chroot dir closedir getcwd opendir readdir rewinddir scandir contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
383 syn keyword phpFunctions dom_import_simplexml contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
384 syn keyword phpFunctions domxml_new_doc domxml_open_file domxml_open_mem domxml_version domxml_xmltree domxml_xslt_stylesheet_doc domxml_xslt_stylesheet_file domxml_xslt_stylesheet xpath_eval_expression xpath_eval xpath_new_context xptr_eval xptr_new_context contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
385 syn keyword phpMethods name specified value create_attribute create_cdata_section create_comment create_element_ns create_element create_entity_reference create_processing_instruction create_text_node doctype document_element dump_file dump_mem get_element_by_id get_elements_by_tagname html_dump_mem xinclude entities internal_subset name notations public_id system_id get_attribute_node get_attribute get_elements_by_tagname has_attribute remove_attribute set_attribute tagname add_namespace append_child append_sibling attributes child_nodes clone_node dump_node first_child get_content has_attributes has_child_nodes insert_before is_blank_node last_child next_sibling node_name node_type node_value owner_document parent_node prefix previous_sibling remove_child replace_child replace_node set_content set_name set_namespace unlink_node data target process result_dump_file result_dump_mem contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
386 syn keyword phpFunctions dotnet_load contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
387 syn keyword phpFunctions debug_backtrace debug_print_backtrace error_log error_reporting restore_error_handler set_error_handler trigger_error user_error contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
388 syn keyword phpFunctions enchant_broker_describe enchant_broker_dict_exists enchant_broker_free enchant_broker_free_dict enchant_broker_get_dict_path enchant_broker_get_error enchant_broker_init enchant_broker_list_dicts enchant_broker_request_dict enchant_broker_request_pwl_dict enchant_broker_set_dict_path enchant_broker_set_ordering enchant_dict_add enchant_dict_add_to_personal enchant_dict_add_to_session enchant_dict_check enchant_dict_describe enchant_dict_get_error enchant_dict_is_added enchant_dict_is_in_session enchant_dict_quick_check enchant_dict_store_replacement enchant_dict_suggest contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
389 syn keyword phpFunctions escapeshellarg escapeshellcmd exec passthru proc_close proc_get_status proc_nice proc_open proc_terminate shell_exec system contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
390 syn keyword phpFunctions fam_cancel_monitor fam_close fam_monitor_collection fam_monitor_directory fam_monitor_file fam_next_event fam_open fam_pending fam_resume_monitor fam_suspend_monitor contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
391 syn keyword phpFunctions fbsql_affected_rows fbsql_autocommit fbsql_change_user fbsql_close fbsql_commit fbsql_connect fbsql_create_blob fbsql_create_clob fbsql_create_db fbsql_data_seek fbsql_database_password fbsql_database fbsql_db_query fbsql_db_status fbsql_drop_db fbsql_errno fbsql_error fbsql_fetch_array fbsql_fetch_assoc fbsql_fetch_field fbsql_fetch_lengths fbsql_fetch_object fbsql_fetch_row fbsql_field_flags fbsql_field_len fbsql_field_name fbsql_field_seek fbsql_field_table fbsql_field_type fbsql_free_result fbsql_get_autostart_info fbsql_hostname fbsql_insert_id fbsql_list_dbs fbsql_list_fields fbsql_list_tables fbsql_next_result fbsql_num_fields fbsql_num_rows fbsql_password fbsql_pconnect fbsql_query fbsql_read_blob fbsql_read_clob fbsql_result fbsql_rollback fbsql_select_db fbsql_set_lob_mode fbsql_set_transaction fbsql_start_db fbsql_stop_db fbsql_tablename fbsql_username fbsql_warnings contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
392 syn keyword phpFunctions fdf_add_doc_javascript fdf_add_template fdf_close fdf_create fdf_enum_values fdf_errno fdf_error fdf_get_ap fdf_get_attachment fdf_get_encoding fdf_get_file fdf_get_flags fdf_get_opt fdf_get_status fdf_get_value fdf_get_version fdf_header fdf_next_field_name fdf_open_string fdf_open fdf_remove_item fdf_save_string fdf_save fdf_set_ap fdf_set_encoding fdf_set_file fdf_set_flags fdf_set_javascript_action fdf_set_opt fdf_set_status fdf_set_submit_form_action fdf_set_target_frame fdf_set_value fdf_set_version contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
393 syn keyword phpFunctions filepro_fieldcount filepro_fieldname filepro_fieldtype filepro_fieldwidth filepro_retrieve filepro_rowcount filepro contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
394 syn keyword phpFunctions filter_has_var filter_id filter_input filter_input_array filter_list filter_var filter_var_array contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
395 syn keyword phpFunctions basename chgrp chmod chown clearstatcache copy delete dirname disk_free_space disk_total_space diskfreespace fclose feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents file fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype flock fnmatch fopen fpassthru fputs fread fscanf fseek fstat ftell ftruncate fwrite glob is_dir is_executable is_file is_link is_readable is_uploaded_file is_writable is_writeable link linkinfo lstat mkdir move_uploaded_file parse_ini_file pathinfo pclose popen readfile readlink realpath rename rewind rmdir set_file_buffer stat symlink tempnam tmpfile touch umask unlink contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
396 syn keyword phpFunctions fribidi_log2vis contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
397 syn keyword phpFunctions ftp_alloc ftp_cdup ftp_chdir ftp_chmod ftp_close ftp_connect ftp_delete ftp_exec ftp_fget ftp_fput ftp_get_option ftp_get ftp_login ftp_mdtm ftp_mkdir ftp_nb_continue ftp_nb_fget ftp_nb_fput ftp_nb_get ftp_nb_put ftp_nlist ftp_pasv ftp_put ftp_pwd ftp_quit ftp_raw ftp_rawlist ftp_rename ftp_rmdir ftp_set_option ftp_site ftp_size ftp_ssl_connect ftp_systype ftp_append ftp_mlsd contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
398 syn keyword phpFunctions call_user_func_array call_user_func create_function func_get_arg func_get_args func_num_args function_exists get_defined_functions register_shutdown_function register_tick_function unregister_tick_function contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
399 syn keyword phpFunctions bind_textdomain_codeset bindtextdomain dcgettext dcngettext dgettext dngettext gettext ngettext textdomain _ contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
400 syn keyword phpFunctions gmp_abs gmp_add gmp_and gmp_clrbit gmp_cmp gmp_com gmp_div_q gmp_div_qr gmp_div_r gmp_div gmp_divexact gmp_fact gmp_gcd gmp_gcdext gmp_hamdist gmp_init gmp_intval gmp_invert gmp_jacobi gmp_legendre gmp_mod gmp_mul gmp_neg gmp_or gmp_perfect_square gmp_popcount gmp_pow gmp_powm gmp_prob_prime gmp_random gmp_scan0 gmp_scan1 gmp_setbit gmp_sign gmp_sqrt gmp_sqrtrem gmp_sqrtrm gmp_strval gmp_sub gmp_xor gmp_binomial gmp_export gmp_import gmp_kronecker gmp_lcm gmp_nextprime gmp_perfect_power gmp_random_bits gmp_random_range gmp_random_seed gmp_root gmp_rootrem gmp_testbit contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
401 syn keyword phpFunctions hash hash_algos hash_copy hash_equals hash_file hash_final hash_hkdf hash_hmac hash_hmac_algos hash_hmac_file hash_init hash_pbkdf2 hash_update hash_update_file hash_update_stream contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
402 syn keyword phpFunctions header headers_list headers_sent setcookie contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
403 syn keyword phpFunctions hw_api_attribute hwapi_hgcsp hw_api_content hw_api_object contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
404 syn keyword phpMethods key langdepvalue value values checkin checkout children mimetype read content copy dbstat dcstat dstanchors dstofsrcanchors count reason find ftstat hwstat identify info insert insertanchor insertcollection insertdocument link lock move assign attreditable count insert remove title value object objectbyanchor parents description type remove replace setcommitedversion srcanchors srcsofdst unlock user userlist contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
405 syn keyword phpFunctions hw_Array2Objrec hw_changeobject hw_Children hw_ChildrenObj hw_Close hw_Connect hw_connection_info hw_cp hw_Deleteobject hw_DocByAnchor hw_DocByAnchorObj hw_Document_Attributes hw_Document_BodyTag hw_Document_Content hw_Document_SetContent hw_Document_Size hw_dummy hw_EditText hw_Error hw_ErrorMsg hw_Free_Document hw_GetAnchors hw_GetAnchorsObj hw_GetAndLock hw_GetChildColl hw_GetChildCollObj hw_GetChildDocColl hw_GetChildDocCollObj hw_GetObject hw_GetObjectByQuery hw_GetObjectByQueryColl hw_GetObjectByQueryCollObj hw_GetObjectByQueryObj hw_GetParents hw_GetParentsObj hw_getrellink hw_GetRemote hw_getremotechildren hw_GetSrcByDestObj hw_GetText hw_getusername hw_Identify hw_InCollections hw_Info hw_InsColl hw_InsDoc hw_insertanchors hw_InsertDocument hw_InsertObject hw_mapid hw_Modifyobject hw_mv hw_New_Document hw_objrec2array hw_Output_Document hw_pConnect hw_PipeDocument hw_Root hw_setlinkroot hw_stat hw_Unlock hw_Who contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
406 syn keyword phpFunctions ibase_add_user ibase_affected_rows ibase_blob_add ibase_blob_cancel ibase_blob_close ibase_blob_create ibase_blob_echo ibase_blob_get ibase_blob_import ibase_blob_info ibase_blob_open ibase_close ibase_commit_ret ibase_commit ibase_connect ibase_delete_user ibase_drop_db ibase_errcode ibase_errmsg ibase_execute ibase_fetch_assoc ibase_fetch_object ibase_fetch_row ibase_field_info ibase_free_event_handler ibase_free_query ibase_free_result ibase_gen_id ibase_modify_user ibase_name_result ibase_num_fields ibase_num_params ibase_param_info ibase_pconnect ibase_prepare ibase_query ibase_rollback_ret ibase_rollback ibase_set_event_handler ibase_timefmt ibase_trans ibase_wait_event contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
407 syn keyword phpFunctions iconv_get_encoding iconv_mime_decode_headers iconv_mime_decode iconv_mime_encode iconv_set_encoding iconv_strlen iconv_strpos iconv_strrpos iconv_substr iconv ob_iconv_handler contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
408 syn keyword phpFunctions ifx_affected_rows ifx_blobinfile_mode ifx_byteasvarchar ifx_close ifx_connect ifx_copy_blob ifx_create_blob ifx_create_char ifx_do ifx_error ifx_errormsg ifx_fetch_row ifx_fieldproperties ifx_fieldtypes ifx_free_blob ifx_free_char ifx_free_result ifx_get_blob ifx_get_char ifx_getsqlca ifx_htmltbl_result ifx_nullformat ifx_num_fields ifx_num_rows ifx_pconnect ifx_prepare ifx_query ifx_textasvarchar ifx_update_blob ifx_update_char ifxus_close_slob ifxus_create_slob ifxus_free_slob ifxus_open_slob ifxus_read_slob ifxus_seek_slob ifxus_tell_slob ifxus_write_slob contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
409 syn keyword phpFunctions igbinary_serialize igbinary_unserialize contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
410 syn keyword phpFunctions exif_imagetype exif_read_data exif_thumbnail gd_info getimagesize image_type_to_mime_type image2wbmp imagealphablending imageantialias imagearc imagechar imagecharup imagecolorallocate imagecolorallocatealpha imagecolorat imagecolorclosest imagecolorclosestalpha imagecolorclosesthwb imagecolordeallocate imagecolorexact imagecolorexactalpha imagecolormatch imagecolorresolve imagecolorresolvealpha imagecolorset imagecolorsforindex imagecolorstotal imagecolortransparent imagecopy imagecopymerge imagecopymergegray imagecopyresampled imagecopyresized imagecreate imagecreatefromgd2 imagecreatefromgd2part imagecreatefromgd imagecreatefromgif imagecreatefromjpeg imagecreatefrompng imagecreatefromstring imagecreatefromwbmp imagecreatefromxbm imagecreatefromxpm imagecreatetruecolor imagedashedline imagedestroy imageellipse imagefill imagefilledarc imagefilledellipse imagefilledpolygon imagefilledrectangle imagefilltoborder imagefontheight imagefontwidth imageftbbox imagefttext imagegammacorrect imagegd2 imagegd imagegif imageinterlace imageistruecolor imagejpeg imageline imageloadfont imagepalettecopy imagepng imagepolygon imagepsbbox imagepscopyfont imagepsencodefont imagepsextendfont imagepsfreefont imagepsloadfont imagepsslantfont imagepstext imagerectangle imagerotate imagesavealpha imagesetbrush imagesetpixel imagesetstyle imagesetthickness imagesettile imagestring imagestringup imagesx imagesy imagetruecolortopalette imagettfbbox imagettftext imagetypes imagewbmp iptcembed iptcparse jpeg2wbmp png2wbmp read_exif_data exif_tagname imageaffine imageaffinematrixconcat imageaffinematrixget imagebmp imageconvolution imagecreatefrombmp imagecreatefromtga imagecrop imagecropauto imagefilter imageflip imagegetclip imagegetinterpolation imagelayereffect imageopenpolygon imagepalettetotruecolor imageresolution imagescale imagesetclip imagesetinterpolation imagexbm contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
411 syn keyword phpFunctions imap_8bit imap_alerts imap_append imap_base64 imap_binary imap_body imap_bodystruct imap_check imap_clearflag_full imap_close imap_createmailbox imap_delete imap_deletemailbox imap_errors imap_expunge imap_fetch_overview imap_fetchbody imap_fetchheader imap_fetchstructure imap_get_quota imap_get_quotaroot imap_getacl imap_getmailboxes imap_getsubscribed imap_header imap_headerinfo imap_headers imap_last_error imap_list imap_listmailbox imap_listscan imap_listsubscribed imap_lsub imap_mail_compose imap_mail_copy imap_mail_move imap_mail imap_mailboxmsginfo imap_mime_header_decode imap_msgno imap_num_msg imap_num_recent imap_open imap_ping imap_qprint imap_renamemailbox imap_reopen imap_rfc822_parse_adrlist imap_rfc822_parse_headers imap_rfc822_write_address imap_scanmailbox imap_search imap_set_quota imap_setacl imap_setflag_full imap_sort imap_status imap_subscribe imap_thread imap_timeout imap_uid imap_undelete imap_unsubscribe imap_utf7_decode imap_utf7_encode imap_utf8 contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
412 syn keyword phpFunctions assert_options assert dl extension_loaded get_cfg_var get_current_user get_defined_constants get_extension_funcs get_include_path get_included_files get_loaded_extensions get_magic_quotes_gpc get_magic_quotes_runtime get_required_files getenv getlastmod getmygid getmyinode getmypid getmyuid getopt getrusage ini_alter ini_get_all ini_get ini_restore ini_set main memory_get_usage php_ini_scanned_files php_logo_guid php_sapi_name php_uname phpcredits phpinfo phpversion putenv restore_include_path set_include_path set_magic_quotes_runtime set_time_limit version_compare zend_logo_guid zend_version contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
413 syn keyword phpFunctions ingres_autocommit ingres_close ingres_commit ingres_connect ingres_fetch_array ingres_fetch_object ingres_fetch_row ingres_field_length ingres_field_name ingres_field_nullable ingres_field_precision ingres_field_scale ingres_field_type ingres_num_fields ingres_num_rows ingres_pconnect ingres_query ingres_rollback contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
414 syn keyword phpFunctions collator_asort collator_compare collator_create collator_get_attribute collator_get_error_code collator_get_error_message collator_get_locale collator_get_sort_key collator_get_strength collator_set_attribute collator_set_strength collator_sort collator_sort_with_sort_keys datefmt_create datefmt_format datefmt_format_object datefmt_get_calendar datefmt_get_calendar_object datefmt_get_datetype datefmt_get_error_code datefmt_get_error_message datefmt_get_locale datefmt_get_pattern datefmt_get_timetype datefmt_get_timezone datefmt_get_timezone_id datefmt_is_lenient datefmt_localtime datefmt_parse datefmt_set_calendar datefmt_set_lenient datefmt_set_pattern datefmt_set_timezone grapheme_extract grapheme_stripos grapheme_stristr grapheme_strlen grapheme_strpos grapheme_strripos grapheme_strrpos grapheme_strstr grapheme_substr idn_to_ascii idn_to_utf8 intl_error_name intl_get_error_code intl_get_error_message intl_is_failure intlcal_add intlcal_after intlcal_before intlcal_clear intlcal_create_instance intlcal_equals intlcal_field_difference intlcal_from_date_time intlcal_get intlcal_get_actual_maximum intlcal_get_actual_minimum intlcal_get_available_locales intlcal_get_day_of_week_type intlcal_get_error_code intlcal_get_error_message intlcal_get_first_day_of_week intlcal_get_greatest_minimum intlcal_get_keyword_values_for_locale intlcal_get_least_maximum intlcal_get_locale intlcal_get_maximum intlcal_get_minimal_days_in_first_week intlcal_get_minimum intlcal_get_now intlcal_get_repeated_wall_time_option intlcal_get_skipped_wall_time_option intlcal_get_time intlcal_get_time_zone intlcal_get_type intlcal_get_weekend_transition intlcal_in_daylight_time intlcal_is_equivalent_to intlcal_is_lenient intlcal_is_set intlcal_is_weekend intlcal_roll intlcal_set intlcal_set_first_day_of_week intlcal_set_lenient intlcal_set_minimal_days_in_first_week intlcal_set_repeated_wall_time_option intlcal_set_skipped_wall_time_option intlcal_set_time intlcal_set_time_zone intlcal_to_date_time intlgregcal_create_instance intlgregcal_get_gregorian_change intlgregcal_is_leap_year intlgregcal_set_gregorian_change intltz_count_equivalent_ids intltz_create_default intltz_create_enumeration intltz_create_time_zone intltz_create_time_zone_id_enumeration intltz_from_date_time_zone intltz_get_canonical_id intltz_get_display_name intltz_get_dst_savings intltz_get_equivalent_id intltz_get_error_code intltz_get_error_message intltz_get_id_for_windows_id intltz_get_windows_id intltz_get_gmt intltz_get_id intltz_get_offset intltz_get_raw_offset intltz_get_region intltz_get_tz_data_version intltz_get_unknown intltz_has_same_rules intltz_to_date_time_zone intltz_use_daylight_time locale_accept_from_http locale_canonicalize locale_compose locale_filter_matches locale_get_all_variants locale_get_default locale_get_display_language locale_get_display_name locale_get_display_region locale_get_display_script locale_get_display_variant locale_get_keywords locale_get_primary_language locale_get_region locale_get_script locale_lookup locale_parse locale_set_default msgfmt_create msgfmt_format msgfmt_format_message msgfmt_get_error_code msgfmt_get_error_message msgfmt_get_locale msgfmt_get_pattern msgfmt_parse msgfmt_parse_message msgfmt_set_pattern normalizer_get_raw_decomposition normalizer_is_normalized normalizer_normalize numfmt_create numfmt_format numfmt_format_currency numfmt_get_attribute numfmt_get_error_code numfmt_get_error_message numfmt_get_locale numfmt_get_pattern numfmt_get_symbol numfmt_get_text_attribute numfmt_parse numfmt_parse_currency numfmt_set_attribute numfmt_set_pattern numfmt_set_symbol numfmt_set_text_attribute resourcebundle_count resourcebundle_create resourcebundle_get resourcebundle_get_error_code resourcebundle_get_error_message resourcebundle_locales transliterator_create transliterator_create_from_rules transliterator_create_inverse transliterator_get_error_code transliterator_get_error_message transliterator_list_ids transliterator_transliterate contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
415 syn keyword phpFunctions ircg_channel_mode ircg_disconnect ircg_fetch_error_msg ircg_get_username ircg_html_encode ircg_ignore_add ircg_ignore_del ircg_is_conn_alive ircg_join ircg_kick ircg_lookup_format_messages ircg_msg ircg_nick ircg_nickname_escape ircg_nickname_unescape ircg_notice ircg_part ircg_pconnect ircg_register_format_messages ircg_set_current ircg_set_file ircg_set_on_die ircg_topic ircg_whois contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
416 syn keyword phpFunctions java_last_exception_clear java_last_exception_get contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
417 syn keyword phpFunctions json_decode json_encode json_last_error json_last_error_msg contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
418 syn keyword phpFunctions ldap_8859_to_t61 ldap_add ldap_bind ldap_close ldap_compare ldap_connect ldap_count_entries ldap_delete ldap_dn2ufn ldap_err2str ldap_errno ldap_error ldap_explode_dn ldap_first_attribute ldap_first_entry ldap_first_reference ldap_free_result ldap_get_attributes ldap_get_dn ldap_get_entries ldap_get_option ldap_get_values_len ldap_get_values ldap_list ldap_mod_add ldap_mod_del ldap_mod_replace ldap_modify ldap_next_attribute ldap_next_entry ldap_next_reference ldap_parse_reference ldap_parse_result ldap_read ldap_rename ldap_search ldap_set_option ldap_set_rebind_proc ldap_sort ldap_start_tls ldap_t61_to_8859 ldap_unbind contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
419 syn keyword phpFunctions libxml_clear_errors libxml_disable_entity_loader libxml_get_errors libxml_get_last_error libxml_set_external_entity_loader libxml_set_streams_context libxml_use_internal_errors contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
420 syn keyword phpFunctions lzf_compress lzf_decompress lzf_optimized_for contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
421 syn keyword phpFunctions ezmlm_hash mail contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
422 syn keyword phpFunctions mailparse_determine_best_xfer_encoding mailparse_msg_create mailparse_msg_extract_part_file mailparse_msg_extract_part mailparse_msg_free mailparse_msg_get_part_data mailparse_msg_get_part mailparse_msg_get_structure mailparse_msg_parse_file mailparse_msg_parse mailparse_rfc822_parse_addresses mailparse_stream_encode mailparse_uudecode_all contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
423 syn keyword phpFunctions abs acos acosh asin asinh atan2 atan atanh base_convert bindec ceil cos cosh decbin dechex decoct deg2rad exp expm1 floor fmod getrandmax hexdec hypot is_finite is_infinite is_nan lcg_value log10 log1p log max min mt_getrandmax mt_rand mt_srand octdec pi pow rad2deg rand round sin sinh sqrt srand tan tanh contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
424 syn keyword phpFunctions array_key_first array_key_last boolval cli_get_process_title cli_set_process_title convert_uudecode convert_uuencode debug_zval_dump error_clear_last error_get_last forward_static_call forward_static_call_array fputcsv get_headers gethostname getimagesizefromstring header_register_callback header_remove hex2bin hrtime htmlspecialchars_decode http_response_code image_type_to_extension inet_ntop inet_pton intdiv is_countable is_iterable lcfirst lchgrp lchown memory_get_peak_usage net_get_interfaces parse_ini_string password_algos password_get_info password_hash password_needs_rehash password_verify php_ini_loaded_file php_strip_whitespace quoted_printable_encode random_bytes random_int realpath_cache_get realpath_cache_size setrawcookie str_getcsv stream_bucket_append stream_bucket_make_writeable stream_bucket_new stream_bucket_prepend stream_context_get_default stream_context_get_params stream_context_set_default stream_filter_remove stream_is_local stream_isatty stream_resolve_include_path stream_set_chunk_size stream_set_read_buffer stream_socket_enable_crypto stream_socket_pair stream_socket_shutdown stream_supports_lock stream_wrapper_restore stream_wrapper_unregister strpbrk strptime sys_get_temp_dir sys_getloadavg time_nanosleep time_sleep_until vfprintf contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
425
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
426 syn keyword phpFunctions mb_convert_case mb_convert_encoding mb_convert_kana mb_convert_variables mb_decode_mimeheader mb_decode_numericentity mb_detect_encoding mb_detect_order mb_encode_mimeheader mb_encode_numericentity mb_ereg_match mb_ereg_replace mb_ereg_search_getpos mb_ereg_search_getregs mb_ereg_search_init mb_ereg_search_pos mb_ereg_search_regs mb_ereg_search_setpos mb_ereg_search mb_ereg mb_eregi_replace mb_eregi mb_get_info mb_http_input mb_http_output mb_internal_encoding mb_language mb_output_handler mb_parse_str mb_preferred_mime_name mb_regex_encoding mb_regex_set_options mb_send_mail mb_split mb_strcut mb_strimwidth mb_strlen mb_strpos mb_strrpos mb_strtolower mb_strtoupper mb_strwidth mb_substitute_character mb_substr_count mb_substr mb_check_encoding mb_chr mb_encoding_aliases mb_ereg_replace_callback mb_list_encodings mb_ord mb_scrub mb_str_split mb_stripos mb_stristr mb_strrchr mb_strrichr mb_strripos mb_strstr mbereg mbereg_match mbereg_replace mbereg_search mbereg_search_getpos mbereg_search_getregs mbereg_search_init mbereg_search_pos mbereg_search_regs mbereg_search_setpos mberegi mberegi_replace mbregex_encoding mbsplit contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
427 syn keyword phpFunctions mcal_append_event mcal_close mcal_create_calendar mcal_date_compare mcal_date_valid mcal_day_of_week mcal_day_of_year mcal_days_in_month mcal_delete_calendar mcal_delete_event mcal_event_add_attribute mcal_event_init mcal_event_set_alarm mcal_event_set_category mcal_event_set_class mcal_event_set_description mcal_event_set_end mcal_event_set_recur_daily mcal_event_set_recur_monthly_mday mcal_event_set_recur_monthly_wday mcal_event_set_recur_none mcal_event_set_recur_weekly mcal_event_set_recur_yearly mcal_event_set_start mcal_event_set_title mcal_expunge mcal_fetch_current_stream_event mcal_fetch_event mcal_is_leap_year mcal_list_alarms mcal_list_events mcal_next_recurrence mcal_open mcal_popen mcal_rename_calendar mcal_reopen mcal_snooze mcal_store_event mcal_time_valid mcal_week_of_year contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
428 syn keyword phpFunctions mcrypt_cbc mcrypt_cfb mcrypt_create_iv mcrypt_decrypt mcrypt_ecb mcrypt_enc_get_algorithms_name mcrypt_enc_get_block_size mcrypt_enc_get_iv_size mcrypt_enc_get_key_size mcrypt_enc_get_modes_name mcrypt_enc_get_supported_key_sizes mcrypt_enc_is_block_algorithm_mode mcrypt_enc_is_block_algorithm mcrypt_enc_is_block_mode mcrypt_enc_self_test mcrypt_encrypt mcrypt_generic_deinit mcrypt_generic_end mcrypt_generic_init mcrypt_generic mcrypt_get_block_size mcrypt_get_cipher_name mcrypt_get_iv_size mcrypt_get_key_size mcrypt_list_algorithms mcrypt_list_modes mcrypt_module_close mcrypt_module_get_algo_block_size mcrypt_module_get_algo_key_size mcrypt_module_get_supported_key_sizes mcrypt_module_is_block_algorithm_mode mcrypt_module_is_block_algorithm mcrypt_module_is_block_mode mcrypt_module_open mcrypt_module_self_test mcrypt_ofb mdecrypt_generic contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
429 syn keyword phpFunctions mcve_adduser mcve_adduserarg mcve_bt mcve_checkstatus mcve_chkpwd mcve_chngpwd mcve_completeauthorizations mcve_connect mcve_connectionerror mcve_deleteresponse mcve_deletetrans mcve_deleteusersetup mcve_deluser mcve_destroyconn mcve_destroyengine mcve_disableuser mcve_edituser mcve_enableuser mcve_force mcve_getcell mcve_getcellbynum mcve_getcommadelimited mcve_getheader mcve_getuserarg mcve_getuserparam mcve_gft mcve_gl mcve_gut mcve_initconn mcve_initengine mcve_initusersetup mcve_iscommadelimited mcve_liststats mcve_listusers mcve_maxconntimeout mcve_monitor mcve_numcolumns mcve_numrows mcve_override mcve_parsecommadelimited mcve_ping mcve_preauth mcve_preauthcompletion mcve_qc mcve_responseparam mcve_return mcve_returncode mcve_returnstatus mcve_sale mcve_setblocking mcve_setdropfile mcve_setip mcve_setssl_files mcve_setssl mcve_settimeout mcve_settle mcve_text_avs mcve_text_code mcve_text_cv mcve_transactionauth mcve_transactionavs mcve_transactionbatch mcve_transactioncv mcve_transactionid mcve_transactionitem mcve_transactionssent mcve_transactiontext mcve_transinqueue mcve_transnew mcve_transparam mcve_transsend mcve_ub mcve_uwait mcve_verifyconnection mcve_verifysslcert mcve_void contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
430 syn keyword phpFunctions mhash_count mhash_get_block_size mhash_get_hash_name mhash_keygen_s2k mhash contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
431 syn keyword phpFunctions mime_content_type finfo_buffer finfo_close finfo_file finfo_open finfo_set_flags contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
432 syn keyword phpFunctions ming_setcubicthreshold ming_setscale ming_useswfversion SWFAction SWFBitmap swfbutton_keypress SWFbutton SWFDisplayItem SWFFill SWFFont SWFGradient SWFMorph SWFMovie SWFShape SWFSprite SWFText SWFTextField contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
433 syn keyword phpMethods getHeight getWidth addAction addShape setAction setdown setHit setOver setUp addColor move moveTo multColor remove Rotate rotateTo scale scaleTo setDepth setName setRatio skewX skewXTo skewY skewYTo moveTo rotateTo scaleTo skewXTo skewYTo getwidth addEntry getshape1 getshape2 add nextframe output remove save setbackground setdimension setframes setrate streammp3 addFill drawCurve drawCurveTo drawLine drawLineTo movePen movePenTo setLeftFill setLine setRightFill add nextframe remove setframes addString getWidth moveTo setColor setFont setHeight setSpacing addstring align setbounds setcolor setFont setHeight setindentation setLeftMargin setLineSpacing setMargins setname setrightMargin contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
434 syn keyword phpFunctions connection_aborted connection_status connection_timeout constant define defined die eval exit get_browser highlight_file highlight_string ignore_user_abort pack show_source sleep uniqid unpack usleep contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
435 syn keyword phpFunctions udm_add_search_limit udm_alloc_agent udm_api_version udm_cat_list udm_cat_path udm_check_charset udm_check_stored udm_clear_search_limits udm_close_stored udm_crc32 udm_errno udm_error udm_find udm_free_agent udm_free_ispell_data udm_free_res udm_get_doc_count udm_get_res_field udm_get_res_param udm_load_ispell_data udm_open_stored udm_set_agent_param contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
436 syn keyword phpFunctions msession_connect msession_count msession_create msession_destroy msession_disconnect msession_find msession_get_array msession_get msession_getdata msession_inc msession_list msession_listvar msession_lock msession_plugin msession_randstr msession_set_array msession_set msession_setdata msession_timeout msession_uniq msession_unlock contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
437 syn keyword phpFunctions msql_affected_rows msql_close msql_connect msql_create_db msql_createdb msql_data_seek msql_dbname msql_drop_db msql_dropdb msql_error msql_fetch_array msql_fetch_field msql_fetch_object msql_fetch_row msql_field_seek msql_fieldflags msql_fieldlen msql_fieldname msql_fieldtable msql_fieldtype msql_free_result msql_freeresult msql_list_dbs msql_list_fields msql_list_tables msql_listdbs msql_listfields msql_listtables msql_num_fields msql_num_rows msql_numfields msql_numrows msql_pconnect msql_query msql_regcase msql_result msql_select_db msql_selectdb msql_tablename msql contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
438 syn keyword phpFunctions mssql_bind mssql_close mssql_connect mssql_data_seek mssql_execute mssql_fetch_array mssql_fetch_assoc mssql_fetch_batch mssql_fetch_field mssql_fetch_object mssql_fetch_row mssql_field_length mssql_field_name mssql_field_seek mssql_field_type mssql_free_result mssql_free_statement mssql_get_last_message mssql_guid_string mssql_init mssql_min_error_severity mssql_min_message_severity mssql_next_result mssql_num_fields mssql_num_rows mssql_pconnect mssql_query mssql_result mssql_rows_affected mssql_select_db contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
439 syn keyword phpFunctions muscat_close muscat_get muscat_give muscat_setup_net muscat_setup contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
440 syn keyword phpFunctions mysql_affected_rows mysql_change_user mysql_client_encoding mysql_close mysql_connect mysql_create_db mysql_data_seek mysql_db_name mysql_db_query mysql_drop_db mysql_errno mysql_error mysql_escape_string mysql_fetch_array mysql_fetch_assoc mysql_fetch_field mysql_fetch_lengths mysql_fetch_object mysql_fetch_row mysql_field_flags mysql_field_len mysql_field_name mysql_field_seek mysql_field_table mysql_field_type mysql_free_result mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql_insert_id mysql_list_dbs mysql_list_fields mysql_list_processes mysql_list_tables mysql_num_fields mysql_num_rows mysql_pconnect mysql_ping mysql_query mysql_real_escape_string mysql_result mysql_select_db mysql_stat mysql_tablename mysql_thread_id mysql_unbuffered_query contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
441 syn keyword phpFunctions mysqli_affected_rows mysqli_autocommit mysqli_bind_param mysqli_bind_result mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect mysqli_data_seek mysqli_debug mysqli_disable_reads_from_master mysqli_disable_rpl_parse mysqli_dump_debug_info mysqli_enable_reads_from_master mysqli_enable_rpl_parse mysqli_errno mysqli_error mysqli_execute mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_fetch mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_client_info mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_master_query mysqli_num_fields mysqli_num_rows mysqli_options mysqli_param_count mysqli_ping mysqli_prepare_result mysqli_prepare mysqli_profiler mysqli_query mysqli_read_query_result mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reload mysqli_rollback mysqli_rpl_parse_enabled mysqli_rpl_probe mysqli_rpl_query_type mysqli_select_db mysqli_send_long_data mysqli_send_query mysqli_slave_query mysqli_ssl_set mysqli_stat mysqli_stmt_affected_rows mysqli_stmt_close mysqli_stmt_errno mysqli_stmt_error mysqli_stmt_store_result mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count mysqli_begin_transaction mysqli_connect_errno mysqli_connect_error mysqli_error_list mysqli_escape_string mysqli_fetch_all mysqli_get_charset mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_links_stats mysqli_get_warnings mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_poll mysqli_reap_async_query mysqli_refresh mysqli_release_savepoint mysqli_report mysqli_savepoint mysqli_set_charset mysqli_set_opt mysqli_sqlstate mysqli_stmt_attr_get mysqli_stmt_attr_set mysqli_stmt_bind_param mysqli_stmt_bind_result mysqli_stmt_data_seek mysqli_stmt_error_list mysqli_stmt_execute mysqli_stmt_fetch mysqli_stmt_field_count mysqli_stmt_free_result mysqli_stmt_get_result mysqli_stmt_get_warnings mysqli_stmt_init mysqli_stmt_insert_id mysqli_stmt_more_results mysqli_stmt_next_result mysqli_stmt_num_rows mysqli_stmt_param_count mysqli_stmt_prepare mysqli_stmt_reset mysqli_stmt_result_metadata mysqli_stmt_send_long_data mysqli_stmt_sqlstate contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
442 syn keyword phpFunctions ncurses_addch ncurses_addchnstr ncurses_addchstr ncurses_addnstr ncurses_addstr ncurses_assume_default_colors ncurses_attroff ncurses_attron ncurses_attrset ncurses_baudrate ncurses_beep ncurses_bkgd ncurses_bkgdset ncurses_border ncurses_bottom_panel ncurses_can_change_color ncurses_cbreak ncurses_clear ncurses_clrtobot ncurses_clrtoeol ncurses_color_content ncurses_color_set ncurses_curs_set ncurses_def_prog_mode ncurses_def_shell_mode ncurses_define_key ncurses_del_panel ncurses_delay_output ncurses_delch ncurses_deleteln ncurses_delwin ncurses_doupdate ncurses_echo ncurses_echochar ncurses_end ncurses_erase ncurses_erasechar ncurses_filter ncurses_flash ncurses_flushinp ncurses_getch ncurses_getmaxyx ncurses_getmouse ncurses_getyx ncurses_halfdelay ncurses_has_colors ncurses_has_ic ncurses_has_il ncurses_has_key ncurses_hide_panel ncurses_hline ncurses_inch ncurses_init_color ncurses_init_pair ncurses_init ncurses_insch ncurses_insdelln ncurses_insertln ncurses_insstr ncurses_instr ncurses_isendwin ncurses_keyok ncurses_keypad ncurses_killchar ncurses_longname ncurses_meta ncurses_mouse_trafo ncurses_mouseinterval ncurses_mousemask ncurses_move_panel ncurses_move ncurses_mvaddch ncurses_mvaddchnstr ncurses_mvaddchstr ncurses_mvaddnstr ncurses_mvaddstr ncurses_mvcur ncurses_mvdelch ncurses_mvgetch ncurses_mvhline ncurses_mvinch ncurses_mvvline ncurses_mvwaddstr ncurses_napms ncurses_new_panel ncurses_newpad ncurses_newwin ncurses_nl ncurses_nocbreak ncurses_noecho ncurses_nonl ncurses_noqiflush ncurses_noraw ncurses_pair_content ncurses_panel_above ncurses_panel_below ncurses_panel_window ncurses_pnoutrefresh ncurses_prefresh ncurses_putp ncurses_qiflush ncurses_raw ncurses_refresh ncurses_replace_panel ncurses_reset_prog_mode ncurses_reset_shell_mode ncurses_resetty ncurses_savetty ncurses_scr_dump ncurses_scr_init ncurses_scr_restore ncurses_scr_set ncurses_scrl ncurses_show_panel ncurses_slk_attr ncurses_slk_attroff ncurses_slk_attron ncurses_slk_attrset ncurses_slk_clear ncurses_slk_color ncurses_slk_init ncurses_slk_noutrefresh ncurses_slk_refresh ncurses_slk_restore ncurses_slk_set ncurses_slk_touch ncurses_standend ncurses_standout ncurses_start_color ncurses_termattrs ncurses_termname ncurses_timeout ncurses_top_panel ncurses_typeahead ncurses_ungetch ncurses_ungetmouse ncurses_update_panels ncurses_use_default_colors ncurses_use_env ncurses_use_extended_names ncurses_vidattr ncurses_vline ncurses_waddch ncurses_waddstr ncurses_wattroff ncurses_wattron ncurses_wattrset ncurses_wborder ncurses_wclear ncurses_wcolor_set ncurses_werase ncurses_wgetch ncurses_whline ncurses_wmouse_trafo ncurses_wmove ncurses_wnoutrefresh ncurses_wrefresh ncurses_wstandend ncurses_wstandout ncurses_wvline contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
443 syn keyword phpFunctions checkdnsrr closelog debugger_off debugger_on define_syslog_variables dns_check_record dns_get_mx dns_get_record fsockopen gethostbyaddr gethostbyname gethostbynamel getmxrr getprotobyname getprotobynumber getservbyname getservbyport ip2long long2ip openlog pfsockopen socket_get_status socket_set_blocking socket_set_timeout syslog contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
444 syn keyword phpFunctions yp_all yp_cat yp_err_string yp_errno yp_first yp_get_default_domain yp_master yp_match yp_next yp_order contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
445 syn keyword phpFunctions notes_body notes_copy_db notes_create_db notes_create_note notes_drop_db notes_find_note notes_header_info notes_list_msgs notes_mark_read notes_mark_unread notes_nav_create notes_search notes_unread notes_version contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
446 syn keyword phpFunctions nsapi_request_headers nsapi_response_headers nsapi_virtual contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
447 syn keyword phpFunctions aggregate_info aggregate_methods_by_list aggregate_methods_by_regexp aggregate_methods aggregate_properties_by_list aggregate_properties_by_regexp aggregate_properties aggregate aggregation_info deaggregate contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
448 syn keyword phpFunctions ocibindbyname ocicancel ocicloselob ocicollappend ocicollassign ocicollassignelem ocicollgetelem ocicollmax ocicollsize ocicolltrim ocicolumnisnull ocicolumnname ocicolumnprecision ocicolumnscale ocicolumnsize ocicolumntype ocicolumntyperaw ocicommit ocidefinebyname ocierror ociexecute ocifetch ocifetchinto ocifetchstatement ocifreecollection ocifreecursor ocifreedesc ocifreestatement ociinternaldebug ociloadlob ocilogoff ocilogon ocinewcollection ocinewcursor ocinewdescriptor ocinlogon ocinumcols ociparse ociplogon ociresult ocirollback ocirowcount ocisavelob ocisavelobfile ociserverversion ocisetprefetch ocistatementtype ociwritelobtofile ociwritetemporarylob contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
449 syn keyword phpFunctions odbc_autocommit odbc_binmode odbc_close_all odbc_close odbc_columnprivileges odbc_columns odbc_commit odbc_connect odbc_cursor odbc_data_source odbc_do odbc_error odbc_errormsg odbc_exec odbc_execute odbc_fetch_array odbc_fetch_into odbc_fetch_object odbc_fetch_row odbc_field_len odbc_field_name odbc_field_num odbc_field_precision odbc_field_scale odbc_field_type odbc_foreignkeys odbc_free_result odbc_gettypeinfo odbc_longreadlen odbc_next_result odbc_num_fields odbc_num_rows odbc_pconnect odbc_prepare odbc_primarykeys odbc_procedurecolumns odbc_procedures odbc_result_all odbc_result odbc_rollback odbc_setoption odbc_specialcolumns odbc_statistics odbc_tableprivileges odbc_tables contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
450 syn keyword phpFunctions opcache_reset opcache_invalidate opcache_compile_file opcache_is_script_cached opcache_get_configuration opcache_get_status contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
451 syn keyword phpFunctions openssl_cipher_iv_length openssl_cms_decrypt openssl_cms_encrypt openssl_cms_read openssl_cms_sign openssl_cms_verify openssl_csr_export_to_file openssl_csr_export openssl_csr_get_public_key openssl_csr_get_subject openssl_csr_new openssl_csr_sign openssl_decrypt openssl_dh_compute_key openssl_digest openssl_encrypt openssl_error_string openssl_free_key openssl_get_cert_locations openssl_get_cipher_methods openssl_get_md_methods openssl_get_privatekey openssl_get_publickey openssl_open openssl_pbkdf2 openssl_pkcs12_export_to_file openssl_pkcs12_export openssl_pkcs12_read openssl_pkcs7_decrypt openssl_pkcs7_encrypt openssl_pkcs7_sign openssl_pkcs7_verify openssl_pkey_export_to_file openssl_pkey_export openssl_pkey_free openssl_pkey_get_details openssl_pkey_get_private openssl_pkey_get_public openssl_pkey_new openssl_private_decrypt openssl_private_encrypt openssl_public_decrypt openssl_public_encrypt openssl_random_pseudo_bytes openssl_seal openssl_sign openssl_spki_export_challenge openssl_spki_export openssl_spki_new openssl_spki_verify openssl_verify openssl_x509_check_private_key openssl_x509_checkpurpose openssl_x509_export_to_file openssl_x509_export openssl_x509_fingerprint openssl_x509_free openssl_x509_parse openssl_x509_read openssl_get_curve_names openssl_pkcs7_read openssl_pkey_derive openssl_x509_verify contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
452 syn keyword phpFunctions ora_bind ora_close ora_columnname ora_columnsize ora_columntype ora_commit ora_commitoff ora_commiton ora_do ora_error ora_errorcode ora_exec ora_fetch_into ora_fetch ora_getcolumn ora_logoff ora_logon ora_numcols ora_numrows ora_open ora_parse ora_plogon ora_rollback contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
453 syn keyword phpFunctions flush ob_clean ob_end_clean ob_end_flush ob_flush ob_get_clean ob_get_contents ob_get_flush ob_get_length ob_get_level ob_get_status ob_gzhandler ob_implicit_flush ob_list_handlers ob_start output_add_rewrite_var output_reset_rewrite_vars contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
454 syn keyword phpFunctions overload contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
455 syn keyword phpFunctions ovrimos_close ovrimos_commit ovrimos_connect ovrimos_cursor ovrimos_exec ovrimos_execute ovrimos_fetch_into ovrimos_fetch_row ovrimos_field_len ovrimos_field_name ovrimos_field_num ovrimos_field_type ovrimos_free_result ovrimos_longreadlen ovrimos_num_fields ovrimos_num_rows ovrimos_prepare ovrimos_result_all ovrimos_result ovrimos_rollback contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
456 syn keyword phpFunctions pcntl_exec pcntl_fork pcntl_signal pcntl_waitpid pcntl_wexitstatus pcntl_wifexited pcntl_wifsignaled pcntl_wifstopped pcntl_wstopsig pcntl_wtermsig pcntl_alarm pcntl_async_signals pcntl_errno pcntl_get_last_error pcntl_getpriority pcntl_setpriority pcntl_signal_dispatch pcntl_signal_get_handler pcntl_sigprocmask pcntl_sigtimedwait pcntl_sigwaitinfo pcntl_strerror pcntl_unshare pcntl_wait pcntl_wifcontinued contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
457 syn keyword phpFunctions preg_filter preg_grep preg_last_error preg_last_error_msg preg_match_all preg_match preg_quote preg_replace_callback preg_replace_callback_array preg_replace preg_split contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
458 syn keyword phpFunctions pdo_drivers contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
459 syn keyword phpFunctions pdf_add_annotation pdf_add_bookmark pdf_add_launchlink pdf_add_locallink pdf_add_note pdf_add_outline pdf_add_pdflink pdf_add_thumbnail pdf_add_weblink pdf_arc pdf_arcn pdf_attach_file pdf_begin_page pdf_begin_pattern pdf_begin_template pdf_circle pdf_clip pdf_close_image pdf_close_pdi_page pdf_close_pdi pdf_close pdf_closepath_fill_stroke pdf_closepath_stroke pdf_closepath pdf_concat pdf_continue_text pdf_curveto pdf_delete pdf_end_page pdf_end_pattern pdf_end_template pdf_endpath pdf_fill_stroke pdf_fill pdf_findfont pdf_get_buffer pdf_get_font pdf_get_fontname pdf_get_fontsize pdf_get_image_height pdf_get_image_width pdf_get_majorversion pdf_get_minorversion pdf_get_parameter pdf_get_pdi_parameter pdf_get_pdi_value pdf_get_value pdf_initgraphics pdf_lineto pdf_makespotcolor pdf_moveto pdf_new pdf_open_CCITT pdf_open_file pdf_open_gif pdf_open_image_file pdf_open_image pdf_open_jpeg pdf_open_memory_image pdf_open_pdi_page pdf_open_pdi pdf_open_png pdf_open_tiff pdf_open pdf_place_image pdf_place_pdi_page pdf_rect pdf_restore pdf_rotate pdf_save pdf_scale pdf_set_border_color pdf_set_border_dash pdf_set_border_style pdf_set_char_spacing pdf_set_duration pdf_set_font pdf_set_horiz_scaling pdf_set_info_author pdf_set_info_creator pdf_set_info_keywords pdf_set_info_subject pdf_set_info_title pdf_set_info pdf_set_leading pdf_set_parameter pdf_set_text_matrix pdf_set_text_pos pdf_set_text_rendering pdf_set_text_rise pdf_set_value pdf_set_word_spacing pdf_setcolor pdf_setdash pdf_setflat pdf_setfont pdf_setgray_fill pdf_setgray_stroke pdf_setgray pdf_setlinecap pdf_setlinejoin pdf_setlinewidth pdf_setmatrix pdf_setmiterlimit pdf_setpolydash pdf_setrgbcolor_fill pdf_setrgbcolor_stroke pdf_setrgbcolor pdf_show_boxed pdf_show_xy pdf_show pdf_skew pdf_stringwidth pdf_stroke pdf_translate contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
460 syn keyword phpFunctions pfpro_cleanup pfpro_init pfpro_process_raw pfpro_process pfpro_version contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
461 syn keyword phpFunctions pg_affected_rows pg_cancel_query pg_client_encoding pg_close pg_connect pg_connection_busy pg_connection_reset pg_connection_status pg_convert pg_copy_from pg_copy_to pg_dbname pg_delete pg_end_copy pg_escape_bytea pg_escape_string pg_fetch_all pg_fetch_array pg_fetch_assoc pg_fetch_object pg_fetch_result pg_fetch_row pg_field_is_null pg_field_name pg_field_num pg_field_prtlen pg_field_size pg_field_type pg_free_result pg_get_notify pg_get_pid pg_get_result pg_host pg_insert pg_last_error pg_last_notice pg_last_oid pg_lo_close pg_lo_create pg_lo_export pg_lo_import pg_lo_open pg_lo_read_all pg_lo_read pg_lo_seek pg_lo_tell pg_lo_unlink pg_lo_write pg_meta_data pg_num_fields pg_num_rows pg_options pg_pconnect pg_ping pg_port pg_put_line pg_query pg_result_error pg_result_seek pg_result_status pg_select pg_send_query pg_set_client_encoding pg_trace pg_tty pg_unescape_bytea pg_untrace pg_update pg_clientencoding pg_cmdtuples pg_connect_poll pg_consume_input pg_errormessage pg_escape_identifier pg_escape_literal pg_exec pg_execute pg_fetch_all_columns pg_field_table pg_field_type_oid pg_fieldisnull pg_fieldname pg_fieldnum pg_fieldprtlen pg_fieldsize pg_fieldtype pg_flush pg_freeresult pg_getlastoid pg_lo_truncate pg_loclose pg_locreate pg_loexport pg_loimport pg_loopen pg_loread pg_loreadall pg_lounlink pg_lowrite pg_numfields pg_numrows pg_parameter_status pg_prepare pg_query_params pg_result pg_result_error_field pg_send_execute pg_send_prepare pg_send_query_params pg_set_error_verbosity pg_setclientencoding pg_socket pg_transaction_status pg_version contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
462 syn keyword phpFunctions posix_ctermid posix_get_last_error posix_getcwd posix_getegid posix_geteuid posix_getgid posix_getgrgid posix_getgrnam posix_getgroups posix_getlogin posix_getpgid posix_getpgrp posix_getpid posix_getppid posix_getpwnam posix_getpwuid posix_getrlimit posix_getsid posix_getuid posix_isatty posix_kill posix_mkfifo posix_setegid posix_seteuid posix_setgid posix_setpgid posix_setsid posix_setuid posix_strerror posix_times posix_ttyname posix_uname posix_access posix_errno posix_initgroups posix_mknod posix_setrlimit contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
463 syn keyword phpFunctions printer_abort printer_close printer_create_brush printer_create_dc printer_create_font printer_create_pen printer_delete_brush printer_delete_dc printer_delete_font printer_delete_pen printer_draw_bmp printer_draw_chord printer_draw_elipse printer_draw_line printer_draw_pie printer_draw_rectangle printer_draw_roundrect printer_draw_text printer_end_doc printer_end_page printer_get_option printer_list printer_logical_fontheight printer_open printer_select_brush printer_select_font printer_select_pen printer_set_option printer_start_doc printer_start_page printer_write contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
464 syn keyword phpFunctions pspell_add_to_personal pspell_add_to_session pspell_check pspell_clear_session pspell_config_create pspell_config_ignore pspell_config_mode pspell_config_personal pspell_config_repl pspell_config_runtogether pspell_config_save_repl pspell_new_config pspell_new_personal pspell_new pspell_save_wordlist pspell_store_replacement pspell_suggest pspell_config_data_dir pspell_config_dict_dir contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
465 syn keyword phpFunctions qdom_error qdom_tree contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
466 syn keyword phpFunctions readline_add_history readline_clear_history readline_completion_function readline_info readline_list_history readline_read_history readline_write_history readline readline_callback_handler_install readline_callback_handler_remove readline_callback_read_char readline_on_new_line readline_redisplay contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
467 syn keyword phpFunctions recode_file recode_string recode contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
468 syn keyword phpFunctions ereg_replace ereg eregi_replace eregi split spliti sql_regcase contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
469 syn keyword phpFunctions ftok msg_get_queue msg_queue_exists msg_receive msg_remove_queue msg_send msg_set_queue msg_stat_queue sem_acquire sem_get sem_release sem_remove shm_attach shm_detach shm_get_var shm_has_var shm_put_var shm_remove_var shm_remove contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
470 syn keyword phpFunctions sesam_affected_rows sesam_commit sesam_connect sesam_diagnostic sesam_disconnect sesam_errormsg sesam_execimm sesam_fetch_array sesam_fetch_result sesam_fetch_row sesam_field_array sesam_field_name sesam_free_result sesam_num_fields sesam_query sesam_rollback sesam_seek_row sesam_settransaction contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
471 syn keyword phpFunctions session_cache_expire session_cache_limiter session_decode session_destroy session_encode session_get_cookie_params session_id session_is_registered session_module_name session_name session_regenerate_id session_register session_save_path session_set_cookie_params session_set_save_handler session_start session_unregister session_unset session_write_close session_abort session_commit session_create_id session_gc session_register_shutdown session_reset session_status contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
472 syn keyword phpFunctions simplexml_import_dom simplexml_load_file simplexml_load_string contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
473 syn keyword phpFunctions shmop_close shmop_delete shmop_open shmop_read shmop_size shmop_write contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
474 syn keyword phpFunctions snmp_get_quick_print snmp_set_quick_print snmpget snmprealwalk snmpset snmpwalk snmpwalkoid contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
475 syn keyword phpFunctions is_soap_fault use_soap_error_handler contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
476 syn keyword phpFunctions socket_accept socket_bind socket_clear_error socket_close socket_connect socket_create_listen socket_create_pair socket_create socket_get_option socket_getpeername socket_getsockname socket_iovec_add socket_iovec_alloc socket_iovec_delete socket_iovec_fetch socket_iovec_free socket_iovec_set socket_last_error socket_listen socket_read socket_readv socket_recv socket_recvfrom socket_recvmsg socket_select socket_send socket_sendmsg socket_sendto socket_set_block socket_set_nonblock socket_set_option socket_shutdown socket_strerror socket_write socket_writev socket_addrinfo_bind socket_addrinfo_connect socket_addrinfo_explain socket_addrinfo_lookup socket_cmsg_space socket_export_stream socket_getopt socket_import_stream socket_setopt contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
477 syn keyword phpFunctions class_implements class_parents class_uses iterator_apply iterator_count iterator_to_array spl_autoload spl_autoload_call spl_autoload_extensions spl_autoload_functions spl_autoload_register spl_autoload_unregister spl_classes spl_object_hash spl_object_id contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
478 syn keyword phpFunctions sqlite_array_query sqlite_busy_timeout sqlite_changes sqlite_close sqlite_column sqlite_create_aggregate sqlite_create_function sqlite_current sqlite_error_string sqlite_escape_string sqlite_fetch_array sqlite_fetch_single sqlite_fetch_string sqlite_field_name sqlite_has_more sqlite_last_error sqlite_last_insert_rowid sqlite_libencoding sqlite_libversion sqlite_next sqlite_num_fields sqlite_num_rows sqlite_open sqlite_popen sqlite_query sqlite_rewind sqlite_seek sqlite_udf_decode_binary sqlite_udf_encode_binary sqlite_unbuffered_query contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
479 syn keyword phpFunctions stream_context_create stream_context_get_options stream_context_set_option stream_context_set_params stream_copy_to_stream stream_filter_append stream_filter_prepend stream_filter_register stream_get_contents stream_get_filters stream_get_line stream_get_meta_data stream_get_transports stream_get_wrappers stream_register_wrapper stream_select stream_set_blocking stream_set_timeout stream_set_write_buffer stream_socket_accept stream_socket_client stream_socket_get_name stream_socket_recvfrom stream_socket_sendto stream_socket_server stream_wrapper_register contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
480 syn keyword phpFunctions addcslashes addslashes bin2hex chop chr chunk_split convert_cyr_string count_chars crc32 crypt explode fprintf get_html_translation_table hebrev hebrevc html_entity_decode htmlentities htmlspecialchars implode join levenshtein localeconv ltrim md5_file md5 metaphone money_format nl_langinfo nl2br number_format ord parse_str print printf quoted_printable_decode quotemeta rtrim setlocale sha1_file sha1 similar_text soundex sprintf sscanf str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split str_word_count strcasecmp strchr strcmp strcoll strcspn strip_tags stripcslashes stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpos strrchr strrev strripos strrpos strspn strstr strtok strtolower strtoupper strtr substr_compare substr_count substr_replace substr trim ucfirst ucwords vprintf vsprintf wordwrap contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
481 syn keyword phpFunctions fdiv get_debug_type getdir str_contains str_ends_with str_starts_with
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
482 syn keyword phpFunctions swf_actiongeturl swf_actiongotoframe swf_actiongotolabel swf_actionnextframe swf_actionplay swf_actionprevframe swf_actionsettarget swf_actionstop swf_actiontogglequality swf_actionwaitforframe swf_addbuttonrecord swf_addcolor swf_closefile swf_definebitmap swf_definefont swf_defineline swf_definepoly swf_definerect swf_definetext swf_endbutton swf_enddoaction swf_endshape swf_endsymbol swf_fontsize swf_fontslant swf_fonttracking swf_getbitmapinfo swf_getfontinfo swf_getframe swf_labelframe swf_lookat swf_modifyobject swf_mulcolor swf_nextid swf_oncondition swf_openfile swf_ortho2 swf_ortho swf_perspective swf_placeobject swf_polarview swf_popmatrix swf_posround swf_pushmatrix swf_removeobject swf_rotate swf_scale swf_setfont swf_setframe swf_shapearc swf_shapecurveto3 swf_shapecurveto swf_shapefillbitmapclip swf_shapefillbitmaptile swf_shapefilloff swf_shapefillsolid swf_shapelinesolid swf_shapelineto swf_shapemoveto swf_showframe swf_startbutton swf_startdoaction swf_startshape swf_startsymbol swf_textwidth swf_translate swf_viewport contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
483 syn keyword phpFunctions sybase_affected_rows sybase_close sybase_connect sybase_data_seek sybase_deadlock_retry_count sybase_fetch_array sybase_fetch_assoc sybase_fetch_field sybase_fetch_object sybase_fetch_row sybase_field_seek sybase_free_result sybase_get_last_message sybase_min_client_severity sybase_min_error_severity sybase_min_message_severity sybase_min_server_severity sybase_num_fields sybase_num_rows sybase_pconnect sybase_query sybase_result sybase_select_db sybase_set_message_handler sybase_unbuffered_query contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
484 syn keyword phpFunctions tidy_access_count tidy_clean_repair tidy_config_count tidy_diagnose tidy_error_count tidy_get_body tidy_get_config tidy_get_error_buffer tidy_get_head tidy_get_html_ver tidy_get_html tidy_get_output tidy_get_release tidy_get_root tidy_get_status tidy_getopt tidy_is_xhtml tidy_load_config tidy_parse_file tidy_parse_string tidy_repair_file tidy_repair_string tidy_reset_config tidy_save_config tidy_set_encoding tidy_setopt tidy_warning_count tidy_is_xml tidy_get_opt_doc contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
485 syn keyword phpMethods attributes children get_attr get_nodes has_children has_siblings is_asp is_comment is_html is_jsp is_jste is_text is_xhtml is_xml next prev tidy_node contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
486 syn keyword phpFunctions token_get_all token_name contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
487 syn keyword phpFunctions base64_decode base64_encode get_meta_tags http_build_query parse_url rawurldecode rawurlencode urldecode urlencode contained
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
488 syn keyword phpFunctions doubleval empty floatval get_defined_vars get_resource_id get_resource_type gettype import_request_variables intval is_array is_bool is_callable is_double is_float is_int is_integer is_long is_null is_numeric is_object is_real is_resource is_scalar is_string isset print_r serialize settype strval unserialize unset var_dump var_export contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
489 syn keyword phpFunctions get_called_class property_exists interface_exists trait_exists class_alias get_mangled_object_vars set_exception_handler restore_exception_handler get_declared_traits get_declared_interfaces get_resources gc_mem_caches gc_collect_cycles gc_enabled gc_enable gc_disable gc_status contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
490 syn keyword phpFunctions vpopmail_add_alias_domain_ex vpopmail_add_alias_domain vpopmail_add_domain_ex vpopmail_add_domain vpopmail_add_user vpopmail_alias_add vpopmail_alias_del_domain vpopmail_alias_del vpopmail_alias_get_all vpopmail_alias_get vpopmail_auth_user vpopmail_del_domain_ex vpopmail_del_domain vpopmail_del_user vpopmail_error vpopmail_passwd vpopmail_set_user_quota contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
491 syn keyword phpFunctions w32api_deftype w32api_init_dtype w32api_invoke_function w32api_register_function w32api_set_call_method contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
492 syn keyword phpFunctions wddx_add_vars wddx_deserialize wddx_packet_end wddx_packet_start wddx_serialize_value wddx_serialize_vars contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
493 syn keyword phpFunctions utf8_decode utf8_encode xml_error_string xml_get_current_byte_index xml_get_current_column_number xml_get_current_line_number xml_get_error_code xml_parse_into_struct xml_parse xml_parser_create_ns xml_parser_create xml_parser_free xml_parser_get_option xml_parser_set_option xml_set_character_data_handler xml_set_default_handler xml_set_element_handler xml_set_end_namespace_decl_handler xml_set_external_entity_ref_handler xml_set_notation_decl_handler xml_set_object xml_set_processing_instruction_handler xml_set_start_namespace_decl_handler xml_set_unparsed_entity_decl_handler contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
494 syn keyword phpFunctions xmlrpc_decode_request xmlrpc_decode xmlrpc_encode_request xmlrpc_encode xmlrpc_get_type xmlrpc_parse_method_descriptions xmlrpc_server_add_introspection_data xmlrpc_server_call_method xmlrpc_server_create xmlrpc_server_destroy xmlrpc_server_register_introspection_callback xmlrpc_server_register_method xmlrpc_set_type xmlrpc_is_fault contained
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
495 syn keyword phpFunctions xmlwriter_end_attribute xmlwriter_end_cdata xmlwriter_end_comment xmlwriter_end_document xmlwriter_end_dtd xmlwriter_end_dtd_attlist xmlwriter_end_dtd_element xmlwriter_end_dtd_entity xmlwriter_end_element xmlwriter_end_pi xmlwriter_flush xmlwriter_full_end_element xmlwriter_open_memory xmlwriter_open_uri xmlwriter_output_memory xmlwriter_set_indent xmlwriter_set_indent_string xmlwriter_start_attribute xmlwriter_start_attribute_ns xmlwriter_start_cdata xmlwriter_start_comment xmlwriter_start_document xmlwriter_start_dtd xmlwriter_start_dtd_attlist xmlwriter_start_dtd_element xmlwriter_start_dtd_entity xmlwriter_start_element xmlwriter_start_element_ns xmlwriter_start_pi xmlwriter_text xmlwriter_write_attribute xmlwriter_write_attribute_ns xmlwriter_write_cdata xmlwriter_write_comment xmlwriter_write_dtd xmlwriter_write_dtd_attlist xmlwriter_write_dtd_element xmlwriter_write_dtd_entity xmlwriter_write_element xmlwriter_write_element_ns xmlwriter_write_pi xmlwriter_write_raw contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
496 syn keyword phpFunctions xslt_create xslt_errno xslt_error xslt_free xslt_output_process xslt_set_base xslt_set_encoding xslt_set_error_handler xslt_set_log xslt_set_sax_handler xslt_set_sax_handlers xslt_set_scheme_handler xslt_set_scheme_handlers contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
497 syn keyword phpFunctions yaz_addinfo yaz_ccl_conf yaz_ccl_parse yaz_close yaz_connect yaz_database yaz_element yaz_errno yaz_error yaz_es_result yaz_get_option yaz_hits yaz_itemorder yaz_present yaz_range yaz_record yaz_scan_result yaz_scan yaz_schema yaz_search yaz_set_option yaz_sort yaz_syntax yaz_wait contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
498 syn keyword phpFunctions zip_close zip_entry_close zip_entry_compressedsize zip_entry_compressionmethod zip_entry_filesize zip_entry_name zip_entry_open zip_entry_read zip_open zip_read contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
499 syn keyword phpFunctions gzclose gzcompress gzdeflate gzencode gzeof gzfile gzgetc gzgets gzgetss gzinflate gzopen gzpassthru gzputs gzread gzrewind gzseek gztell gzuncompress gzwrite readgzfile zlib_get_coding_type gzdecode zlib_encode zlib_decode deflate_init deflate_add inflate_init inflate_add inflate_get_status inflate_get_read_len contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 if exists( "php_baselib" )
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
502 syn keyword phpMethods query next_record num_rows affected_rows nf f p np num_fields haltmsg seek link_id query_id metadata table_names nextid connect halt free register unregister is_registered delete url purl self_url pself_url hidden_session add_query padd_query reimport_get_vars reimport_post_vars reimport_cookie_vars set_container set_tokenname release_token put_headers get_id get_id put_id freeze thaw gc reimport_any_vars start url purl login_if is_authenticated auth_preauth auth_loginform auth_validatelogin auth_refreshlogin auth_registerform auth_doregister start check have_perm permsum perm_invalid contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
503 syn keyword phpFunctions page_open page_close sess_load sess_save contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 " Conditional
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
507 syn keyword phpConditional declare else enddeclare endswitch elseif endif if switch match contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 " Repeat
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
510 syn keyword phpRepeat as do endfor endforeach endwhile for foreach while contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
512 " Label
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
513 syn keyword phpLabel case default switch contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 " Statement
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
516 syn keyword phpStatement return break continue exit goto yield contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
517
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
518 " Keyword
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
519 syn keyword phpKeyword var const contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 " Type
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
522 syn keyword phpType void bool boolean int integer real double float string array object NULL callable iterable mixed never contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 " Structure
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
525 syn keyword phpStructure namespace extends implements instanceof parent self contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527 " Operator
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
528 syn match phpOperator "[-=+%^&|*!.~?:]" contained display
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
529 syn match phpOperator "[-+*/%^&|.]=" contained display
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
530 syn match phpOperator "/[^*/]"me=e-1 contained display
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
531 syn match phpOperator "\$" contained display
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
532 syn match phpOperator "&&\|\<and\>" contained display
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
533 syn match phpOperator "||\|\<x\=or\>" contained display
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
534 syn match phpRelation "[!=<>]=" contained display
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
535 syn match phpRelation "[<>]" contained display
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
536 syn match phpRelation "<=>" contained display
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
537 " PHP 8.0 adds the nullsafe operator ?-> for property access and method calls.
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
538 syn match phpMemberSelector "?\?->" contained display
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
539 syn match phpVarSelector "\$" contained display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
541 " Identifier
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
542 syn match phpIdentifier "$\h\w*" contained contains=phpEnvVar,phpIntVar,phpVarSelector display
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
543 syn match phpIdentifierSimply "${\h\w*}" contains=phpOperator,phpParent contained display
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
544 syn region phpIdentifierComplex matchgroup=phpParent start="{\$"rs=e-1 end="}" contains=phpIdentifier,phpMemberSelector,phpVarSelector,phpIdentifierComplexP contained extend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
545 syn region phpIdentifierComplexP matchgroup=phpParent start="\[" end="]" contains=@phpClInside contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
547 " Interpolated indentifiers (inside strings)
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
548 syn match phpBrackets "[][}{]" contained display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
549 " errors
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
550 syn match phpInterpSimpleError "\[[^]]*\]" contained display " fallback (if nothing else matches)
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
551 syn match phpInterpSimpleError "?\?->[^a-zA-Z_]" contained display
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
552 " make sure these stay above the correct DollarCurlies so they don't take priority
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
553 syn match phpInterpBogusDollarCurley "${[^}]*}" contained display " fallback (if nothing else matches)
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
554 syn match phpInterpSimpleBracketsInner "\w\+" contained
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
555 syn match phpInterpSimpleBracketsInner "\$\h\w*" contained
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
556 syn match phpInterpSimpleBrackets "\[\$\?\h\w*]" contained contains=phpBrackets,phpInterpSimpleBracketsInner
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
557 " -0x1 and -123 refer to the string offsets '-0x1' and '-123' of array keys
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
558 " TODO: Support [1_2], [-0b1_10_1], etc (also literal strings).
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
559 syn match phpInterpSimpleBrackets "\[-\?\d\+]" contained contains=phpBrackets,phpInterpSimpleBracketsInner
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
560 syn match phpInterpSimpleBrackets "\[-\?0[xX]\x\+]" contained contains=phpBrackets,phpInterpSimpleBracketsInner
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
561 syn match phpInterpSimpleBrackets "\[-\?0[bB][01]\+]" contained contains=phpBrackets,phpInterpSimpleBracketsInner
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
562 syn match phpInterpSimple "\$\h\w*\(\[[^]]*\]\|?\?->\h\w*\)\?" contained contains=phpInterpSimpleBrackets,phpIdentifier,phpInterpSimpleError,phpMethods,phpMemberSelector display
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
563 syn match phpInterpVarname "\h\w*" contained
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
564 syn match phpInterpMethodName "\h\w*" contained " default color
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
565 syn match phpInterpSimpleCurly "\${\h\w*}" contains=phpInterpVarname contained extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
566 syn region phpInterpDollarCurley1Helper matchgroup=phpParent start="{" end="\[" contains=phpInterpVarname contained
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
567 syn region phpInterpDollarCurly1 matchgroup=phpParent start="\${\h\w*\["rs=s+1 end="]}" contains=phpInterpDollarCurley1Helper,@phpClConst contained extend
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
568
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
569 syn match phpInterpDollarCurley2Helper "{\h\w*?\?->" contains=phpBrackets,phpInterpVarname,phpMemberSelector contained
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
570
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
571 syn region phpInterpDollarCurly2 matchgroup=phpParent start="\${\h\w*?\?->"rs=s+1 end="}" contains=phpInterpDollarCurley2Helper,phpInterpMethodName contained
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
572
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
573 syn match phpInterpBogusDollarCurley "${\h\w*?\?->}" contained display
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
574 syn match phpInterpBogusDollarCurley "${\h\w*\[]}" contained display
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
575
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
576 syn region phpInterpComplex matchgroup=phpParent start="{\$"rs=e-1 end="}" contains=phpIdentifier,phpMemberSelector,phpVarSelector,phpIdentifierComplexP contained extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
577 syn region phpIdentifierComplexP matchgroup=phpParent start="\[" end="]" contains=@phpClInside contained
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
578 " define a cluster to get all interpolation syntaxes for double-quoted strings
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
579 syn cluster phpInterpDouble contains=phpInterpSimple,phpInterpSimpleCurly,phpInterpDollarCurly1,phpInterpDollarCurly2,phpInterpBogusDollarCurley,phpInterpComplex
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
580
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
581 " Methods
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
582 syn match phpMethodsVar "?\?->\h\w*" contained contains=phpMethods,phpMemberSelector display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
584 " Include
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
585 syn keyword phpInclude include require include_once require_once use contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
586
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
587 " Define
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
588 syn keyword phpDefine new clone contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
589
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590 " Boolean
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
591 syn keyword phpBoolean true false contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
593 " Float
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
594 " Refer to: https://www.php.net/manual/en/language.types.float.php
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
595 syn match phpFloat "\%(\w\|\.\)\@<!\%(\d_\?\|\.\)*\d\%(\d\|_\|\.\)*\%([eE][+-]\=\%(\d\|_\|\.\)\+\)\=\%(\w\|\.\)\@!" contained contains=phpFloatError display
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
596 syn match phpFloatError "\%([eE.][0-9._+-]*\.\|__\|_\(\>\|[eE]\)\|\(\>\|[eE]\)_\)" contained display
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
597
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 " Number
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
599 syn match phpNumber "\%(\.\)\@<!\<\%([1-9]\d*\|0\|0[xX]\(\x_\?\)*\x\)\>\%(\.\)\@!" contained display
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
600 syn match phpNumber "\%(\.\)\@<!\<0\d\+\|0[oO]\d\+\>\%(\.\)\@!" contained contains=phpOctalError display
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
601 syn match phpBinaryError "[2-9]" contained display
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
602 syn match phpNumber "\%(\.\)\@<!\<0[bB]\(\d_\?\)*\d\>\%(\.\)\@!" contained contains=phpBinaryError display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
603
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
604 " Backslash escapes
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
605 syn case match
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
606 " for double quotes and heredoc
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
607 syn match phpBackslashSequences "\\[fnrtv\\\"$]" contained display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
608 syn match phpBackslashSequences "\\\d\{1,3}" contained contains=phpOctalError display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
609 syn match phpBackslashSequences "\\x\x\{1,2}" contained display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
610 " additional sequence for double quotes only
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
611 syn match phpBackslashDoubleQuote "\\[\"]" contained display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
612 " for single quotes only
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
613 syn match phpBackslashSingleQuote "\\[\\']" contained display
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
614 syn case ignore
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
615
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
616
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
617 " Error
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
618 syn match phpOctalError "[89]" contained display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 if exists("php_parent_error_close")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
620 syn match phpParentError "[)\]}]" contained display
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 " Todo
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
624 syn keyword phpTodo todo fixme xxx contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 " Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 if exists("php_parent_error_open")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
628 syn region phpComment start="/\*" end="\*/" contained contains=phpTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 else
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
630 syn region phpComment start="/\*" end="\*/" contained contains=phpTodo,@Spell extend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631 endif
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
632 syn match phpComment "#.\{-}\(?>\|$\)\@=" contained contains=phpTodo,@Spell
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
633 syn match phpComment "//.\{-}\(?>\|$\)\@=" contained contains=phpTodo,@Spell
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 " String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 if exists("php_parent_error_open")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
637 syn region phpStringDouble matchgroup=phpStringDouble start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpBackslashSequences,phpBackslashDoubleQuote,@phpInterpDouble,@Spell contained keepend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
638 syn region phpBacktick matchgroup=phpBacktick start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpBackslashSequences,phpIdentifierSimply,phpIdentifierComplex contained keepend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
639 syn region phpStringSingle matchgroup=phpStringSingle start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings,phpBackslashSingleQuote,@Spell contained keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 else
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
641 syn region phpStringDouble matchgroup=phpStringDouble start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=@phpAddStrings,phpBackslashSequences,phpBackslashDoubleQuote,@phpInterpDouble,@Spell contained extend keepend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
642 syn region phpBacktick matchgroup=phpBacktick start=+`+ skip=+\\\\\|\\"+ end=+`+ contains=@phpAddStrings,phpIdentifier,phpBackslashSequences,phpIdentifierSimply,phpIdentifierComplex contained extend keepend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
643 syn region phpStringSingle matchgroup=phpStringSingle start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=@phpAddStrings,phpBackslashSingleQuote,@Spell contained keepend extend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
646 " HereDoc and NowDoc
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
647 syn case match
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
648
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
649 " HereDoc
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
650 syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\(\"\=\)\z(\I\i*\)\2$" end="^\s*\z1\>" contained contains=phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpBackslashSequences,phpMethodsVar,@Spell keepend extend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 " including HTML,JavaScript,SQL even if not enabled via options
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
652 syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\(\"\=\)\z(\(\I\i*\)\=\(html\)\c\(\i*\)\)\2$" end="^\s*\z1\>" contained contains=@htmlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpBackslashSequences,phpMethodsVar,@Spell keepend extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
653 syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\(\"\=\)\z(\(\I\i*\)\=\(sql\)\c\(\i*\)\)\2$" end="^\s*\z1\>" contained contains=@sqlTop,phpIdentifier,phpIdentifierSimply,phpIdentifierComplex,phpBackslashSequences,phpMethodsVar,@Spell keepend extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
654 syn region phpHereDoc matchgroup=Delimiter start="\(<<<\)\@<=\(\"\=\)\z(\(\I\i*\)\=\(javascript\)\c\(\i*\)\)\2$" end="^\s*\z1\>" contained contains=@htmlJavascript,phpIdentifierSimply,phpIdentifier,phpIdentifierComplex,phpBackslashSequences,phpMethodsVar,@Spell keepend extend
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
655
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
656 " NowDoc
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
657 syn region phpNowDoc matchgroup=Delimiter start="\(<<<\)\@<='\z(\I\i*\)'$" end="^\s*\z1\>" contained contains=@Spell keepend extend
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
658 " including HTML,JavaScript,SQL even if not enabled via options
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
659 syn region phpNowDoc matchgroup=Delimiter start="\(<<<\)\@<='\z(\(\I\i*\)\=\(html\)\c\(\i*\)\)'$" end="^\s*\z1\>" contained contains=@htmlTop,@Spell keepend extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
660 syn region phpNowDoc matchgroup=Delimiter start="\(<<<\)\@<='\z(\(\I\i*\)\=\(sql\)\c\(\i*\)\)'$" end="^\s*\z1\>" contained contains=@sqlTop,@Spell keepend extend
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
661 syn region phpNowDoc matchgroup=Delimiter start="\(<<<\)\@<='\z(\(\I\i*\)\=\(javascript\)\c\(\i*\)\)'$" end="^\s*\z1\>" contained contains=@htmlJavascript,@Spell keepend extend
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
662 syn case ignore
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 " Parent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 if exists("php_parent_error_close") || exists("php_parent_error_open")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
666 syn match phpParent "[{}]" contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
667 syn region phpParent matchgroup=Delimiter start="(" end=")" contained contains=@phpClInside transparent
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
668 syn region phpParent matchgroup=Delimiter start="#\?\[" end="\]" contained contains=@phpClInside transparent
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
669 if !exists("php_parent_error_close")
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
670 syn match phpParent "[\])]" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 else
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
673 syn match phpParent "[({[\]})]" contained
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
674 syn match phpParent "#\[" contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
677 syn cluster phpClConst contains=phpFunctions,phpIdentifier,phpConditional,phpRepeat,phpStatement,phpOperator,phpRelation,phpStringSingle,phpStringDouble,phpBacktick,phpNumber,phpFloat,phpKeyword,phpType,phpBoolean,phpStructure,phpMethodsVar,phpConstant,phpCoreConstant,phpException
3082
3502a7f991fc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2826
diff changeset
678 syn cluster phpClInside contains=@phpClConst,phpComment,phpLabel,phpParent,phpParentError,phpInclude,phpHereDoc,phpNowDoc
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
679 syn cluster phpClFunction contains=@phpClInside,phpDefine,phpParentError,phpStorageClass
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
680 syn cluster phpClTop contains=@phpClFunction,phpFoldFunction,phpFoldClass,phpFoldInterface,phpFoldTry,phpFoldCatch
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682 " Php Region
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 if exists("php_parent_error_open")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 if exists("php_noShortTags")
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
685 syn region phpRegion matchgroup=Delimiter start="<?\(php\|=\)" end="?>" contains=@phpClTop
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 else
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
687 syn region phpRegion matchgroup=Delimiter start="<?\(php\)\=" end="?>" contains=@phpClTop
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 endif
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
689 syn region phpRegionSc matchgroup=Delimiter start=+<script language="php">+ end=+</script>+ contains=@phpClTop
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
690 if exists("php_asp_tags")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
691 syn region phpRegionAsp matchgroup=Delimiter start="<%\(=\)\=" end="%>" contains=@phpClTop
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 if exists("php_noShortTags")
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
695 syn region phpRegion matchgroup=Delimiter start="<?\(php\|=\)" end="?>" contains=@phpClTop keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 else
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
697 syn region phpRegion matchgroup=Delimiter start="<?\(php\)\=" end="?>" contains=@phpClTop keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 endif
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
699 syn region phpRegionSc matchgroup=Delimiter start=+<script language="php">+ end=+</script>+ contains=@phpClTop keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 if exists("php_asp_tags")
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
701 syn region phpRegionAsp matchgroup=Delimiter start="<%\(=\)\=" end="%>" contains=@phpClTop keepend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 " Fold
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 if exists("php_folding") && php_folding==1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 " match one line constructs here and skip them at folding
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
708 syn keyword phpSCKeyword abstract final private protected public static readonly contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
709 syn keyword phpFCKeyword function contained
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
710 syn keyword phpDefine fn contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
711 syn keyword phpStorageClass global contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
712 syn match phpDefine "\(\s\|^\)\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function\(\s\+.*[;}]\)\@=" contained contains=phpSCKeyword
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
713 syn match phpStructure "\(\s\|^\)\(abstract\s\+\|final\s\+\)*\(trait\|class\)\(\s\+.*}\)\@=" contained
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
714 syn match phpStructure "\(\s\|^\)\(interface\|enum\)\(\s\+.*}\)\@=" contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
715 syn match phpException "\(\s\|^\)try\(\s\+.*}\)\@=" contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
716 syn match phpException "\(\s\|^\)catch\(\s\+.*}\)\@=" contained
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
717 syn match phpException "\(\s\|^\)finally\(\s\+.*}\)\@=" contained
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
718
14193
c460506890ba Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13950
diff changeset
719 setlocal foldmethod=syntax
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
720 syn region phpFoldHtmlInside matchgroup=Delimiter start="?>" end="<?\(php\)\=" contained transparent contains=@htmlTop
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
721 syn region phpFoldFunction matchgroup=Storageclass start="^\z(\s*\)\(abstract\s\+\|final\s\+\|private\s\+\|protected\s\+\|public\s\+\|static\s\+\)*function\s\([^};]*$\)\@="rs=e-9 matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldHtmlInside,phpFCKeyword contained transparent fold extend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
722 syn region phpFoldFunction matchgroup=Define start="^function\s\([^};]*$\)\@=" matchgroup=Delimiter end="^}" contains=@phpClFunction,phpFoldHtmlInside contained transparent fold extend
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
723 syn region phpFoldClass matchgroup=Structure start="^\z(\s*\)\(abstract\s\+\|final\s\+\)*\(trait\|class\|enum\)\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction,phpSCKeyword contained transparent fold extend
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
724 syn region phpFoldInterface matchgroup=Structure start="^\z(\s*\)interface\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
725 syn region phpFoldCatch matchgroup=Exception start="^\z(\s*\)catch\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
726 syn region phpFoldTry matchgroup=Exception start="^\z(\s*\)try\s\+\([^}]*$\)\@=" matchgroup=Delimiter end="^\z1}" contains=@phpClFunction,phpFoldFunction contained transparent fold extend
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 else
20379
7f88f6a3ed4c Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18594
diff changeset
728 syn keyword phpDefine function fn contained
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
729 syn keyword phpStructure abstract class trait interface enum contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
730 syn keyword phpException catch throw try finally contained
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
731 syn keyword phpStorageClass final global private protected public static readonly contained
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
732 if exists("php_folding") && php_folding==2
14193
c460506890ba Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13950
diff changeset
733 setlocal foldmethod=syntax
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
734 syn region phpFoldHtmlInside matchgroup=Delimiter start="?>" end="<?\(php\)\=" contained transparent contains=@htmlTop
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
735 syn region phpParent matchgroup=Delimiter start="{" end="}" contained contains=@phpClFunction,phpFoldHtmlInside transparent fold
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
736 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
739 " ================================================================
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
740 " Peter Hodge - June 9, 2006
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
741 " Some of these changes (highlighting isset/unset/echo etc) are not so
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
742 " critical, but they make things more colourful. :-)
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
743
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
744 " different syntax highlighting for 'echo', 'print', 'switch', 'die' and 'list' keywords
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
745 " to better indicate what they are.
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
746 syntax keyword phpDefine echo print contained
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
747 syntax keyword phpStructure list contained
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
748 syntax keyword phpConditional switch contained
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
749 syntax keyword phpStatement die contained
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
750
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
751 " Highlighting for PHP's user-definable magic class methods
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
752 syntax keyword phpSpecialFunction containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
753 \ __construct __destruct __call __callStatic __get __set __isset __unset __sleep __wakeup __toString __invoke __set_state __clone __debugInfo __serialize __unserialize
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
754 " Highlighting for __autoload slightly different from line above
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
755 syntax keyword phpSpecialFunction containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
756 \ __autoload
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
757 hi def link phpSpecialFunction phpOperator
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
758
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
759 " Highlighting for PHP5's built-in classes
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
760 " Note: Some of the names have inconsistent cases.
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
761 " Those are probably the actual name in reflection and should not be changed in
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
762 " this file.
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
763 " (CURLFile and CurlShareHandle, XMLReader and XmlParser, etc)
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
764 syntax keyword phpClasses containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
765 \ stdClass __PHP_Incomplete_Class php_user_filter AssertionError Directory ArrayObject
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
766 \ Exception ErrorException LogicException BadFunctionCallException BadMethodCallException DomainException
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
767 \ ArgumentCountError ArithmeticError ClosedGeneratorException Closure CompileError DivisionByZeroError Generator ParseError TypeError WeakReference
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
768 \ RecursiveIteratorIterator IteratorIterator FilterIterator RecursiveFilterIterator ParentIterator LimitIterator
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
769 \ CachingIterator RecursiveCachingIterator NoRewindIterator AppendIterator InfiniteIterator EmptyIterator
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
770 \ ArrayIterator RecursiveArrayIterator DirectoryIterator RecursiveDirectoryIterator
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
771 \ CallbackFilterIterator FilesystemIterator GlobIterator MultipleIterator RecursiveCallbackFilterIterator
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
772 \ RecursiveRegexIterator RecursiveTreeIterator RegexIterator SplDoublyLinkedList
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
773 \ SplFixedArray SplHeap SplMaxHeap SplMinHeap SplPriorityQueue SplQueue SplStack
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
774 \ InvalidArgumentException LengthException OutOfRangeException RuntimeException OutOfBoundsException
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
775 \ Attribute InternalIterator Stringable UnhandledMatchError ValueError WeakMap
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
776 \ OverflowException RangeException UnderflowException UnexpectedValueException
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
777 \ PDO PDOException PDOStatement PDORow
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
778 \ Reflection ReflectionFunction ReflectionParameter ReflectionMethod ReflectionClass
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
779 \ ReflectionObject ReflectionProperty ReflectionExtension ReflectionException
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
780 \ ReflectionClassConstant ReflectionFunctionAbstract ReflectionGenerator ReflectionNamedType
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
781 \ ReflectionReference ReflectionType ReflectionZendExtension
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
782 \ ReflectionAttribute ReflectionUnionType
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
783 \ SplFileInfo SplFileObject SplTempFileObject SplObjectStorage
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
784 \ XMLWriter LibXMLError XMLReader SimpleXMLElement SimpleXMLIterator
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
785 \ XmlParser
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
786 \ DeflateContext InflateContext
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
787 \ DOMException DOMStringList DOMNameList DOMDomError DOMErrorHandler
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
788 \ DOMImplementation DOMImplementationList DOMImplementationSource
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
789 \ DOMNode DOMNameSpaceNode DOMDocumentFragment DOMDocument DOMNodeList DOMNamedNodeMap
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
790 \ DOMCharacterData DOMAttr DOMElement DOMText DOMComment DOMTypeinfo DOMUserDataHandler
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
791 \ DOMLocator DOMConfiguration DOMCdataSection DOMDocumentType DOMNotation DOMEntity
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
792 \ DOMEntityReference DOMProcessingInstruction DOMStringExtend DOMXPath
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
793 \ DOMChildNode DOMParentNode
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
794 \ EnchantBroker EnchantDictionary
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
795 \ GdImage
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
796 \ OpenSSLAsymmetricKey OpenSSLCertificate OpenSSLCertificateSigningRequest
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
797 \ Shmop
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
798 \ AddressInfo Socket
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
799 \ SysvMessageQueue SysvSemaphore SysvSharedMemory
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
800 \ PhpToken
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
801 \ APCIterator APCuIterator
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
802 \ CURLFile CurlHandle CurlMultiHandle CurlShareHandle
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
803 \ DateInterval DatePeriod DateTime DateTimeImmutable DateTimeZone
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
804 \ finfo
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
805 \ GMP
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
806 \ Collator IntlBreakIterator IntlCalendar IntlChar IntlCodePointBreakIterator IntlDateFormatter IntlException IntlGregorianCalendar IntlIterator IntlPartsIterator IntlRuleBasedBreakIterator IntlTimeZone Locale MessageFormatter Normalizer NumberFormatter ResourceBundle Spoofchecker Transliterator UConverter
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
807 \ FFI CData CType ParserException
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
808 \ HashContext
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
809 \ JsonException
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
810 \ Memcached MemcachedException
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
811 \ mysqli mysqli_driver mysqli_result mysqli_sql_exception mysqli_stmt mysqli_warning
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
812 \ SessionHandler
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
813 \ SoapClient SoapFault SoapHeader SoapParam SoapServer SoapVar
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
814 \ SQLite3 SQLite3Result SQLite3Stmt
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
815 \ tidy tidyNode
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
816 \ XSLTProcessor ZipArchive
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
817 \ Phar PharData PharException PharFileInfo
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
818
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
819 hi def link phpClasses phpFunctions
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
820
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
821 " Highlighting for PHP's built-in interfaces
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
822 syntax keyword phpInterfaces containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle,phpIdentifier,phpMethodsVar
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
823 \ Iterator IteratorAggregate RecursiveIterator OuterIterator SeekableIterator
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
824 \ Traversable ArrayAccess Serializable Countable SplObserver SplSubject Reflector
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
825 \ Throwable DateTimeInterface JsonSerializable SessionHandlerInterface SessionIdInterface SessionUpdateTimestampHandlerInterface
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
826
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
827 hi def link phpInterfaces phpConstant
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
828
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
829 " option defaults:
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
830 if ! exists('php_special_functions')
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
831 let php_special_functions = 1
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
832 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
833 if ! exists('php_alt_comparisons')
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
834 let php_alt_comparisons = 1
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
835 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
836 if ! exists('php_alt_assignByReference')
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
837 let php_alt_assignByReference = 1
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
838 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
839
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
840 if php_special_functions
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
841 " Highlighting for PHP built-in functions which exhibit special behaviours
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
842 " - isset()/unset()/empty() are not real functions.
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
843 " - compact()/extract() directly manipulate variables in the local scope where
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
844 " regular functions would not be able to.
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
845 " - eval() is the token 'make_your_code_twice_as_complex()' function for PHP.
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
846 " - user_error()/trigger_error() can be overloaded by set_error_handler and also
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
847 " have the capacity to terminate your script when type is E_USER_ERROR.
22171
d4c7b3e9cd17 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20379
diff changeset
848 " - match(){} is not a function
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
849 syntax keyword phpSpecialFunction containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
850 \ user_error trigger_error isset unset eval extract compact empty
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
851 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
852
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
853 if php_alt_assignByReference
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
854 " special highlighting for '=&' operator
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
855 syntax match phpAssignByRef /=\s*&/ containedin=ALLBUT,phpComment,phpStringDouble,phpStringSingle
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
856 hi def link phpAssignByRef Type
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
857 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
858
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
859 if php_alt_comparisons
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
860 " highlight comparison operators differently
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
861 syntax match phpComparison "\v[=!]\=\=?" contained containedin=phpRegion
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
862 syntax match phpComparison "\v[=<>-]@<![<>]\=?[<>]@!" contained containedin=phpRegion
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22171
diff changeset
863 syntax match phpComparison "<=>" contained containedin=phpRegion
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
864
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
865 " highlight the 'instanceof' operator as a comparison operator rather than a structure
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
866 syntax case ignore
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
867 syntax keyword phpComparison instanceof contained containedin=phpRegion
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
868
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
869 hi def link phpComparison Statement
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
870 endif
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
871
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
872 " ================================================================
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874 " Sync
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 if php_sync_method==-1
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876 if exists("php_noShortTags")
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
877 syn sync match phpRegionSync grouphere phpRegion "^\s*<?\(php\|=\)\s*$"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 syn sync match phpRegionSync grouphere phpRegion "^\s*<?\(php\)\=\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 syn sync match phpRegionSync grouphere phpRegionSc +^\s*<script language="php">\s*$+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 if exists("php_asp_tags")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 syn sync match phpRegionSync grouphere phpRegionAsp "^\s*<%\(=\)\=\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 syn sync match phpRegionSync grouphere NONE "^\s*?>\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 syn sync match phpRegionSync grouphere NONE "^\s*%>\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 syn sync match phpRegionSync grouphere phpRegion "function\s.*(.*\$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 "syn sync match phpRegionSync grouphere NONE "/\i*>\s*$"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 elseif php_sync_method>0
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 exec "syn sync minlines=" . php_sync_method
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 exec "syn sync fromstart"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
895 syntax match phpDocCustomTags "@[a-zA-Z]*\(\s\+\|\n\|\r\)" containedin=phpComment
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
896 syntax region phpDocTags start="{@\(example\|id\|internal\|inheritdoc\|link\|source\|toc\|tutorial\)" end="}" containedin=phpComment
25836
65de67669df3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
897 syntax match phpDocTags "@\(abstract\|access\|api\|author\|category\|copyright\|deprecated\|example\|final\|global\|ignore\|internal\|license\|link\|method\|name\|package\|param\|property\(-write\|-read\)\?\|return\|see\|since\|source\|static\|staticvar\|subpackage\|tutorial\|uses\|used-by\|var\|version\|contributor\|modified\|filename\|description\|filesource\|throws\)\(\s\+\)\?" containedin=phpComment
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
898 syntax match phpDocTodo "@\(todo\|fixme\|xxx\)\(\s\+\)\?" containedin=phpComment
5340
22da5ab9aaa1 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4073
diff changeset
899
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 " Define the default highlighting.
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
901 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
903 hi def link phpConstant Constant
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
904 hi def link phpCoreConstant Constant
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
905 hi def link phpComment Comment
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
906 hi def link phpDocTags PreProc
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
907 hi def link phpDocCustomTags Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
908 hi def link phpException Exception
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
909 hi def link phpBoolean Boolean
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
910 hi def link phpStorageClass StorageClass
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
911 hi def link phpSCKeyword StorageClass
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
912 hi def link phpFCKeyword Define
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
913 hi def link phpStructure Structure
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
914 hi def link phpStringSingle String
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
915 hi def link phpStringDouble String
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
916 hi def link phpBacktick String
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
917 hi def link phpNumber Number
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
918 hi def link phpFloat Float
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
919 hi def link phpMethods Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
920 hi def link phpFunctions Function
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
921 hi def link phpBaselib Function
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
922 hi def link phpRepeat Repeat
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
923 hi def link phpConditional Conditional
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
924 hi def link phpLabel Label
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
925 hi def link phpStatement Statement
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
926 hi def link phpKeyword Statement
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
927 hi def link phpType Type
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
928 hi def link phpInclude Include
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
929 hi def link phpDefine Define
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
930 hi def link phpBackslashSequences SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
931 hi def link phpBackslashDoubleQuote SpecialChar
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
932 hi def link phpBackslashSingleQuote SpecialChar
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
933 hi def link phpParent Delimiter
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
934 hi def link phpBrackets Delimiter
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
935 hi def link phpIdentifierConst Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
936 hi def link phpParentError Error
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
937 hi def link phpOctalError Error
18594
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
938 hi def link phpBinaryError Error
e9a47bcf7b94 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14193
diff changeset
939 hi def link phpFloatError Error
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
940 hi def link phpInterpSimpleError Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
941 hi def link phpInterpBogusDollarCurley Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
942 hi def link phpInterpDollarCurly1 Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
943 hi def link phpInterpDollarCurly2 Error
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
944 hi def link phpInterpSimpleBracketsInner String
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
945 hi def link phpInterpSimpleCurly Delimiter
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
946 hi def link phpInterpVarname Identifier
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
947 hi def link phpTodo Todo
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
948 hi def link phpDocTodo Todo
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
949 hi def link phpMemberSelector Structure
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
950 if exists("php_oldStyle")
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
951 hi def phpIntVar guifg=Red ctermfg=DarkRed
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
952 hi def phpEnvVar guifg=Red ctermfg=DarkRed
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
953 hi def phpOperator guifg=SeaGreen ctermfg=DarkGreen
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
954 hi def phpVarSelector guifg=SeaGreen ctermfg=DarkGreen
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
955 hi def phpRelation guifg=SeaGreen ctermfg=DarkGreen
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
956 hi def phpIdentifier guifg=DarkGray ctermfg=Brown
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
957 hi def phpIdentifierSimply guifg=DarkGray ctermfg=Brown
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
958 else
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
959 hi def link phpIntVar Identifier
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
960 hi def link phpEnvVar Identifier
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
961 hi def link phpOperator Operator
11659
49c12c93abf3 Updated runtime files and translations.
Christian Brabandt <cb@256bit.org>
parents: 11518
diff changeset
962 hi def link phpVarSelector Operator
10498
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
963 hi def link phpRelation Operator
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
964 hi def link phpIdentifier Identifier
883396809b45 commit https://github.com/vim/vim/commit/bc2eada5424bff06f7eb77c032ecc067da52b846
Christian Brabandt <cb@256bit.org>
parents: 10051
diff changeset
965 hi def link phpIdentifierSimply Identifier
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 9737
diff changeset
966 endif
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
967
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
968 let b:current_syntax = "php"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
969
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
970 if main_syntax == 'php'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
971 unlet main_syntax
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
972 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
973
3153
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
974 " put cpoptions back the way we found it
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
975 let &cpo = s:cpo_save
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
976 unlet s:cpo_save
37ecb8ff4560 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3082
diff changeset
977
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 835
diff changeset
978 " vim: ts=8 sts=2 sw=2 expandtab