github-linguist 7.11.1 → 7.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (583) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +619 -363
  3. data/ext/linguist/lex.linguist_yy.h +425 -59
  4. data/ext/linguist/linguist.c +5 -35
  5. data/ext/linguist/linguist.h +0 -18
  6. data/ext/linguist/tokenizer.l +61 -36
  7. data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
  8. data/grammars/config.xcompose.json +1 -80
  9. data/grammars/documentation.markdown.injection.haxe.json +1 -22
  10. data/grammars/etc.json +1 -987
  11. data/grammars/file.lasso.json +1 -702
  12. data/grammars/hidden.manref.json +1 -29
  13. data/grammars/hidden.regexp.injection-shell.json +1 -28
  14. data/grammars/hint.haskell.json +1 -1762
  15. data/grammars/hint.message.haskell.json +1 -1786
  16. data/grammars/hint.type.haskell.json +1 -1759
  17. data/grammars/injections.etc.json +1 -659
  18. data/grammars/inline.prisma.json +1 -55
  19. data/grammars/markdown.hack.codeblock.json +1 -20
  20. data/grammars/markdown.haxe.codeblock.json +1 -26
  21. data/grammars/markdown.hxml.codeblock.json +1 -26
  22. data/grammars/markdown.plantuml.codeblock.json +1 -26
  23. data/grammars/objdump.x86asm.json +1 -69
  24. data/grammars/source.4dm.json +1 -1156
  25. data/grammars/source.SASLog.json +1 -18
  26. data/grammars/source.abap.json +1 -335
  27. data/grammars/source.abl.json +1 -734
  28. data/grammars/source.abnf.json +1 -294
  29. data/grammars/source.actionscript.3.json +1 -1538
  30. data/grammars/source.acucobol.json +1 -13
  31. data/grammars/source.ada.json +1 -133
  32. data/grammars/source.afm.json +1 -1207
  33. data/grammars/source.agc.json +1 -87
  34. data/grammars/source.agda.json +1 -72
  35. data/grammars/source.ahk.json +1 -195
  36. data/grammars/source.al.json +1 -130
  37. data/grammars/source.alloy.json +1 -40
  38. data/grammars/source.ampl.json +1 -151
  39. data/grammars/source.angelscript.json +1 -186
  40. data/grammars/source.antlr.json +1 -295
  41. data/grammars/source.apache-config.json +1 -346
  42. data/grammars/source.apache-config.mod_perl.json +1 -65
  43. data/grammars/source.apl.json +1 -1427
  44. data/grammars/source.applescript.json +1 -1384
  45. data/grammars/source.asl.json +1 -56
  46. data/grammars/source.asn.json +1 -55
  47. data/grammars/source.asp.json +1 -151
  48. data/grammars/source.aspectj.json +1 -960
  49. data/grammars/source.assembly.json +1 -116
  50. data/grammars/source.ats.json +1 -164
  51. data/grammars/source.autoit.json +1 -167
  52. data/grammars/source.avro.json +1 -381
  53. data/grammars/source.awk.json +1 -384
  54. data/grammars/source.ballerina.json +1 -1785
  55. data/grammars/source.batchfile.json +1 -732
  56. data/grammars/source.bdf.json +1 -425
  57. data/grammars/source.befunge.json +1 -34
  58. data/grammars/source.bf.json +1 -30
  59. data/grammars/source.blitzmax.json +1 -905
  60. data/grammars/source.bnf.json +1 -191
  61. data/grammars/source.boo.json +1 -448
  62. data/grammars/source.brightauthorproject.json +1 -24
  63. data/grammars/source.brightscript.json +1 -148
  64. data/grammars/source.bsl.json +1 -451
  65. data/grammars/source.bsv.json +1 -277
  66. data/grammars/source.c++.json +1 -436
  67. data/grammars/source.c++.qt.json +1 -29
  68. data/grammars/source.c.ec.json +1 -33
  69. data/grammars/source.c.json +1 -712
  70. data/grammars/source.c.nwscript.json +1 -0
  71. data/grammars/source.c.platform.json +1 -1115
  72. data/grammars/source.c2hs.json +1 -24
  73. data/grammars/source.cabal.json +1 -63
  74. data/grammars/source.cache.cmake.json +1 -70
  75. data/grammars/source.cake.json +1 -13
  76. data/grammars/source.camlp4.ocaml.json +1 -60
  77. data/grammars/source.capnp.json +1 -88
  78. data/grammars/source.ceylon.json +1 -93
  79. data/grammars/source.cfscript.cfc.json +1 -162
  80. data/grammars/source.cfscript.json +1 -737
  81. data/grammars/source.changelogs.rpm-spec.json +1 -91
  82. data/grammars/source.chapel.json +1 -265
  83. data/grammars/source.cirru.json +1 -61
  84. data/grammars/source.clarion.json +1 -146
  85. data/grammars/source.clean.json +1 -222
  86. data/grammars/source.click.json +1 -107
  87. data/grammars/source.clips.json +1 -67
  88. data/grammars/source.clojure.json +1 -429
  89. data/grammars/source.cm.json +1 -49
  90. data/grammars/source.cmake.json +1 -173
  91. data/grammars/source.cobol.json +1 -485
  92. data/grammars/source.coffee.json +1 -1310
  93. data/grammars/source.cool.json +1 -96
  94. data/grammars/source.coq.json +1 -58
  95. data/grammars/source.crystal.json +1 -2694
  96. data/grammars/source.cs.json +1 -4323
  97. data/grammars/source.csound-document.json +1 -175
  98. data/grammars/source.csound-score.json +1 -191
  99. data/grammars/source.csound.json +1 -824
  100. data/grammars/source.css.json +1 -1859
  101. data/grammars/source.css.less.json +1 -536
  102. data/grammars/source.css.mss.json +1 -249
  103. data/grammars/source.css.postcss.sugarss.json +1 -260
  104. data/grammars/source.css.scss.json +1 -1873
  105. data/grammars/source.csx.json +1 -13
  106. data/grammars/source.cuda-c++.json +1 -103
  107. data/grammars/source.curlrc.json +1 -984
  108. data/grammars/source.cwl.json +1 -103
  109. data/grammars/source.cython.json +1 -1912
  110. data/grammars/source.d.json +1 -741
  111. data/grammars/source.dart.json +1 -433
  112. data/grammars/source.data-weave.json +1 -1580
  113. data/grammars/source.desktop.json +1 -86
  114. data/grammars/source.diff.json +1 -153
  115. data/grammars/source.dircolors.json +1 -137
  116. data/grammars/source.direct-x.json +1 -135
  117. data/grammars/source.disasm.json +1 -30
  118. data/grammars/source.ditroff.desc.json +1 -411
  119. data/grammars/source.ditroff.json +1 -1280
  120. data/grammars/source.dm.json +1 -628
  121. data/grammars/source.dmf.json +1 -96
  122. data/grammars/source.dockerfile.json +1 -88
  123. data/grammars/source.dosbox-conf.json +1 -97
  124. data/grammars/source.dot.json +1 -117
  125. data/grammars/source.dylan.json +1 -212
  126. data/grammars/source.ebnf.json +1 -240
  127. data/grammars/source.editorconfig.json +1 -365
  128. data/grammars/source.eiffel.json +1 -133
  129. data/grammars/source.elixir.json +1 -965
  130. data/grammars/source.elm.json +1 -375
  131. data/grammars/source.emacs.lisp.json +1 -1301
  132. data/grammars/source.erlang.json +1 -1647
  133. data/grammars/source.essl.json +1 -37
  134. data/grammars/source.factor.json +1 -252
  135. data/grammars/source.fan.json +1 -341
  136. data/grammars/source.fancy.json +1 -245
  137. data/grammars/source.faust.json +1 -119
  138. data/grammars/source.figctrl.json +1 -252
  139. data/grammars/source.figfont.json +1 -121
  140. data/grammars/source.firestore.json +1 -289
  141. data/grammars/source.fish.json +1 -190
  142. data/grammars/source.fontdir.json +1 -99
  143. data/grammars/source.fontforge.json +1 -355
  144. data/grammars/source.forth.json +1 -84
  145. data/grammars/source.fortran.json +1 -464
  146. data/grammars/source.fortran.modern.json +1 -200
  147. data/grammars/source.fsharp.fsi.json +1 -9
  148. data/grammars/source.fsharp.fsl.json +1 -9
  149. data/grammars/source.fsharp.fsx.json +1 -13
  150. data/grammars/source.fsharp.json +1 -452
  151. data/grammars/source.fstar.json +1 -439
  152. data/grammars/source.futhark.json +1 -167
  153. data/grammars/source.gap.json +1 -163
  154. data/grammars/source.gcode.json +1 -176
  155. data/grammars/source.gdb.json +1 -160
  156. data/grammars/source.gdb.session.json +1 -70
  157. data/grammars/source.gdbregs.json +1 -14
  158. data/grammars/source.gdscript.json +1 -491
  159. data/grammars/source.gedcom.json +1 -196
  160. data/grammars/source.generic-db.json +1 -41
  161. data/grammars/source.gerber.json +1 -321
  162. data/grammars/source.gf.json +1 -51
  163. data/grammars/source.gfm.blade.json +1 -15
  164. data/grammars/source.gfm.json +1 -1913
  165. data/grammars/source.gitattributes.json +1 -111
  166. data/grammars/source.gitconfig.json +1 -450
  167. data/grammars/source.gitignore.json +1 -140
  168. data/grammars/source.glsl.json +1 -139
  169. data/grammars/source.gn.json +1 -345
  170. data/grammars/source.gnuplot.json +1 -260
  171. data/grammars/source.go.json +1 -540
  172. data/grammars/source.golo.json +1 -177
  173. data/grammars/source.gosu.2.json +1 -153
  174. data/grammars/source.grace.json +1 -675
  175. data/grammars/source.graphql.json +1 -978
  176. data/grammars/source.gremlin.json +1 -200
  177. data/grammars/source.groovy.gradle.json +1 -69
  178. data/grammars/source.groovy.json +1 -1374
  179. data/grammars/source.hack.json +1 -2595
  180. data/grammars/source.haproxy-config.json +1 -152
  181. data/grammars/source.harbour.json +1 -388
  182. data/grammars/source.haskell.json +1 -1760
  183. data/grammars/source.hc.json +1 -709
  184. data/grammars/source.hgignore.json +1 -34
  185. data/grammars/source.hlsl.json +1 -211
  186. data/grammars/source.hosts.json +1 -40
  187. data/grammars/source.hql.json +1 -492
  188. data/grammars/source.hsc2hs.json +1 -9
  189. data/grammars/source.hsig.json +1 -1760
  190. data/grammars/source.httpspec.json +1 -283
  191. data/grammars/source.hx.argument.json +1 -80
  192. data/grammars/source.hx.json +1 -2428
  193. data/grammars/source.hx.type.json +1 -8
  194. data/grammars/source.hxml.json +1 -59
  195. data/grammars/source.hy.json +1 -429
  196. data/grammars/source.ideal.json +1 -356
  197. data/grammars/source.idl-dlm.json +1 -105
  198. data/grammars/source.idl.json +1 -246
  199. data/grammars/source.idris.json +1 -523
  200. data/grammars/source.igor.json +1 -369
  201. data/grammars/source.inform7.json +1 -183
  202. data/grammars/source.ini.json +1 -107
  203. data/grammars/source.ini.npmrc.json +1 -311
  204. data/grammars/source.inno.json +1 -133
  205. data/grammars/source.inputrc.json +1 -500
  206. data/grammars/source.io.json +1 -156
  207. data/grammars/source.ioke.json +1 -266
  208. data/grammars/source.isabelle.root.json +1 -64
  209. data/grammars/source.isabelle.theory.json +1 -102
  210. data/grammars/source.j.json +1 -260
  211. data/grammars/source.jasmin.json +1 -294
  212. data/grammars/source.java-properties.json +1 -87
  213. data/grammars/source.java.json +1 -1020
  214. data/grammars/source.jcl.json +1 -46
  215. data/grammars/source.jflex.json +1 -484
  216. data/grammars/source.jison.json +1 -711
  217. data/grammars/source.jisonlex-injection.json +1 -10
  218. data/grammars/source.jisonlex.json +1 -434
  219. data/grammars/source.jolie.json +1 -132
  220. data/grammars/source.jq.json +1 -211
  221. data/grammars/source.js.css.json +1 -328
  222. data/grammars/source.js.json +1 -1897
  223. data/grammars/source.js.jsx.json +1 -2488
  224. data/grammars/source.js.objj.json +1 -419
  225. data/grammars/source.js.regexp.json +1 -152
  226. data/grammars/source.js.regexp.replacement.json +1 -26
  227. data/grammars/source.jsdoc.json +1 -460
  228. data/grammars/source.json.json +1 -139
  229. data/grammars/source.jsonnet.json +1 -197
  230. data/grammars/source.julia.console.json +1 -51
  231. data/grammars/source.julia.json +1 -991
  232. data/grammars/source.kotlin.json +1 -704
  233. data/grammars/source.lark.json +1 -0
  234. data/grammars/source.lbnf.json +1 -0
  235. data/grammars/source.lcov.json +1 -398
  236. data/grammars/source.lean.json +1 -226
  237. data/grammars/source.lean.markdown.json +1 -2598
  238. data/grammars/source.lex.json +1 -232
  239. data/grammars/source.lex.regexp.json +1 -269
  240. data/grammars/source.lid.json +1 -19
  241. data/grammars/source.lilypond.json +1 -869
  242. data/grammars/source.lisp.json +1 -101
  243. data/grammars/source.litcoffee.json +1 -654
  244. data/grammars/source.livescript.json +1 -603
  245. data/grammars/source.llvm.json +1 -61
  246. data/grammars/source.logos.json +1 -24
  247. data/grammars/source.logtalk.json +1 -310
  248. data/grammars/source.loomscript.json +1 -208
  249. data/grammars/source.lsl.json +1 -241
  250. data/grammars/source.ltspice.symbol.json +1 -294
  251. data/grammars/source.lua.json +1 -275
  252. data/grammars/source.m2.json +1 -125
  253. data/grammars/source.m4.json +1 -229
  254. data/grammars/source.m68k.json +1 -412
  255. data/grammars/source.mailmap.json +1 -28
  256. data/grammars/source.makefile.json +1 -470
  257. data/grammars/source.makegen.json +1 -9
  258. data/grammars/source.man-conf.json +1 -153
  259. data/grammars/source.mask.json +1 -816
  260. data/grammars/source.mata.json +1 -125
  261. data/grammars/source.mathematica.json +1 -416
  262. data/grammars/source.matlab.json +1 -1096
  263. data/grammars/source.maxscript.json +1 -465
  264. data/grammars/source.mcfunction-snapshot.json +1 -24480
  265. data/grammars/source.mcfunction.json +1 -1354
  266. data/grammars/source.mercury.json +1 -246
  267. data/grammars/source.meson.json +1 -165
  268. data/grammars/source.meta-info.json +1 -146
  269. data/grammars/source.ml.json +1 -285
  270. data/grammars/source.mlir.json +1 -109
  271. data/grammars/source.modelica.json +1 -142
  272. data/grammars/source.modula-3.json +1 -88
  273. data/grammars/source.modula2.json +1 -94
  274. data/grammars/source.monkey.json +1 -694
  275. data/grammars/source.moonscript.json +1 -144
  276. data/grammars/source.mql5.json +1 -187
  277. data/grammars/source.msl.json +1 -755
  278. data/grammars/source.mupad.json +1 -131
  279. data/grammars/source.nanorc.json +1 -333
  280. data/grammars/source.nasl.json +1 -155
  281. data/grammars/source.ncl.json +1 -53
  282. data/grammars/source.ne.json +1 -105
  283. data/grammars/source.nemerle.json +1 -132
  284. data/grammars/source.neon.json +1 -381
  285. data/grammars/source.nesc.json +1 -21
  286. data/grammars/source.netlinx.erb.json +1 -34
  287. data/grammars/source.netlinx.json +1 -704
  288. data/grammars/source.nextflow-groovy.json +1 -1359
  289. data/grammars/source.nextflow.json +1 -94
  290. data/grammars/source.nginx.json +1 -815
  291. data/grammars/source.nim.comment.json +1 -82
  292. data/grammars/source.nim.json +1 -1083
  293. data/grammars/source.nim_filter.json +1 -113
  294. data/grammars/source.nimcfg.json +1 -103
  295. data/grammars/source.ninja.json +1 -248
  296. data/grammars/source.nit.json +1 -234
  297. data/grammars/source.nix.json +1 -1196
  298. data/grammars/source.nsis.json +1 -152
  299. data/grammars/source.nu.json +1 -516
  300. data/grammars/source.nut.json +1 -262
  301. data/grammars/source.objc++.json +1 -12
  302. data/grammars/source.objc.json +1 -910
  303. data/grammars/source.objc.platform.json +1 -842
  304. data/grammars/source.objectscript.json +1 -309
  305. data/grammars/source.objectscript_class.json +1 -674
  306. data/grammars/source.objectscript_csp.json +1 -19
  307. data/grammars/source.objectscript_macros.json +1 -226
  308. data/grammars/source.ocaml.json +1 -1418
  309. data/grammars/source.ocamllex.json +1 -298
  310. data/grammars/source.ocamlyacc.json +1 -339
  311. data/grammars/source.odin-ehr.json +1 -806
  312. data/grammars/source.odin.json +1 -402
  313. data/grammars/source.ooc.json +1 -685
  314. data/grammars/source.opa.json +1 -196
  315. data/grammars/source.opal.json +1 -410
  316. data/grammars/source.opalsysdefs.json +1 -66
  317. data/grammars/source.openbsd-pkg.contents.json +1 -128
  318. data/grammars/source.opencobol.json +1 -62
  319. data/grammars/source.opentype.json +1 -448
  320. data/grammars/source.opts.json +1 -108
  321. data/grammars/source.ox.json +1 -89
  322. data/grammars/source.oz.json +1 -77
  323. data/grammars/source.p4.json +1 -122
  324. data/grammars/source.paket.dependencies.json +1 -0
  325. data/grammars/source.paket.lock.json +1 -0
  326. data/grammars/source.pan.json +1 -706
  327. data/grammars/source.papyrus.skyrim.json +1 -1272
  328. data/grammars/source.parrot.pir.json +1 -145
  329. data/grammars/source.pascal.json +1 -143
  330. data/grammars/source.pawn.json +1 -1194
  331. data/grammars/source.pcb.board.json +1 -285
  332. data/grammars/source.pcb.schematic.json +1 -424
  333. data/grammars/source.pcb.sexp.json +1 -232
  334. data/grammars/source.pep8.json +1 -118
  335. data/grammars/source.perl.6.json +1 -309
  336. data/grammars/source.perl.json +1 -2519
  337. data/grammars/source.php.zephir.json +1 -353
  338. data/grammars/source.pic.json +1 -908
  339. data/grammars/source.pig_latin.json +1 -168
  340. data/grammars/source.pike.json +1 -49
  341. data/grammars/source.plist.json +1 -336
  342. data/grammars/source.po.json +1 -222
  343. data/grammars/source.pogoscript.json +1 -79
  344. data/grammars/source.pony.json +1 -245
  345. data/grammars/source.postcss.json +1 -370
  346. data/grammars/source.postscript.json +1 -477
  347. data/grammars/source.pov-ray sdl.json +1 -82
  348. data/grammars/source.powershell.json +1 -981
  349. data/grammars/source.prisma.json +1 -435
  350. data/grammars/source.processing.json +1 -872
  351. data/grammars/source.prolog.eclipse.json +1 -201
  352. data/grammars/source.prolog.json +1 -286
  353. data/grammars/source.protobuf.json +1 -471
  354. data/grammars/source.puppet.json +1 -433
  355. data/grammars/source.purescript.json +1 -861
  356. data/grammars/source.pyjade.json +1 -996
  357. data/grammars/source.python.django.json +1 -29
  358. data/grammars/source.python.json +1 -5292
  359. data/grammars/source.python.salt.json +1 -9
  360. data/grammars/source.q.json +1 -215
  361. data/grammars/source.q_output.json +1 -348
  362. data/grammars/source.qasm.json +1 -66
  363. data/grammars/source.ql.json +1 -1408
  364. data/grammars/source.qmake.json +1 -210
  365. data/grammars/source.qml.json +1 -174
  366. data/grammars/source.qsharp.json +1 -120
  367. data/grammars/source.quake.json +1 -44
  368. data/grammars/source.quoting.raku.json +1 -0
  369. data/grammars/source.r.json +1 -194
  370. data/grammars/source.racket.json +1 -98
  371. data/grammars/source.raku.json +1 -0
  372. data/grammars/source.rascal.json +1 -283
  373. data/grammars/source.reason.hover.type.json +1 -14
  374. data/grammars/source.reason.json +1 -3382
  375. data/grammars/source.rebol.json +1 -637
  376. data/grammars/source.red.json +1 -644
  377. data/grammars/source.reg.json +1 -159
  378. data/grammars/source.regexp.extended.json +1 -558
  379. data/grammars/source.regexp.json +1 -1434
  380. data/grammars/source.regexp.python.json +1 -490
  381. data/grammars/source.regexp.raku.json +1 -0
  382. data/grammars/source.regexp.spin.json +1 -179
  383. data/grammars/source.rego.json +1 -124
  384. data/grammars/source.renpy.json +1 -1948
  385. data/grammars/source.rescript.json +1 -0
  386. data/grammars/source.rexx.json +1 -52
  387. data/grammars/source.ring.json +1 -247
  388. data/grammars/source.rpm-spec.json +1 -765
  389. data/grammars/source.ruby.gemfile.json +1 -24
  390. data/grammars/source.ruby.json +1 -2605
  391. data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
  392. data/grammars/source.rust.json +1 -629
  393. data/grammars/source.sas.json +1 -286
  394. data/grammars/source.sass.json +1 -1089
  395. data/grammars/source.sassdoc.json +1 -346
  396. data/grammars/source.scad.json +1 -145
  397. data/grammars/source.scala.json +1 -1121
  398. data/grammars/source.scaml.json +1 -451
  399. data/grammars/source.scheme.json +1 -353
  400. data/grammars/source.scilab.json +1 -96
  401. data/grammars/source.sdbl.json +1 -90
  402. data/grammars/source.sed.json +1 -1520
  403. data/grammars/source.shaderlab.json +1 -198
  404. data/grammars/source.shell.json +1 -1272
  405. data/grammars/source.shen.json +1 -143
  406. data/grammars/source.sieve.json +1 -383
  407. data/grammars/source.slice.json +1 -2755
  408. data/grammars/source.smali.json +1 -1610
  409. data/grammars/source.smalltalk.json +1 -187
  410. data/grammars/source.smpl.json +1 -314
  411. data/grammars/source.smt.json +1 -158
  412. data/grammars/source.solidity.json +1 -189
  413. data/grammars/source.sourcepawn.json +1 -651
  414. data/grammars/source.sparql.json +1 -18
  415. data/grammars/source.spin.json +1 -916
  416. data/grammars/source.sqf.json +1 -111
  417. data/grammars/source.sql.json +1 -459
  418. data/grammars/source.ssh-config.json +1 -97
  419. data/grammars/source.stan.json +1 -388
  420. data/grammars/source.stata.json +1 -197
  421. data/grammars/source.strings.json +1 -49
  422. data/grammars/source.stylus.json +1 -1018
  423. data/grammars/source.supercollider.json +1 -93
  424. data/grammars/source.svelte.json +1 -827
  425. data/grammars/source.swift.json +1 -3134
  426. data/grammars/source.sy.json +1 -2954
  427. data/grammars/source.systemverilog.json +1 -1036
  428. data/grammars/source.tags.json +1 -266
  429. data/grammars/source.tcl.json +1 -260
  430. data/grammars/source.tea.json +1 -174
  431. data/grammars/source.terra.json +1 -138
  432. data/grammars/source.terraform.json +1 -694
  433. data/grammars/source.thrift.json +1 -698
  434. data/grammars/source.tl.json +1 -259
  435. data/grammars/source.tla.json +1 -140
  436. data/grammars/source.tnsaudit.json +1 -256
  437. data/grammars/source.toc.json +1 -52
  438. data/grammars/source.toml.json +1 -426
  439. data/grammars/source.ts.json +1 -5581
  440. data/grammars/source.tsql.json +1 -507
  441. data/grammars/source.tsx.json +1 -5834
  442. data/grammars/source.turing.json +1 -1553
  443. data/grammars/source.turtle.json +1 -489
  444. data/grammars/source.txl.json +1 -48
  445. data/grammars/source.ucd.nameslist.json +1 -444
  446. data/grammars/source.ucd.unidata.json +1 -570
  447. data/grammars/source.ucfconstraints.json +1 -67
  448. data/grammars/source.ur.json +1 -31
  449. data/grammars/source.v.json +1 -1010
  450. data/grammars/source.vala.json +1 -800
  451. data/grammars/source.varnish.vcl.json +1 -331
  452. data/grammars/source.vbnet.json +1 -239
  453. data/grammars/source.verilog.json +1 -296
  454. data/grammars/source.vhdl.json +1 -1374
  455. data/grammars/source.vim-snippet.json +1 -645
  456. data/grammars/source.viml.json +1 -1197
  457. data/grammars/source.vtt.json +1 -702
  458. data/grammars/source.vyper.json +1 -213
  459. data/grammars/source.wavefront.mtl.json +1 -1190
  460. data/grammars/source.wavefront.obj.json +1 -1341
  461. data/grammars/source.wdl.json +1 -220
  462. data/grammars/source.webassembly.json +1 -349
  463. data/grammars/source.webidl.json +1 -807
  464. data/grammars/source.wgetrc.json +1 -1640
  465. data/grammars/source.wollok.json +1 -100
  466. data/grammars/source.wsd.json +1 -781
  467. data/grammars/source.x10.json +1 -64
  468. data/grammars/source.x86.json +1 -299
  469. data/grammars/source.x86asm.json +1 -42
  470. data/grammars/source.xc.json +1 -371
  471. data/grammars/source.xlfd.json +1 -462
  472. data/grammars/source.xojo.json +1 -85
  473. data/grammars/source.xq.json +1 -230
  474. data/grammars/source.xtend.json +1 -724
  475. data/grammars/source.yacc.json +1 -626
  476. data/grammars/source.yaml.json +1 -443
  477. data/grammars/source.yaml.salt.json +1 -345
  478. data/grammars/source.yang.json +1 -78
  479. data/grammars/source.yara.json +1 -99
  480. data/grammars/source.yasnippet.json +1 -377
  481. data/grammars/source.zap.json +1 -260
  482. data/grammars/source.zeek.json +1 -412
  483. data/grammars/source.zenscript.json +1 -282
  484. data/grammars/source.zig.json +1 -547
  485. data/grammars/source.zil.json +1 -750
  486. data/grammars/text.bibtex.json +1 -246
  487. data/grammars/text.cfml.basic.json +1 -735
  488. data/grammars/text.conllu.json +1 -45
  489. data/grammars/text.dfy.dafny.json +1 -188
  490. data/grammars/text.elixir.json +1 -52
  491. data/grammars/text.eml.basic.json +1 -296
  492. data/grammars/text.error-list.json +1 -53
  493. data/grammars/text.find-refs.json +1 -926
  494. data/grammars/text.gherkin.feature.json +1 -127
  495. data/grammars/text.haml.json +1 -518
  496. data/grammars/text.hamlc.json +1 -219
  497. data/grammars/text.html.asciidoc.json +1 -478
  498. data/grammars/text.html.asdoc.json +1 -529
  499. data/grammars/text.html.asp.json +1 -53
  500. data/grammars/text.html.basic.json +1 -908
  501. data/grammars/text.html.cfm.json +1 -802
  502. data/grammars/text.html.creole.json +1 -317
  503. data/grammars/text.html.cshtml.json +1 -356
  504. data/grammars/text.html.django.json +1 -63
  505. data/grammars/text.html.ecr.json +1 -48
  506. data/grammars/text.html.elixir.json +1 -21
  507. data/grammars/text.html.erb.json +1 -150
  508. data/grammars/text.html.erlang.yaws.json +1 -67
  509. data/grammars/text.html.factor.json +1 -19
  510. data/grammars/text.html.ftl.json +1 -76
  511. data/grammars/text.html.handlebars.json +1 -845
  512. data/grammars/text.html.javadoc.json +1 -426
  513. data/grammars/text.html.js.json +1 -24
  514. data/grammars/text.html.jsp.json +1 -1196
  515. data/grammars/text.html.liquid.json +1 -25
  516. data/grammars/text.html.mako.json +1 -726
  517. data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
  518. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
  519. data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
  520. data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
  521. data/grammars/text.html.mediawiki.json +1 -946
  522. data/grammars/text.html.php.blade.json +1 -3833
  523. data/grammars/text.html.php.json +1 -2507
  524. data/grammars/text.html.riot.json +1 -788
  525. data/grammars/text.html.slash.json +1 -307
  526. data/grammars/text.html.smarty.json +1 -232
  527. data/grammars/text.html.soy.json +1 -606
  528. data/grammars/text.html.ssp.json +1 -43
  529. data/grammars/text.html.tcl.json +1 -37
  530. data/grammars/text.html.twig.json +1 -1344
  531. data/grammars/text.html.vue.json +1 -963
  532. data/grammars/text.idl-idldoc.json +1 -10
  533. data/grammars/text.jade.json +1 -963
  534. data/grammars/text.junit-test-report.json +1 -89
  535. data/grammars/text.log.latex.json +1 -84
  536. data/grammars/text.marko.json +1 -1662
  537. data/grammars/text.muse.json +1 -1471
  538. data/grammars/text.openbsd-pkg.desc.json +1 -78
  539. data/grammars/text.plain.json +1 -18
  540. data/grammars/text.python.console.json +1 -21
  541. data/grammars/text.python.traceback.json +1 -43
  542. data/grammars/text.rdoc.json +1 -44
  543. data/grammars/text.restructuredtext.clean.json +1 -24
  544. data/grammars/text.restructuredtext.json +1 -1765
  545. data/grammars/text.robot.json +1 -63
  546. data/grammars/text.roff.json +1 -6927
  547. data/grammars/text.rtf.json +1 -148
  548. data/grammars/text.runoff.json +1 -308
  549. data/grammars/text.sfd.json +1 -292
  550. data/grammars/text.shell-session.json +1 -29
  551. data/grammars/text.slim.json +1 -527
  552. data/grammars/text.srt.json +1 -166
  553. data/grammars/text.tex.json +1 -264
  554. data/grammars/text.tex.latex.beamer.json +1 -57
  555. data/grammars/text.tex.latex.haskell.json +1 -1826
  556. data/grammars/text.tex.latex.json +1 -1003
  557. data/grammars/text.tex.latex.memoir.json +1 -129
  558. data/grammars/text.tex.latex.rd.json +1 -111
  559. data/grammars/text.texinfo.json +1 -1525
  560. data/grammars/text.vim-help.json +1 -383
  561. data/grammars/text.xml.ant.json +1 -195
  562. data/grammars/text.xml.flex-config.json +1 -2628
  563. data/grammars/text.xml.genshi.json +1 -28
  564. data/grammars/text.xml.json +1 -351
  565. data/grammars/text.xml.plist.json +1 -664
  566. data/grammars/text.xml.pom.json +1 -769
  567. data/grammars/text.xml.svg.json +1 -562
  568. data/grammars/text.xml.xsl.json +1 -88
  569. data/grammars/text.zone_file.json +1 -67
  570. data/grammars/version +1 -1
  571. data/lib/linguist/VERSION +1 -1
  572. data/lib/linguist/generic.yml +17 -0
  573. data/lib/linguist/heuristics.yml +37 -17
  574. data/lib/linguist/languages.json +1 -1
  575. data/lib/linguist/languages.yml +41 -2
  576. data/lib/linguist/linguist.bundle +0 -0
  577. data/lib/linguist/samples.json +1 -1
  578. data/lib/linguist/strategy/extension.rb +13 -5
  579. metadata +12 -6
  580. data/ext/linguist/strndup.c +0 -10
  581. data/grammars/source.perl6fe.json +0 -2769
  582. data/grammars/source.quoting.perl6fe.json +0 -2369
  583. data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,2595 +1 @@
1
- {
2
- "name": "Hack",
3
- "scopeName": "source.hack",
4
- "patterns": [
5
- {
6
- "include": "text.html.basic"
7
- },
8
- {
9
- "include": "#language"
10
- }
11
- ],
12
- "repository": {
13
- "attributes": {
14
- "patterns": [
15
- {
16
- "name": "meta.attributes.php",
17
- "begin": "(\u003c\u003c)(?!\u003c)",
18
- "end": "(\u003e\u003e)",
19
- "patterns": [
20
- {
21
- "include": "#comments"
22
- },
23
- {
24
- "name": "entity.other.attribute-name.php",
25
- "match": "([A-Za-z_][A-Za-z0-9_]*)"
26
- },
27
- {
28
- "begin": "(\\()",
29
- "end": "(\\))",
30
- "patterns": [
31
- {
32
- "include": "#language"
33
- }
34
- ],
35
- "beginCaptures": {
36
- "1": {
37
- "name": "punctuation.definition.parameters.begin.php"
38
- }
39
- },
40
- "endCaptures": {
41
- "1": {
42
- "name": "punctuation.definition.parameters.end.php"
43
- }
44
- }
45
- }
46
- ],
47
- "beginCaptures": {
48
- "1": {
49
- "name": "punctuation.definition.attributes.php"
50
- }
51
- },
52
- "endCaptures": {
53
- "1": {
54
- "name": "punctuation.definition.attributes.php"
55
- }
56
- }
57
- }
58
- ]
59
- },
60
- "class-builtin": {
61
- "patterns": [
62
- {
63
- "name": "support.class.builtin.php",
64
- "match": "(?i)(\\\\)?\\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Method|Class|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection)|ursor(Exception)?|lient)|Timestamp|I(nt(32|64)|d)|D(B(Ref)?|ate)|Pool|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(tackable|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(ttp(Re(sponse|quest(Pool)?)|Message|InflateStream|DeflateStream|QueryString)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Yaf_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|llator)|a(chingIterator|llbackFilterIterator))|T(hread|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tlDateFormatter|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?)?)|php_user_filter|ZipArchive|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(Zone)?|Interval|Period))|Un(derflowException|expectedValueException)|JsonSerializable|finfo|P(har(Data|FileInfo)?|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|Fil(terIterator|esystemIterator)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(MQP(C(hannel|onnection)|E(nvelope|xchange)|Queue)|ppendIterator|PCIterator|rray(Iterator|Object|Access)))\\b",
65
- "captures": {
66
- "1": {
67
- "name": "punctuation.separator.inheritance.php"
68
- }
69
- }
70
- }
71
- ]
72
- },
73
- "class-name": {
74
- "patterns": [
75
- {
76
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
77
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
78
- "patterns": [
79
- {
80
- "include": "#namespace"
81
- }
82
- ],
83
- "endCaptures": {
84
- "1": {
85
- "name": "support.class.php"
86
- }
87
- }
88
- },
89
- {
90
- "include": "#class-builtin"
91
- },
92
- {
93
- "begin": "(?=[\\\\a-zA-Z_])",
94
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
95
- "patterns": [
96
- {
97
- "include": "#namespace"
98
- }
99
- ],
100
- "endCaptures": {
101
- "1": {
102
- "name": "support.class.php"
103
- }
104
- }
105
- }
106
- ]
107
- },
108
- "comments": {
109
- "patterns": [
110
- {
111
- "name": "comment.block.documentation.phpdoc.php",
112
- "begin": "/\\*\\*(?:#@\\+)?\\s*$",
113
- "end": "\\*/",
114
- "patterns": [
115
- {
116
- "include": "#php_doc"
117
- }
118
- ],
119
- "captures": {
120
- "0": {
121
- "name": "punctuation.definition.comment.php"
122
- }
123
- }
124
- },
125
- {
126
- "name": "comment.block.php",
127
- "begin": "/\\*",
128
- "end": "\\*/",
129
- "captures": {
130
- "0": {
131
- "name": "punctuation.definition.comment.php"
132
- }
133
- }
134
- },
135
- {
136
- "begin": "(^[ \\t]+)?(?=//)",
137
- "end": "(?!\\G)",
138
- "patterns": [
139
- {
140
- "name": "comment.line.double-slash.php",
141
- "begin": "//",
142
- "end": "\\n|(?=\\?\u003e)",
143
- "beginCaptures": {
144
- "0": {
145
- "name": "punctuation.definition.comment.php"
146
- }
147
- }
148
- }
149
- ],
150
- "beginCaptures": {
151
- "1": {
152
- "name": "punctuation.whitespace.comment.leading.php"
153
- }
154
- }
155
- },
156
- {
157
- "begin": "(^[ \\t]+)?(?=#)",
158
- "end": "(?!\\G)",
159
- "patterns": [
160
- {
161
- "name": "comment.line.number-sign.php",
162
- "begin": "#",
163
- "end": "\\n|(?=\\?\u003e)",
164
- "beginCaptures": {
165
- "0": {
166
- "name": "punctuation.definition.comment.php"
167
- }
168
- }
169
- }
170
- ],
171
- "beginCaptures": {
172
- "1": {
173
- "name": "punctuation.whitespace.comment.leading.php"
174
- }
175
- }
176
- }
177
- ]
178
- },
179
- "constants": {
180
- "patterns": [
181
- {
182
- "begin": "(?xi)\n(?=\n (\n (\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n |\n ([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n )\n [^a-z_0-9\\\\]\n)",
183
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
184
- "patterns": [
185
- {
186
- "include": "#namespace"
187
- }
188
- ],
189
- "endCaptures": {
190
- "1": {
191
- "name": "constant.other.php"
192
- }
193
- }
194
- },
195
- {
196
- "begin": "(?=\\\\?[a-zA-Z_\\x{7f}-\\x{ff}])",
197
- "end": "(?=[^\\\\a-zA-Z_\\x{7f}-\\x{ff}])",
198
- "patterns": [
199
- {
200
- "name": "constant.language.php",
201
- "match": "(?i)\\b(TRUE|FALSE|NULL|__(FILE|DIR|FUNCTION|CLASS|METHOD|LINE|NAMESPACE)__|ON|OFF|YES|NO|NL|BR|TAB)\\b"
202
- },
203
- {
204
- "name": "support.constant.core.php",
205
- "match": "(\\\\)?\\b(STD(IN|OUT|ERR)|ZEND_(THREAD_SAFE|DEBUG_BUILD)|DEFAULT_INCLUDE_PATH|P(HP_(R(OUND_HALF_(ODD|DOWN|UP|EVEN)|ELEASE_VERSION)|M(INOR_VERSION|A(XPATHLEN|JOR_VERSION))|BINDIR|S(HLIB_SUFFIX|YSCONFDIR|API)|CONFIG_FILE_(SCAN_DIR|PATH)|INT_(MAX|SIZE)|ZTS|O(S|UTPUT_HANDLER_(START|CONT|END))|D(EBUG|ATADIR)|URL_(SCHEME|HOST|USER|P(ORT|A(SS|TH))|QUERY|FRAGMENT)|PREFIX|E(XT(RA_VERSION|ENSION_DIR)|OL)|VERSION(_ID)?|WINDOWS_(NT_(SERVER|DOMAIN_CONTROLLER|WORKSTATION)|VERSION_(M(INOR|AJOR)|BUILD|S(UITEMASK|P_M(INOR|AJOR))|P(RODUCTTYPE|LATFORM)))|L(IBDIR|OCALSTATEDIR))|EAR_(INSTALL_DIR|EXTENSION_DIR))|E_(RECOVERABLE_ERROR|STRICT|NOTICE|CO(RE_(ERROR|WARNING)|MPILE_(ERROR|WARNING))|DEPRECATED|USER_(NOTICE|DEPRECATED|ERROR|WARNING)|PARSE|ERROR|WARNING|ALL))\\b",
206
- "captures": {
207
- "1": {
208
- "name": "punctuation.separator.inheritance.php"
209
- }
210
- }
211
- },
212
- {
213
- "name": "support.constant.std.php",
214
- "match": "(\\\\)?\\b(RADIXCHAR|GROUPING|M(_(1_PI|SQRT(1_2|2|3|PI)|2_(SQRTPI|PI)|PI(_(2|4))?|E(ULER)?|L(N(10|2|PI)|OG(10E|2E)))|ON_(GROUPING|1(1|2|0)?|7|2|8|THOUSANDS_SEP|3|DECIMAL_POINT|9|4|5|6))|S(TR_PAD_(RIGHT|BOTH|LEFT)|ORT_(REGULAR|STRING|NUMERIC|DESC|LOCALE_STRING|ASC)|EEK_(SET|CUR|END))|H(TML_(SPECIALCHARS|ENTITIES)|ASH_HMAC)|YES(STR|EXPR)|N(_(S(IGN_POSN|EP_BY_SPACE)|CS_PRECEDES)|O(STR|EXPR)|EGATIVE_SIGN|AN)|C(R(YPT_(MD5|BLOWFISH|S(HA(256|512)|TD_DES|ALT_LENGTH)|EXT_DES)|NCYSTR|EDITS_(G(ROUP|ENERAL)|MODULES|SAPI|DOCS|QA|FULLPAGE|ALL))|HAR_MAX|O(NNECTION_(NORMAL|TIMEOUT|ABORTED)|DESET|UNT_(RECURSIVE|NORMAL))|URRENCY_SYMBOL|ASE_(UPPER|LOWER))|__COMPILER_HALT_OFFSET__|T(HOUS(EP|ANDS_SEP)|_FMT(_AMPM)?)|IN(T_(CURR_SYMBOL|FRAC_DIGITS)|I_(S(YSTEM|CANNER_(RAW|NORMAL))|USER|PERDIR|ALL)|F(O_(GENERAL|MODULES|C(REDITS|ONFIGURATION)|ENVIRONMENT|VARIABLES|LICENSE|ALL))?)|D(_(T_FMT|FMT)|IRECTORY_SEPARATOR|ECIMAL_POINT|A(Y_(1|7|2|3|4|5|6)|TE_(R(SS|FC(1(123|036)|2822|8(22|50)|3339))|COOKIE|ISO8601|W3C|ATOM)))|UPLOAD_ERR_(NO_(TMP_DIR|FILE)|CANT_WRITE|INI_SIZE|OK|PARTIAL|EXTENSION|FORM_SIZE)|P(M_STR|_(S(IGN_POSN|EP_BY_SPACE)|CS_PRECEDES)|OSITIVE_SIGN|ATH(_SEPARATOR|INFO_(BASENAME|DIRNAME|EXTENSION|FILENAME)))|E(RA(_(YEAR|T_FMT|D_(T_FMT|FMT)))?|XTR_(REFS|SKIP|IF_EXISTS|OVERWRITE|PREFIX_(SAME|I(NVALID|F_EXISTS)|ALL))|NT_(NOQUOTES|COMPAT|IGNORE|QUOTES))|FRAC_DIGITS|L(C_(M(ONETARY|ESSAGES)|NUMERIC|C(TYPE|OLLATE)|TIME|ALL)|O(G_(MAIL|SYSLOG|N(O(TICE|WAIT)|DELAY|EWS)|C(R(IT|ON)|ONS)|INFO|ODELAY|D(EBUG|AEMON)|U(SER|UCP)|P(ID|ERROR)|E(RR|MERG)|KERN|WARNING|L(OCAL(1|7|2|3|4|5|0|6)|PR)|A(UTH(PRIV)?|LERT))|CK_(SH|NB|UN|EX)))|A(M_STR|B(MON_(1(1|2|0)?|7|2|8|3|9|4|5|6)|DAY_(1|7|2|3|4|5|6))|SSERT_(BAIL|CALLBACK|QUIET_EVAL|WARNING|ACTIVE)|LT_DIGITS))\\b",
215
- "captures": {
216
- "1": {
217
- "name": "punctuation.separator.inheritance.php"
218
- }
219
- }
220
- },
221
- {
222
- "name": "support.constant.ext.php",
223
- "match": "(\\\\)?\\b(GLOB_(MARK|BRACE|NO(SORT|CHECK|ESCAPE)|ONLYDIR|ERR|AVAILABLE_FLAGS)|XML_(SAX_IMPL|HTML_DOCUMENT_NODE|N(OTATION_NODE|AMESPACE_DECL_NODE)|C(OMMENT_NODE|DATA_SECTION_NODE)|TEXT_NODE|OPTION_(SKIP_(TAGSTART|WHITE)|CASE_FOLDING|TARGET_ENCODING)|D(TD_NODE|OCUMENT_(NODE|TYPE_NODE|FRAG_NODE))|PI_NODE|E(RROR_(RECURSIVE_ENTITY_REF|MISPLACED_XML_PI|B(INARY_ENTITY_REF|AD_CHAR_REF)|SYNTAX|NO(NE|_(MEMORY|ELEMENTS))|TAG_MISMATCH|IN(CORRECT_ENCODING|VALID_TOKEN)|DUPLICATE_ATTRIBUTE|UN(CLOSED_(CDATA_SECTION|TOKEN)|DEFINED_ENTITY|KNOWN_ENCODING)|JUNK_AFTER_DOC_ELEMENT|PAR(TIAL_CHAR|AM_ENTITY_REF)|EXTERNAL_ENTITY_HANDLING|A(SYNC_ENTITY|TTRIBUTE_EXTERNAL_ENTITY_REF))|NTITY_(REF_NODE|NODE|DECL_NODE)|LEMENT_(NODE|DECL_NODE))|LOCAL_NAMESPACE|ATTRIBUTE_(N(MTOKEN(S)?|O(TATION|DE))|CDATA|ID(REF(S)?)?|DECL_NODE|EN(TITY|UMERATION)))|M(HASH_(RIPEMD(1(28|60)|256|320)|GOST|MD(2|4|5)|S(HA(1|2(24|56)|384|512)|NEFRU256)|HAVAL(1(28|92|60)|2(24|56))|CRC32(B)?|TIGER(1(28|60))?|WHIRLPOOL|ADLER32)|YSQL(_(BOTH|NUM|CLIENT_(SSL|COMPRESS|I(GNORE_SPACE|NTERACTIVE))|ASSOC)|I_(RE(PORT_(STRICT|INDEX|OFF|ERROR|ALL)|FRESH_(GRANT|MASTER|BACKUP_LOG|S(TATUS|LAVE)|HOSTS|T(HREADS|ABLES)|LOG)|AD_DEFAULT_(GROUP|FILE))|GROUP_FLAG|MULTIPLE_KEY_FLAG|B(INARY_FLAG|OTH|LOB_FLAG)|S(T(MT_ATTR_(CURSOR_TYPE|UPDATE_MAX_LENGTH|PREFETCH_ROWS)|ORE_RESULT)|E(RVER_QUERY_(NO_(GOOD_INDEX_USED|INDEX_USED)|WAS_SLOW)|T_(CHARSET_NAME|FLAG)))|N(O(_D(EFAULT_VALUE_FLAG|ATA)|T_NULL_FLAG)|UM(_FLAG)?)|C(URSOR_TYPE_(READ_ONLY|SCROLLABLE|NO_CURSOR|FOR_UPDATE)|LIENT_(SSL|NO_SCHEMA|COMPRESS|I(GNORE_SPACE|NTERACTIVE)|FOUND_ROWS))|T(YPE_(GEOMETRY|MEDIUM_BLOB|B(IT|LOB)|S(HORT|TRING|ET)|YEAR|N(ULL|EWD(ECIMAL|ATE))|CHAR|TI(ME(STAMP)?|NY(_BLOB)?)|INT(24|ERVAL)|D(OUBLE|ECIMAL|ATE(TIME)?)|ENUM|VAR_STRING|FLOAT|LONG(_BLOB|LONG)?)|IMESTAMP_FLAG)|INIT_COMMAND|ZEROFILL_FLAG|O(N_UPDATE_NOW_FLAG|PT_(NET_(READ_BUFFER_SIZE|CMD_BUFFER_SIZE)|CONNECT_TIMEOUT|INT_AND_FLOAT_NATIVE|LOCAL_INFILE))|D(EBUG_TRACE_ENABLED|ATA_TRUNCATED)|U(SE_RESULT|N(SIGNED_FLAG|IQUE_KEY_FLAG))|P(RI_KEY_FLAG|ART_KEY_FLAG)|ENUM_FLAG|A(S(SOC|YNC)|UTO_INCREMENT_FLAG)))|CRYPT_(R(C(2|6)|IJNDAEL_(1(28|92)|256)|AND)|GOST|XTEA|M(ODE_(STREAM|NOFB|C(BC|FB)|OFB|ECB)|ARS)|BLOWFISH(_COMPAT)?|S(ERPENT|KIPJACK|AFER(128|PLUS|64))|C(RYPT|AST_(128|256))|T(RIPLEDES|HREEWAY|WOFISH)|IDEA|3DES|DE(S|CRYPT|V_(RANDOM|URANDOM))|PANAMA|EN(CRYPT|IGNA)|WAKE|LOKI97|ARCFOUR(_IV)?))|S(TREAM_(REPORT_ERRORS|M(UST_SEEK|KDIR_RECURSIVE)|BUFFER_(NONE|FULL|LINE)|S(HUT_(RD(WR)?|WR)|OCK_(R(DM|AW)|S(TREAM|EQPACKET)|DGRAM)|ERVER_(BIND|LISTEN))|NOTIFY_(RE(SOLVE|DIRECTED)|MIME_TYPE_IS|SEVERITY_(INFO|ERR|WARN)|CO(MPLETED|NNECT)|PROGRESS|F(ILE_SIZE_IS|AILURE)|AUTH_RE(SULT|QUIRED))|C(RYPTO_METHOD_(SSLv(2(_(SERVER|CLIENT)|3_(SERVER|CLIENT))|3_(SERVER|CLIENT))|TLS_(SERVER|CLIENT))|LIENT_(CONNECT|PERSISTENT|ASYNC_CONNECT)|AST_(FOR_SELECT|AS_STREAM))|I(GNORE_URL|S_URL|PPROTO_(RAW|TCP|I(CMP|P)|UDP))|O(OB|PTION_(READ_(BUFFER|TIMEOUT)|BLOCKING|WRITE_BUFFER))|U(RL_STAT_(QUIET|LINK)|SE_PATH)|P(EEK|F_(INET(6)?|UNIX))|ENFORCE_SAFE_MODE|FILTER_(READ|WRITE|ALL))|UNFUNCS_RET_(STRING|TIMESTAMP|DOUBLE)|QLITE(_(R(OW|EADONLY)|MIS(MATCH|USE)|B(OTH|USY)|SCHEMA|N(O(MEM|T(FOUND|ADB)|LFS)|UM)|C(O(RRUPT|NSTRAINT)|ANTOPEN)|TOOBIG|I(NTER(RUPT|NAL)|OERR)|OK|DONE|P(ROTOCOL|ERM)|E(RROR|MPTY)|F(ORMAT|ULL)|LOCKED|A(BORT|SSOC|UTH))|3_(B(OTH|LOB)|NU(M|LL)|TEXT|INTEGER|OPEN_(READ(ONLY|WRITE)|CREATE)|FLOAT|ASSOC)))|CURL(M(SG_DONE|_(BAD_(HANDLE|EASY_HANDLE)|CALL_MULTI_PERFORM|INTERNAL_ERROR|O(UT_OF_MEMORY|K)))|SSH_AUTH_(HOST|NONE|DEFAULT|P(UBLICKEY|ASSWORD)|KEYBOARD)|CLOSEPOLICY_(SLOWEST|CALLBACK|OLDEST|LEAST_(RECENTLY_USED|TRAFFIC))|_(HTTP_VERSION_(1_(1|0)|NONE)|NETRC_(REQUIRED|IGNORED|OPTIONAL)|TIMECOND_(IF(MODSINCE|UNMODSINCE)|LASTMOD)|IPRESOLVE_(V(4|6)|WHATEVER)|VERSION_(SSL|IPV6|KERBEROS4|LIBZ))|INFO_(RE(DIRECT_(COUNT|TIME)|QUEST_SIZE)|S(SL_VERIFYRESULT|TARTTRANSFER_TIME|IZE_(DOWNLOAD|UPLOAD)|PEED_(DOWNLOAD|UPLOAD))|H(TTP_CODE|EADER_(SIZE|OUT))|NAMELOOKUP_TIME|C(ON(NECT_TIME|TENT_(TYPE|LENGTH_(DOWNLOAD|UPLOAD)))|ERTINFO)|TOTAL_TIME|PR(IVATE|ETRANSFER_TIME)|EFFECTIVE_URL|FILETIME)|OPT_(R(E(SUME_FROM|TURNTRANSFER|DIR_PROTOCOLS|FERER|AD(DATA|FUNCTION))|AN(GE|DOM_FILE))|MAX(REDIRS|CONNECTS)|B(INARYTRANSFER|UFFERSIZE)|S(S(H_(HOST_PUBLIC_KEY_MD5|P(RIVATE_KEYFILE|UBLIC_KEYFILE)|AUTH_TYPES)|L(CERT(TYPE|PASSWD)?|_(CIPHER_LIST|VERIFY(HOST|PEER))|ENGINE(_DEFAULT)?|VERSION|KEY(TYPE|PASSWD)?))|TDERR)|H(TTP(GET|HEADER|200ALIASES|_VERSION|PROXYTUNNEL|AUTH)|EADER(FUNCTION)?)|N(O(BODY|SIGNAL|PROGRESS)|ETRC)|C(RLF|O(NNECTTIMEOUT(_MS)?|OKIE(SESSION|JAR|FILE)?)|USTOMREQUEST|ERTINFO|LOSEPOLICY|A(INFO|PATH))|T(RANSFERTEXT|CP_NODELAY|IME(CONDITION|OUT(_MS)?|VALUE))|I(N(TERFACE|FILE(SIZE)?)|PRESOLVE)|DNS_(CACHE_TIMEOUT|USE_GLOBAL_CACHE)|U(RL|SER(PWD|AGENT)|NRESTRICTED_AUTH|PLOAD)|P(R(IVATE|O(GRESSFUNCTION|XY(TYPE|USERPWD|PORT|AUTH)?|TOCOLS))|O(RT|ST(REDIR|QUOTE|FIELDS)?)|UT)|E(GDSOCKET|NCODING)|VERBOSE|K(RB4LEVEL|EYPASSWD)|QUOTE|F(RESH_CONNECT|TP(SSLAUTH|_(S(SL|KIP_PASV_IP)|CREATE_MISSING_DIRS|USE_EP(RT|SV)|FILEMETHOD)|PORT|LISTONLY|APPEND)|ILE(TIME)?|O(RBID_REUSE|LLOWLOCATION)|AILONERROR)|WRITE(HEADER|FUNCTION)|LOW_SPEED_(TIME|LIMIT)|AUTOREFERER)|PRO(XY_(SOCKS(4|5)|HTTP)|TO_(S(CP|FTP)|HTTP(S)?|T(ELNET|FTP)|DICT|F(TP(S)?|ILE)|LDAP(S)?|ALL))|E_(RE(CV_ERROR|AD_ERROR)|GOT_NOTHING|MALFORMAT_USER|BAD_(C(ONTENT_ENCODING|ALLING_ORDER)|PASSWORD_ENTERED|FUNCTION_ARGUMENT)|S(S(H|L_(C(IPHER|ONNECT_ERROR|ERTPROBLEM|ACERT)|PEER_CERTIFICATE|ENGINE_(SETFAILED|NOTFOUND)))|HARE_IN_USE|END_ERROR)|HTTP_(RANGE_ERROR|NOT_FOUND|PO(RT_FAILED|ST_ERROR))|COULDNT_(RESOLVE_(HOST|PROXY)|CONNECT)|T(OO_MANY_REDIRECTS|ELNET_OPTION_SYNTAX)|O(BSOLETE|UT_OF_MEMORY|PERATION_TIMEOUTED|K)|U(RL_MALFORMAT(_USER)?|N(SUPPORTED_PROTOCOL|KNOWN_TELNET_OPTION))|PARTIAL_FILE|F(TP_(BAD_DOWNLOAD_RESUME|SSL_FAILED|C(OULDNT_(RETR_FILE|GET_SIZE|S(TOR_FILE|ET_(BINARY|ASCII))|USE_REST)|ANT_(RECONNECT|GET_HOST))|USER_PASSWORD_INCORRECT|PORT_FAILED|QUOTE_ERROR|W(RITE_ERROR|EIRD_(SERVER_REPLY|227_FORMAT|USER_REPLY|PAS(S_REPLY|V_REPLY)))|ACCESS_DENIED)|ILE(SIZE_EXCEEDED|_COULDNT_READ_FILE)|UNCTION_NOT_FOUND|AILED_INIT)|WRITE_ERROR|L(IBRARY_NOT_FOUND|DAP_(SEARCH_FAILED|CANNOT_BIND|INVALID_URL))|ABORTED_BY_CALLBACK)|VERSION_NOW|FTP(METHOD_(MULTICWD|SINGLECWD|NOCWD)|SSL_(NONE|CONTROL|TRY|ALL)|AUTH_(SSL|TLS|DEFAULT))|AUTH_(GSSNEGOTIATE|BASIC|NTLM|DIGEST|ANY(SAFE)?))|I(MAGETYPE_(GIF|XBM|BMP|SWF|COUNT|TIFF_(MM|II)|I(CO|FF)|UNKNOWN|J(B2|P(X|2|C|EG(2000)?))|P(SD|NG)|WBMP)|NPUT_(REQUEST|GET|SE(RVER|SSION)|COOKIE|POST|ENV)|CONV_(MIME_DECODE_(STRICT|CONTINUE_ON_ERROR)|IMPL|VERSION))|D(NS_(MX|S(RV|OA)|HINFO|N(S|APTR)|CNAME|TXT|PTR|A(NY|LL|AAA|6)?)|OM(STRING_SIZE_ERR|_(SYNTAX_ERR|HIERARCHY_REQUEST_ERR|N(O(_(MODIFICATION_ALLOWED_ERR|DATA_ALLOWED_ERR)|T_(SUPPORTED_ERR|FOUND_ERR))|AMESPACE_ERR)|IN(DEX_SIZE_ERR|USE_ATTRIBUTE_ERR|VALID_(MODIFICATION_ERR|STATE_ERR|CHARACTER_ERR|ACCESS_ERR))|PHP_ERR|VALIDATION_ERR|WRONG_DOCUMENT_ERR)))|JSON_(HEX_(TAG|QUOT|A(MP|POS))|NUMERIC_CHECK|ERROR_(S(YNTAX|TATE_MISMATCH)|NONE|CTRL_CHAR|DEPTH|UTF8)|FORCE_OBJECT)|P(REG_(RECURSION_LIMIT_ERROR|GREP_INVERT|BA(CKTRACK_LIMIT_ERROR|D_UTF8_(OFFSET_ERROR|ERROR))|S(PLIT_(NO_EMPTY|OFFSET_CAPTURE|DELIM_CAPTURE)|ET_ORDER)|NO_ERROR|INTERNAL_ERROR|OFFSET_CAPTURE|PATTERN_ORDER)|SFS_(PASS_ON|ERR_FATAL|F(EED_ME|LAG_(NORMAL|FLUSH_(CLOSE|INC))))|CRE_VERSION|OSIX_(R_OK|X_OK|S_IF(REG|BLK|SOCK|CHR|IFO)|F_OK|W_OK))|F(NM_(NOESCAPE|CASEFOLD|P(ERIOD|ATHNAME))|IL(TER_(REQUIRE_(SCALAR|ARRAY)|SANITIZE_(MAGIC_QUOTES|S(TRI(NG|PPED)|PECIAL_CHARS)|NUMBER_(INT|FLOAT)|URL|E(MAIL|NCODED)|FULL_SPECIAL_CHARS)|NULL_ON_FAILURE|CALLBACK|DEFAULT|UNSAFE_RAW|VALIDATE_(REGEXP|BOOLEAN|I(NT|P)|URL|EMAIL|FLOAT)|F(ORCE_ARRAY|LAG_(S(CHEME_REQUIRED|TRIP_(BACKTICK|HIGH|LOW))|HOST_REQUIRED|NO(NE|_(RES_RANGE|PRIV_RANGE|ENCODE_QUOTES))|IPV(4|6)|PATH_REQUIRED|E(MPTY_STRING_NULL|NCODE_(HIGH|LOW|AMP))|QUERY_REQUIRED|ALLOW_(SCIENTIFIC|HEX|THOUSAND|OCTAL|FRACTION))))|E(_(BINARY|SKIP_EMPTY_LINES|NO_DEFAULT_CONTEXT|TEXT|IGNORE_NEW_LINES|USE_INCLUDE_PATH|APPEND)|INFO_(RAW|MIME(_(TYPE|ENCODING))?|SYMLINK|NONE|CONTINUE|DEVICES|PRESERVE_ATIME)))|ORCE_(GZIP|DEFLATE))|LIBXML_(XINCLUDE|N(SCLEAN|O(XMLDECL|BLANKS|NET|CDATA|E(RROR|MPTYTAG|NT)|WARNING))|COMPACT|D(TD(VALID|LOAD|ATTR)|OTTED_VERSION)|PARSEHUGE|ERR_(NONE|ERROR|FATAL|WARNING)|VERSION|LOADED_VERSION))\\b",
224
- "captures": {
225
- "1": {
226
- "name": "punctuation.separator.inheritance.php"
227
- }
228
- }
229
- },
230
- {
231
- "name": "support.constant.parser-token.php",
232
- "match": "(\\\\)?\\bT_(RE(TURN|QUIRE(_ONCE)?)|G(OTO|LOBAL)|XOR_EQUAL|M(INUS_EQUAL|OD_EQUAL|UL_EQUAL|ETHOD_C|L_COMMENT)|B(REAK|OOL(_CAST|EAN_(OR|AND))|AD_CHARACTER)|S(R(_EQUAL)?|T(RING(_(CAST|VARNAME))?|A(RT_HEREDOC|TIC))|WITCH|L(_EQUAL)?)|HALT_COMPILER|N(S_(SEPARATOR|C)|UM_STRING|EW|AMESPACE)|C(HARACTER|O(MMENT|N(ST(ANT_ENCAPSED_STRING)?|CAT_EQUAL|TINUE))|URLY_OPEN|L(O(SE_TAG|NE)|ASS(_C)?)|A(SE|TCH))|T(RY|HROW)|I(MPLEMENTS|S(SET|_(GREATER_OR_EQUAL|SMALLER_OR_EQUAL|NOT_(IDENTICAL|EQUAL)|IDENTICAL|EQUAL))|N(STANCEOF|C(LUDE(_ONCE)?)?|T(_CAST|ERFACE)|LINE_HTML)|F)|O(R_EQUAL|BJECT_(CAST|OPERATOR)|PEN_TAG(_WITH_ECHO)?|LD_FUNCTION)|D(NUMBER|I(R|V_EQUAL)|O(C_COMMENT|UBLE_(C(OLON|AST)|ARROW)|LLAR_OPEN_CURLY_BRACES)?|E(C(LARE)?|FAULT))|U(SE|NSET(_CAST)?)|P(R(I(NT|VATE)|OTECTED)|UBLIC|LUS_EQUAL|AAMAYIM_NEKUDOTAYIM)|E(X(TENDS|IT)|MPTY|N(CAPSED_AND_WHITESPACE|D(SWITCH|_HEREDOC|IF|DECLARE|FOR(EACH)?|WHILE))|CHO|VAL|LSE(IF)?)|VAR(IABLE)?|F(I(NAL|LE)|OR(EACH)?|UNC(_C|TION))|WHI(TESPACE|LE)|L(NUMBER|I(ST|NE)|OGICAL_(XOR|OR|AND))|A(RRAY(_CAST)?|BSTRACT|S|ND_EQUAL))\\b",
233
- "captures": {
234
- "1": {
235
- "name": "punctuation.separator.inheritance.php"
236
- }
237
- }
238
- },
239
- {
240
- "name": "constant.other.php",
241
- "match": "[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*"
242
- }
243
- ]
244
- }
245
- ]
246
- },
247
- "function-arguments": {
248
- "patterns": [
249
- {
250
- "include": "#comments"
251
- },
252
- {
253
- "include": "#attributes"
254
- },
255
- {
256
- "include": "#type-annotation"
257
- },
258
- {
259
- "begin": "(?xi)\n\\s*(\u0026)? # Reference\n\\s*((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # The variable name",
260
- "end": "(?xi)\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment",
261
- "patterns": [
262
- {
263
- "name": "keyword.operator.assignment.php",
264
- "match": "="
265
- },
266
- {
267
- "include": "#language"
268
- }
269
- ],
270
- "beginCaptures": {
271
- "1": {
272
- "name": "storage.modifier.reference.php"
273
- },
274
- "2": {
275
- "name": "variable.other.php"
276
- },
277
- "3": {
278
- "name": "punctuation.definition.variable.php"
279
- }
280
- }
281
- }
282
- ]
283
- },
284
- "function-call": {
285
- "patterns": [
286
- {
287
- "begin": "(?i)(?=\\\\?[a-z_0-9\\\\]+\\\\[a-z_][a-z0-9_]*\\s*\\()",
288
- "end": "(?=\\s*\\()",
289
- "patterns": [
290
- {
291
- "include": "#user-function-call"
292
- }
293
- ]
294
- },
295
- {
296
- "name": "support.function.construct.php",
297
- "match": "(?i)\\b(print|echo)\\b"
298
- },
299
- {
300
- "begin": "(?i)(\\\\)?(?=\\b[a-z_][a-z_0-9]*\\s*\\()",
301
- "end": "(?=\\s*\\()",
302
- "patterns": [
303
- {
304
- "name": "support.function.construct.php",
305
- "match": "(?i)\\b(isset|unset|e(val|mpty)|list)(?=\\s*\\()"
306
- },
307
- {
308
- "include": "#support"
309
- },
310
- {
311
- "include": "#user-function-call"
312
- }
313
- ],
314
- "beginCaptures": {
315
- "1": {
316
- "name": "punctuation.separator.inheritance.php"
317
- }
318
- }
319
- }
320
- ]
321
- },
322
- "function-return-type": {
323
- "patterns": [
324
- {
325
- "begin": "(:)",
326
- "end": "(?=[{;])",
327
- "patterns": [
328
- {
329
- "include": "#comments"
330
- },
331
- {
332
- "include": "#type-annotation"
333
- },
334
- {
335
- "include": "#class-name"
336
- }
337
- ],
338
- "beginCaptures": {
339
- "1": {
340
- "name": "punctuation.definition.type.php"
341
- }
342
- }
343
- }
344
- ]
345
- },
346
- "generics": {
347
- "patterns": [
348
- {
349
- "name": "meta.generics.php",
350
- "begin": "(\u003c)",
351
- "end": "(\u003e)",
352
- "patterns": [
353
- {
354
- "include": "#comments"
355
- },
356
- {
357
- "include": "#generics"
358
- },
359
- {
360
- "name": "storage.type.php",
361
- "match": "([-+])?([A-Za-z_][A-Za-z0-9_]*)(?:\\s+(as|super)\\s+([A-Za-z_][A-Za-z0-9_]*))?"
362
- },
363
- {
364
- "include": "#type-annotation"
365
- }
366
- ],
367
- "beginCaptures": {
368
- "1": {
369
- "name": "punctuation.definition.generics.php"
370
- }
371
- },
372
- "endCaptures": {
373
- "1": {
374
- "name": "punctuation.definition.generics.php"
375
- }
376
- }
377
- }
378
- ]
379
- },
380
- "heredoc": {
381
- "patterns": [
382
- {
383
- "name": "string.unquoted.heredoc.php",
384
- "begin": "\u003c\u003c\u003c\\s*(\"?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$",
385
- "end": "^(\\2)(?=;?$)",
386
- "patterns": [
387
- {
388
- "include": "#interpolation"
389
- }
390
- ],
391
- "beginCaptures": {
392
- "2": {
393
- "name": "keyword.operator.heredoc.php"
394
- }
395
- },
396
- "endCaptures": {
397
- "1": {
398
- "name": "keyword.operator.heredoc.php"
399
- }
400
- }
401
- },
402
- {
403
- "name": "string.unquoted.heredoc.nowdoc.php",
404
- "begin": "\u003c\u003c\u003c\\s*('?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$",
405
- "end": "^(\\2)(?=;?$)",
406
- "beginCaptures": {
407
- "2": {
408
- "name": "keyword.operator.heredoc.php"
409
- }
410
- },
411
- "endCaptures": {
412
- "1": {
413
- "name": "keyword.operator.heredoc.php"
414
- }
415
- }
416
- }
417
- ]
418
- },
419
- "implements": {
420
- "patterns": [
421
- {
422
- "begin": "(?i)(implements)\\s+",
423
- "end": "(?i)(?=[;{])",
424
- "patterns": [
425
- {
426
- "include": "#comments"
427
- },
428
- {
429
- "contentName": "meta.other.inherited-class.php",
430
- "begin": "(?i)(?=[a-z0-9_\\\\]+)",
431
- "end": "(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\\\\\s]))\\s*)",
432
- "patterns": [
433
- {
434
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
435
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
436
- "patterns": [
437
- {
438
- "include": "#namespace"
439
- }
440
- ],
441
- "endCaptures": {
442
- "1": {
443
- "name": "entity.other.inherited-class.php"
444
- }
445
- }
446
- },
447
- {
448
- "include": "#class-builtin"
449
- },
450
- {
451
- "include": "#namespace"
452
- },
453
- {
454
- "name": "entity.other.inherited-class.php",
455
- "match": "(?i)[a-z_][a-z_0-9]*"
456
- }
457
- ]
458
- }
459
- ],
460
- "beginCaptures": {
461
- "1": {
462
- "name": "storage.modifier.implements.php"
463
- }
464
- }
465
- }
466
- ]
467
- },
468
- "instantiation": {
469
- "begin": "(?i)(new)\\s+",
470
- "end": "(?i)(?=[^$a-z0-9_\\\\])",
471
- "patterns": [
472
- {
473
- "name": "storage.type.php",
474
- "match": "(parent|static|self)(?=[^a-z0-9_])"
475
- },
476
- {
477
- "include": "#class-name"
478
- },
479
- {
480
- "include": "#variable-name"
481
- }
482
- ],
483
- "beginCaptures": {
484
- "1": {
485
- "name": "keyword.other.new.php"
486
- }
487
- }
488
- },
489
- "interface": {
490
- "name": "meta.interface.php",
491
- "begin": "^(?i)\\b(interface)\\b",
492
- "end": "(?=[;{])",
493
- "patterns": [
494
- {
495
- "include": "#comments"
496
- },
497
- {
498
- "match": "\\b(extends)\\b",
499
- "captures": {
500
- "1": {
501
- "name": "storage.modifier.extends.php"
502
- }
503
- }
504
- },
505
- {
506
- "include": "#generics"
507
- },
508
- {
509
- "include": "#namespace"
510
- },
511
- {
512
- "name": "entity.name.type.class.php",
513
- "match": "(?i)[a-z0-9_]+"
514
- }
515
- ],
516
- "beginCaptures": {
517
- "1": {
518
- "name": "storage.type.interface.php"
519
- }
520
- }
521
- },
522
- "interpolation": {
523
- "patterns": [
524
- {
525
- "name": "constant.numeric.octal.php",
526
- "match": "\\\\[0-7]{1,3}"
527
- },
528
- {
529
- "name": "constant.numeric.hex.php",
530
- "match": "\\\\x[0-9A-Fa-f]{1,2}"
531
- },
532
- {
533
- "name": "constant.character.escape.php",
534
- "match": "\\\\[nrt\\\\\\$\\\"]"
535
- },
536
- {
537
- "name": "variable.other.php",
538
- "match": "(\\{\\$.*?\\})"
539
- },
540
- {
541
- "name": "variable.other.php",
542
- "match": "(\\$[a-zA-Z_][a-zA-Z0-9_]*((-\u003e[a-zA-Z_][a-zA-Z0-9_]*)|(\\[[a-zA-Z0-9_]+\\]))?)"
543
- }
544
- ]
545
- },
546
- "invoke-call": {
547
- "name": "meta.function-call.invoke.php",
548
- "match": "(?i)(\\$+)([a-z_][a-z_0-9]*)(?=\\s*\\()",
549
- "captures": {
550
- "1": {
551
- "name": "punctuation.definition.variable.php"
552
- },
553
- "2": {
554
- "name": "variable.other.php"
555
- }
556
- }
557
- },
558
- "language": {
559
- "patterns": [
560
- {
561
- "include": "#comments"
562
- },
563
- {
564
- "begin": "(?=^\\s*\u003c\u003c)",
565
- "end": "(?\u003c=\u003e\u003e)",
566
- "patterns": [
567
- {
568
- "include": "#attributes"
569
- }
570
- ]
571
- },
572
- {
573
- "include": "#xhp"
574
- },
575
- {
576
- "include": "#interface"
577
- },
578
- {
579
- "name": "meta.typedecl.php",
580
- "begin": "(?xi)\n^\\s*\n(type|newtype)\n\\s+\n([a-z0-9_]+)",
581
- "end": "(;)",
582
- "patterns": [
583
- {
584
- "include": "#comments"
585
- },
586
- {
587
- "include": "#generics"
588
- },
589
- {
590
- "name": "keyword.operator.assignment.php",
591
- "match": "(=)"
592
- },
593
- {
594
- "include": "#type-annotation"
595
- }
596
- ],
597
- "beginCaptures": {
598
- "1": {
599
- "name": "storage.type.typedecl.php"
600
- },
601
- "2": {
602
- "name": "entity.name.type.typedecl.php"
603
- }
604
- },
605
- "endCaptures": {
606
- "1": {
607
- "name": "punctuation.termination.expression.php"
608
- }
609
- }
610
- },
611
- {
612
- "name": "meta.trait.php",
613
- "begin": "(?i)^\\s*(trait)\\s+([a-z0-9_]+)\\s*",
614
- "end": "(?=[{])",
615
- "patterns": [
616
- {
617
- "include": "#comments"
618
- },
619
- {
620
- "include": "#generics"
621
- },
622
- {
623
- "include": "#implements"
624
- }
625
- ],
626
- "beginCaptures": {
627
- "1": {
628
- "name": "storage.type.trait.php"
629
- },
630
- "2": {
631
- "name": "entity.name.type.class.php"
632
- }
633
- }
634
- },
635
- {
636
- "name": "meta.namespace.php",
637
- "contentName": "entity.name.type.namespace.php",
638
- "begin": "(?i)(?:^\\s*|\\s*)(namespace)\\b\\s+(?=([a-z0-9_\\\\]*\\s*($|[;{]|(\\/[\\/*])))|$)",
639
- "end": "(?i)(?=\\s*$|[^a-z0-9_\\\\])",
640
- "patterns": [
641
- {
642
- "name": "punctuation.separator.inheritance.php",
643
- "match": "\\\\"
644
- }
645
- ],
646
- "beginCaptures": {
647
- "1": {
648
- "name": "keyword.other.namespace.php"
649
- }
650
- }
651
- },
652
- {
653
- "name": "meta.use.php",
654
- "begin": "(?i)\\s*\\b(use)\\s+",
655
- "end": "(?=;|(?:^\\s*$))",
656
- "patterns": [
657
- {
658
- "include": "#comments"
659
- },
660
- {
661
- "begin": "(?i)\\s*(?=[a-z_0-9\\\\])",
662
- "end": "(?xi)\n(?:\n (?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))|\n (?=,|;|$)\n)",
663
- "patterns": [
664
- {
665
- "include": "#class-builtin"
666
- },
667
- {
668
- "name": "support.other.namespace.use.php",
669
- "begin": "(?i)\\s*(?=[\\\\a-z_0-9])",
670
- "end": "$|(?=[\\s,;])",
671
- "patterns": [
672
- {
673
- "name": "punctuation.separator.inheritance.php",
674
- "match": "\\\\"
675
- }
676
- ]
677
- }
678
- ],
679
- "endCaptures": {
680
- "1": {
681
- "name": "keyword.other.use-as.php"
682
- },
683
- "2": {
684
- "name": "support.other.namespace.use-as.php"
685
- }
686
- }
687
- },
688
- {
689
- "match": "\\s*,\\s*"
690
- }
691
- ],
692
- "beginCaptures": {
693
- "1": {
694
- "name": "keyword.other.use.php"
695
- }
696
- }
697
- },
698
- {
699
- "name": "meta.class.php",
700
- "begin": "(?i)^\\s*(abstract|final)?\\s*(class)\\s+([a-z0-9_]+)\\s*",
701
- "end": "(?=[;{])",
702
- "patterns": [
703
- {
704
- "include": "#comments"
705
- },
706
- {
707
- "include": "#generics"
708
- },
709
- {
710
- "include": "#implements"
711
- },
712
- {
713
- "contentName": "meta.other.inherited-class.php",
714
- "begin": "(?i)(extends)\\s+",
715
- "end": "(?i)(?=[^a-z_0-9\\\\])",
716
- "patterns": [
717
- {
718
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
719
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
720
- "patterns": [
721
- {
722
- "include": "#namespace"
723
- }
724
- ],
725
- "endCaptures": {
726
- "1": {
727
- "name": "entity.other.inherited-class.php"
728
- }
729
- }
730
- },
731
- {
732
- "include": "#class-builtin"
733
- },
734
- {
735
- "include": "#namespace"
736
- },
737
- {
738
- "name": "entity.other.inherited-class.php",
739
- "match": "(?i)[a-z_][a-z_0-9]*"
740
- }
741
- ],
742
- "beginCaptures": {
743
- "1": {
744
- "name": "storage.modifier.extends.php"
745
- }
746
- }
747
- }
748
- ],
749
- "beginCaptures": {
750
- "1": {
751
- "name": "storage.modifier.abstract.php"
752
- },
753
- "2": {
754
- "name": "storage.type.class.php"
755
- },
756
- "3": {
757
- "name": "entity.name.type.class.php"
758
- }
759
- }
760
- },
761
- {
762
- "match": "\\s*\\b((break|c(ase|ontinue)|d(e(clare|fault)|ie|o)|e(lse(if)?|nd(declare|for(each)?|if|switch|while)|xit)|for(each)?|if|return|switch|use|while))\\b",
763
- "captures": {
764
- "1": {
765
- "name": "keyword.control.php"
766
- }
767
- }
768
- },
769
- {
770
- "name": "meta.include.php",
771
- "begin": "(?i)\\b((?:require|include)(?:_once)?)\\b\\s*",
772
- "end": "(?=\\s|;|$)",
773
- "patterns": [
774
- {
775
- "include": "#language"
776
- }
777
- ],
778
- "beginCaptures": {
779
- "1": {
780
- "name": "keyword.control.import.include.php"
781
- }
782
- }
783
- },
784
- {
785
- "name": "meta.catch.php",
786
- "begin": "\\b(catch)\\s*(\\()",
787
- "end": "\\)",
788
- "patterns": [
789
- {
790
- "include": "#namespace"
791
- },
792
- {
793
- "match": "(?xi)\n([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Exception class\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)*) # Optional additional exception classes\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable",
794
- "captures": {
795
- "1": {
796
- "name": "support.class.exception.php"
797
- },
798
- "2": {
799
- "patterns": [
800
- {
801
- "name": "support.class.exception.php",
802
- "match": "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*"
803
- },
804
- {
805
- "name": "punctuation.separator.delimiter.php",
806
- "match": "\\|"
807
- }
808
- ]
809
- },
810
- "3": {
811
- "name": "variable.other.php"
812
- },
813
- "4": {
814
- "name": "punctuation.definition.variable.php"
815
- }
816
- }
817
- }
818
- ],
819
- "beginCaptures": {
820
- "1": {
821
- "name": "keyword.control.exception.catch.php"
822
- },
823
- "2": {
824
- "name": "punctuation.definition.parameters.begin.bracket.round.php"
825
- }
826
- },
827
- "endCaptures": {
828
- "0": {
829
- "name": "punctuation.definition.parameters.end.bracket.round.php"
830
- }
831
- }
832
- },
833
- {
834
- "name": "keyword.control.exception.php",
835
- "match": "\\b(catch|try|throw|exception|finally)\\b"
836
- },
837
- {
838
- "name": "meta.function.closure.php",
839
- "begin": "(?i)\\b(function)\\s*(\u0026\\s*)?(?=\\()",
840
- "end": "\\{|\\)",
841
- "patterns": [
842
- {
843
- "contentName": "meta.function.arguments.php",
844
- "begin": "(\\()",
845
- "end": "(\\))",
846
- "patterns": [
847
- {
848
- "include": "#function-arguments"
849
- }
850
- ],
851
- "beginCaptures": {
852
- "1": {
853
- "name": "punctuation.definition.parameters.begin.php"
854
- }
855
- },
856
- "endCaptures": {
857
- "1": {
858
- "name": "punctuation.definition.parameters.end.php"
859
- }
860
- }
861
- },
862
- {
863
- "begin": "(?i)(use)\\s*(\\()",
864
- "end": "(\\))",
865
- "patterns": [
866
- {
867
- "name": "meta.function.closure.use.php",
868
- "match": "(?:\\s*(\u0026))?\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))",
869
- "captures": {
870
- "1": {
871
- "name": "storage.modifier.reference.php"
872
- },
873
- "2": {
874
- "name": "variable.other.php"
875
- },
876
- "3": {
877
- "name": "punctuation.definition.variable.php"
878
- }
879
- }
880
- }
881
- ],
882
- "beginCaptures": {
883
- "1": {
884
- "name": "keyword.other.function.use.php"
885
- },
886
- "2": {
887
- "name": "punctuation.definition.parameters.begin.php"
888
- }
889
- },
890
- "endCaptures": {
891
- "1": {
892
- "name": "punctuation.definition.parameters.end.php"
893
- }
894
- }
895
- }
896
- ],
897
- "beginCaptures": {
898
- "1": {
899
- "name": "storage.type.function.php"
900
- },
901
- "2": {
902
- "name": "storage.modifier.reference.php"
903
- }
904
- }
905
- },
906
- {
907
- "name": "meta.function.php",
908
- "begin": "(?x)\n\\s*((?:(?:final|abstract|public|private|protected|static|async)\\s+)*)\n(function)\n(?:\\s+|(\\s*\u0026\\s*))\n(?:\n (__(?:call|construct|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic|dispose|disposeAsync)(?=[^a-zA-Z0-9_\\x7f-\\xff]))\n |\n ([a-zA-Z0-9_]+)\n)",
909
- "end": "(?=[{;])",
910
- "patterns": [
911
- {
912
- "include": "#generics"
913
- },
914
- {
915
- "contentName": "meta.function.arguments.php",
916
- "begin": "(\\()",
917
- "end": "(?=\\))",
918
- "patterns": [
919
- {
920
- "include": "#function-arguments"
921
- }
922
- ],
923
- "beginCaptures": {
924
- "1": {
925
- "name": "punctuation.definition.parameters.begin.php"
926
- }
927
- }
928
- },
929
- {
930
- "begin": "(\\))",
931
- "end": "(?=[{;])",
932
- "patterns": [
933
- {
934
- "include": "#function-return-type"
935
- }
936
- ],
937
- "beginCaptures": {
938
- "1": {
939
- "name": "punctuation.definition.parameters.end.php"
940
- }
941
- }
942
- }
943
- ],
944
- "beginCaptures": {
945
- "1": {
946
- "patterns": [
947
- {
948
- "name": "storage.modifier.php",
949
- "match": "final|abstract|public|private|protected|static|async"
950
- }
951
- ]
952
- },
953
- "2": {
954
- "name": "storage.type.function.php"
955
- },
956
- "3": {
957
- "name": "storage.modifier.reference.php"
958
- },
959
- "4": {
960
- "name": "support.function.magic.php"
961
- },
962
- "5": {
963
- "name": "entity.name.function.php"
964
- },
965
- "6": {
966
- "name": "meta.function.generics.php"
967
- }
968
- }
969
- },
970
- {
971
- "include": "#invoke-call"
972
- },
973
- {
974
- "begin": "(?xi)\n\\s*\n (?=\n [a-z_0-9$\\\\]+(::)\n (?:\n ([a-z_][a-z_0-9]*)\\s*\\(\n |\n ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n |\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n )?\n )",
975
- "end": "(?x)\n(::)\n(?:\n ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n |\n ((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n |\n ([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n)?",
976
- "patterns": [
977
- {
978
- "name": "storage.type.php",
979
- "match": "(self|static|parent)\\b"
980
- },
981
- {
982
- "include": "#class-name"
983
- },
984
- {
985
- "include": "#variable-name"
986
- }
987
- ],
988
- "endCaptures": {
989
- "1": {
990
- "name": "keyword.operator.class.php"
991
- },
992
- "2": {
993
- "name": "meta.function-call.static.php"
994
- },
995
- "3": {
996
- "name": "variable.other.class.php"
997
- },
998
- "4": {
999
- "name": "punctuation.definition.variable.php"
1000
- },
1001
- "5": {
1002
- "name": "constant.other.class.php"
1003
- }
1004
- }
1005
- },
1006
- {
1007
- "include": "#variables"
1008
- },
1009
- {
1010
- "include": "#strings"
1011
- },
1012
- {
1013
- "name": "meta.array.empty.php",
1014
- "match": "(array)(\\()(\\))",
1015
- "captures": {
1016
- "1": {
1017
- "name": "support.function.construct.php"
1018
- },
1019
- "2": {
1020
- "name": "punctuation.definition.array.begin.php"
1021
- },
1022
- "3": {
1023
- "name": "punctuation.definition.array.end.php"
1024
- }
1025
- }
1026
- },
1027
- {
1028
- "name": "meta.array.php",
1029
- "begin": "(array)(\\()",
1030
- "end": "\\)",
1031
- "patterns": [
1032
- {
1033
- "include": "#language"
1034
- }
1035
- ],
1036
- "beginCaptures": {
1037
- "1": {
1038
- "name": "support.function.construct.php"
1039
- },
1040
- "2": {
1041
- "name": "punctuation.definition.array.begin.php"
1042
- }
1043
- },
1044
- "endCaptures": {
1045
- "0": {
1046
- "name": "punctuation.definition.array.end.php"
1047
- }
1048
- }
1049
- },
1050
- {
1051
- "match": "(?i)\\s*\\(\\s*(array|real|double|float|int(eger)?|bool(ean)?|string|object|binary|unset|arraykey|nonnull|dict|vec|keyset)\\s*\\)",
1052
- "captures": {
1053
- "1": {
1054
- "name": "storage.type.php"
1055
- }
1056
- }
1057
- },
1058
- {
1059
- "name": "storage.type.php",
1060
- "match": "(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|trait|parent|self|object|arraykey|nonnull|dict|vec|keyset)\\b"
1061
- },
1062
- {
1063
- "name": "storage.modifier.php",
1064
- "match": "(?i)\\b(global|abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\\b"
1065
- },
1066
- {
1067
- "include": "#object"
1068
- },
1069
- {
1070
- "name": "punctuation.terminator.expression.php",
1071
- "match": ";"
1072
- },
1073
- {
1074
- "include": "#heredoc"
1075
- },
1076
- {
1077
- "name": "keyword.operator.string.php",
1078
- "match": "\\.=?"
1079
- },
1080
- {
1081
- "name": "keyword.operator.key.php",
1082
- "match": "=\u003e"
1083
- },
1084
- {
1085
- "name": "keyword.operator.lambda.php",
1086
- "match": "==\u003e"
1087
- },
1088
- {
1089
- "name": "keyword.operator.pipe.php",
1090
- "match": "\\|\u003e"
1091
- },
1092
- {
1093
- "match": "(?:(\\=)(\u0026))|(\u0026(?=[$A-Za-z_]))",
1094
- "captures": {
1095
- "1": {
1096
- "name": "keyword.operator.assignment.php"
1097
- },
1098
- "2": {
1099
- "name": "storage.modifier.reference.php"
1100
- },
1101
- "3": {
1102
- "name": "storage.modifier.reference.php"
1103
- }
1104
- }
1105
- },
1106
- {
1107
- "name": "keyword.operator.error-control.php",
1108
- "match": "(@)"
1109
- },
1110
- {
1111
- "name": "keyword.operator.comparison.php",
1112
- "match": "(!==|!=|===|==)"
1113
- },
1114
- {
1115
- "name": "keyword.operator.assignment.php",
1116
- "match": "=|\\+=|\\-=|\\*=|/=|%=|\u0026=|\\|=|\\^=|\u003c\u003c=|\u003e\u003e="
1117
- },
1118
- {
1119
- "name": "keyword.operator.comparison.php",
1120
- "match": "(\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"
1121
- },
1122
- {
1123
- "name": "keyword.operator.increment-decrement.php",
1124
- "match": "(\\-\\-|\\+\\+)"
1125
- },
1126
- {
1127
- "name": "keyword.operator.arithmetic.php",
1128
- "match": "(\\-|\\+|\\*|/|%)"
1129
- },
1130
- {
1131
- "name": "keyword.operator.logical.php",
1132
- "match": "(?i)(!|\u0026\u0026|\\|\\|)|\\b(and|or|xor)\\b"
1133
- },
1134
- {
1135
- "name": "keyword.operator.type.php",
1136
- "match": "(?i)\\b(is|as)\\b"
1137
- },
1138
- {
1139
- "include": "#function-call"
1140
- },
1141
- {
1142
- "name": "keyword.operator.bitwise.php",
1143
- "match": "\u003c\u003c|\u003e\u003e|~|\\^|\u0026|\\|"
1144
- },
1145
- {
1146
- "begin": "(?i)\\b(instanceof)\\b\\s+(?=[\\\\$a-z_])",
1147
- "end": "(?=[^\\\\$A-Za-z_0-9])",
1148
- "patterns": [
1149
- {
1150
- "include": "#class-name"
1151
- },
1152
- {
1153
- "include": "#variable-name"
1154
- }
1155
- ],
1156
- "beginCaptures": {
1157
- "1": {
1158
- "name": "keyword.operator.type.php"
1159
- }
1160
- }
1161
- },
1162
- {
1163
- "include": "#numbers"
1164
- },
1165
- {
1166
- "include": "#instantiation"
1167
- },
1168
- {
1169
- "match": "(?i)(goto)\\s+([a-z_][a-z_0-9]*)",
1170
- "captures": {
1171
- "1": {
1172
- "name": "keyword.control.goto.php"
1173
- },
1174
- "2": {
1175
- "name": "support.other.php"
1176
- }
1177
- }
1178
- },
1179
- {
1180
- "match": "(?i)^\\s*([a-z_][a-z_0-9]*)\\s*:",
1181
- "captures": {
1182
- "1": {
1183
- "name": "entity.name.goto-label.php"
1184
- }
1185
- }
1186
- },
1187
- {
1188
- "begin": "\\[",
1189
- "end": "\\]",
1190
- "patterns": [
1191
- {
1192
- "include": "#language"
1193
- }
1194
- ],
1195
- "beginCaptures": {
1196
- "0": {
1197
- "name": "punctuation.section.array.begin.php"
1198
- }
1199
- },
1200
- "endCaptures": {
1201
- "0": {
1202
- "name": "punctuation.section.array.end.php"
1203
- }
1204
- }
1205
- },
1206
- {
1207
- "include": "#literal-collections"
1208
- },
1209
- {
1210
- "begin": "\\{",
1211
- "end": "\\}",
1212
- "patterns": [
1213
- {
1214
- "include": "#language"
1215
- }
1216
- ],
1217
- "beginCaptures": {
1218
- "0": {
1219
- "name": "punctuation.section.scope.begin.php"
1220
- }
1221
- },
1222
- "endCaptures": {
1223
- "0": {
1224
- "name": "punctuation.section.scope.end.php"
1225
- }
1226
- }
1227
- },
1228
- {
1229
- "include": "#constants"
1230
- }
1231
- ]
1232
- },
1233
- "literal-collections": {
1234
- "patterns": [
1235
- {
1236
- "name": "meta.collection.literal.php",
1237
- "begin": "(Vector|ImmVector|Set|ImmSet|Map|ImmMap|Pair)\\s*({)",
1238
- "end": "(})",
1239
- "patterns": [
1240
- {
1241
- "include": "#language"
1242
- }
1243
- ],
1244
- "beginCaptures": {
1245
- "1": {
1246
- "name": "support.class.php"
1247
- },
1248
- "2": {
1249
- "name": "punctuation.section.array.begin.php"
1250
- }
1251
- },
1252
- "endCaptures": {
1253
- "1": {
1254
- "name": "punctuation.section.array.end.php"
1255
- }
1256
- }
1257
- }
1258
- ]
1259
- },
1260
- "namespace": {
1261
- "name": "support.other.namespace.php",
1262
- "begin": "(?i)((namespace)|[a-z0-9_]+)?(\\\\)(?=.*?[^a-z_0-9\\\\])",
1263
- "end": "(?i)(?=[a-z0-9_]*[^a-z0-9_\\\\])",
1264
- "patterns": [
1265
- {
1266
- "name": "entity.name.type.namespace.php",
1267
- "match": "(?i)[a-z0-9_]+(?=\\\\)"
1268
- },
1269
- {
1270
- "match": "(?i)(\\\\)",
1271
- "captures": {
1272
- "1": {
1273
- "name": "punctuation.separator.inheritance.php"
1274
- }
1275
- }
1276
- }
1277
- ],
1278
- "beginCaptures": {
1279
- "1": {
1280
- "name": "entity.name.type.namespace.php"
1281
- },
1282
- "3": {
1283
- "name": "punctuation.separator.inheritance.php"
1284
- }
1285
- }
1286
- },
1287
- "numbers": {
1288
- "name": "constant.numeric.php",
1289
- "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"
1290
- },
1291
- "object": {
1292
- "patterns": [
1293
- {
1294
- "begin": "(-\u003e)(\\$?\\{)",
1295
- "end": "(\\})",
1296
- "patterns": [
1297
- {
1298
- "include": "#language"
1299
- }
1300
- ],
1301
- "beginCaptures": {
1302
- "1": {
1303
- "name": "keyword.operator.class.php"
1304
- },
1305
- "2": {
1306
- "name": "punctuation.definition.variable.php"
1307
- }
1308
- },
1309
- "endCaptures": {
1310
- "1": {
1311
- "name": "punctuation.definition.variable.php"
1312
- }
1313
- }
1314
- },
1315
- {
1316
- "match": "(?x)\n(-\u003e)\n (?:\n ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n |\n ((\\$+)?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n )?",
1317
- "captures": {
1318
- "1": {
1319
- "name": "keyword.operator.class.php"
1320
- },
1321
- "2": {
1322
- "name": "meta.function-call.object.php"
1323
- },
1324
- "3": {
1325
- "name": "variable.other.property.php"
1326
- },
1327
- "4": {
1328
- "name": "punctuation.definition.variable.php"
1329
- }
1330
- }
1331
- }
1332
- ]
1333
- },
1334
- "parameter-default-types": {
1335
- "patterns": [
1336
- {
1337
- "include": "#strings"
1338
- },
1339
- {
1340
- "include": "#numbers"
1341
- },
1342
- {
1343
- "include": "#variables"
1344
- },
1345
- {
1346
- "name": "keyword.operator.key.php",
1347
- "match": "=\u003e"
1348
- },
1349
- {
1350
- "name": "keyword.operator.assignment.php",
1351
- "match": "="
1352
- },
1353
- {
1354
- "name": "storage.modifier.reference.php",
1355
- "match": "\u0026(?=\\s*\\$)"
1356
- },
1357
- {
1358
- "name": "meta.array.php",
1359
- "begin": "(array)\\s*(\\()",
1360
- "end": "\\)",
1361
- "patterns": [
1362
- {
1363
- "include": "#parameter-default-types"
1364
- }
1365
- ],
1366
- "beginCaptures": {
1367
- "1": {
1368
- "name": "support.function.construct.php"
1369
- },
1370
- "2": {
1371
- "name": "punctuation.definition.array.begin.php"
1372
- }
1373
- },
1374
- "endCaptures": {
1375
- "0": {
1376
- "name": "punctuation.definition.array.end.php"
1377
- }
1378
- }
1379
- },
1380
- {
1381
- "include": "#instantiation"
1382
- },
1383
- {
1384
- "begin": "(?xi)\n\\s*\n(?=\n [a-z_0-9\\\\]+(::)\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)",
1385
- "end": "(?i)(::)([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?",
1386
- "patterns": [
1387
- {
1388
- "include": "#class-name"
1389
- }
1390
- ],
1391
- "endCaptures": {
1392
- "1": {
1393
- "name": "keyword.operator.class.php"
1394
- },
1395
- "2": {
1396
- "name": "constant.other.class.php"
1397
- }
1398
- }
1399
- },
1400
- {
1401
- "include": "#constants"
1402
- }
1403
- ]
1404
- },
1405
- "php_doc": {
1406
- "patterns": [
1407
- {
1408
- "name": "invalid.illegal.missing-asterisk.phpdoc.php",
1409
- "match": "^(?!\\s*\\*).*$\\n?"
1410
- },
1411
- {
1412
- "match": "^\\s*\\*\\s*(@access)\\s+((public|private|protected)|(.+))\\s*$",
1413
- "captures": {
1414
- "1": {
1415
- "name": "keyword.other.phpdoc.php"
1416
- },
1417
- "3": {
1418
- "name": "storage.modifier.php"
1419
- },
1420
- "4": {
1421
- "name": "invalid.illegal.wrong-access-type.phpdoc.php"
1422
- }
1423
- }
1424
- },
1425
- {
1426
- "match": "(@xlink)\\s+(.+)\\s*$",
1427
- "captures": {
1428
- "1": {
1429
- "name": "keyword.other.phpdoc.php"
1430
- },
1431
- "2": {
1432
- "name": "markup.underline.link.php"
1433
- }
1434
- }
1435
- },
1436
- {
1437
- "name": "keyword.other.phpdoc.php",
1438
- "match": "\\@(a(bstract|uthor)|c(ategory|opyright)|example|global|internal|li(cense|nk)|pa(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|ersion)|uses|deprecated|final|ignore)\\b"
1439
- },
1440
- {
1441
- "name": "meta.tag.inline.phpdoc.php",
1442
- "match": "\\{(@(link)).+?\\}",
1443
- "captures": {
1444
- "1": {
1445
- "name": "keyword.other.phpdoc.php"
1446
- }
1447
- }
1448
- }
1449
- ]
1450
- },
1451
- "regex-double-quoted": {
1452
- "name": "string.regexp.double-quoted.php",
1453
- "begin": "(?x)\n\"/ (?=(\\\\.|[^\"/])++/[imsxeADSUXu]*\")",
1454
- "end": "(/)([imsxeADSUXu]*)(\")",
1455
- "patterns": [
1456
- {
1457
- "name": "constant.character.escape.regex.php",
1458
- "match": "(\\\\){1,2}[.$^\\[\\]{}]"
1459
- },
1460
- {
1461
- "include": "#interpolation"
1462
- },
1463
- {
1464
- "name": "string.regexp.arbitrary-repetition.php",
1465
- "match": "(\\{)\\d+(,\\d+)?(\\})",
1466
- "captures": {
1467
- "1": {
1468
- "name": "punctuation.definition.arbitrary-repetition.php"
1469
- },
1470
- "3": {
1471
- "name": "punctuation.definition.arbitrary-repetition.php"
1472
- }
1473
- }
1474
- },
1475
- {
1476
- "name": "string.regexp.character-class.php",
1477
- "begin": "\\[(?:\\^?\\])?",
1478
- "end": "\\]",
1479
- "patterns": [
1480
- {
1481
- "include": "#interpolation"
1482
- }
1483
- ],
1484
- "captures": {
1485
- "0": {
1486
- "name": "punctuation.definition.character-class.php"
1487
- }
1488
- }
1489
- },
1490
- {
1491
- "name": "keyword.operator.regexp.php",
1492
- "match": "[$^+*]"
1493
- }
1494
- ],
1495
- "beginCaptures": {
1496
- "0": {
1497
- "name": "punctuation.definition.string.begin.php"
1498
- }
1499
- },
1500
- "endCaptures": {
1501
- "0": {
1502
- "name": "punctuation.definition.string.end.php"
1503
- }
1504
- }
1505
- },
1506
- "regex-single-quoted": {
1507
- "name": "string.regexp.single-quoted.php",
1508
- "begin": "(?x)\n'/ (?=(\\\\.|[^'/])++/[imsxeADSUXu]*')",
1509
- "end": "(/)([imsxeADSUXu]*)(')",
1510
- "patterns": [
1511
- {
1512
- "name": "string.regexp.arbitrary-repetition.php",
1513
- "match": "(\\{)\\d+(,\\d+)?(\\})",
1514
- "captures": {
1515
- "1": {
1516
- "name": "punctuation.definition.arbitrary-repetition.php"
1517
- },
1518
- "3": {
1519
- "name": "punctuation.definition.arbitrary-repetition.php"
1520
- }
1521
- }
1522
- },
1523
- {
1524
- "name": "constant.character.escape.regex.php",
1525
- "match": "(\\\\){1,2}[.$^\\[\\]{}]"
1526
- },
1527
- {
1528
- "name": "constant.character.escape.php",
1529
- "match": "\\\\{1,2}[\\\\']"
1530
- },
1531
- {
1532
- "name": "string.regexp.character-class.php",
1533
- "begin": "\\[(?:\\^?\\])?",
1534
- "end": "\\]",
1535
- "patterns": [
1536
- {
1537
- "name": "constant.character.escape.php",
1538
- "match": "\\\\[\\\\'\\[\\]]"
1539
- }
1540
- ],
1541
- "captures": {
1542
- "0": {
1543
- "name": "punctuation.definition.character-class.php"
1544
- }
1545
- }
1546
- },
1547
- {
1548
- "name": "keyword.operator.regexp.php",
1549
- "match": "[$^+*]"
1550
- }
1551
- ],
1552
- "beginCaptures": {
1553
- "0": {
1554
- "name": "punctuation.definition.string.begin.php"
1555
- }
1556
- },
1557
- "endCaptures": {
1558
- "0": {
1559
- "name": "punctuation.definition.string.end.php"
1560
- }
1561
- }
1562
- },
1563
- "sql-string-double-quoted": {
1564
- "name": "string.quoted.double.sql.php",
1565
- "contentName": "source.sql.embedded.php",
1566
- "begin": "\"\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)",
1567
- "end": "\"",
1568
- "patterns": [
1569
- {
1570
- "name": "punctuation.definition.parameters.begin.bracket.round.php",
1571
- "match": "\\("
1572
- },
1573
- {
1574
- "name": "comment.line.number-sign.sql",
1575
- "match": "#(\\\\\"|[^\"])*(?=\"|$\\n?)"
1576
- },
1577
- {
1578
- "name": "comment.line.double-dash.sql",
1579
- "match": "--(\\\\\"|[^\"])*(?=\"|$\\n?)"
1580
- },
1581
- {
1582
- "name": "constant.character.escape.php",
1583
- "match": "\\\\[\\\\\"`']"
1584
- },
1585
- {
1586
- "name": "string.quoted.single.unclosed.sql",
1587
- "match": "'(?=((\\\\')|[^'\"])*(\"|$))"
1588
- },
1589
- {
1590
- "name": "string.quoted.other.backtick.unclosed.sql",
1591
- "match": "`(?=((\\\\`)|[^`\"])*(\"|$))"
1592
- },
1593
- {
1594
- "name": "string.quoted.single.sql",
1595
- "begin": "'",
1596
- "end": "'",
1597
- "patterns": [
1598
- {
1599
- "include": "#interpolation"
1600
- }
1601
- ]
1602
- },
1603
- {
1604
- "name": "string.quoted.other.backtick.sql",
1605
- "begin": "`",
1606
- "end": "`",
1607
- "patterns": [
1608
- {
1609
- "include": "#interpolation"
1610
- }
1611
- ]
1612
- },
1613
- {
1614
- "include": "#interpolation"
1615
- },
1616
- {
1617
- "include": "source.sql"
1618
- }
1619
- ],
1620
- "beginCaptures": {
1621
- "0": {
1622
- "name": "punctuation.definition.string.begin.php"
1623
- }
1624
- },
1625
- "endCaptures": {
1626
- "0": {
1627
- "name": "punctuation.definition.string.end.php"
1628
- }
1629
- }
1630
- },
1631
- "sql-string-single-quoted": {
1632
- "name": "string.quoted.single.sql.php",
1633
- "contentName": "source.sql.embedded.php",
1634
- "begin": "'\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)",
1635
- "end": "'",
1636
- "patterns": [
1637
- {
1638
- "name": "punctuation.definition.parameters.begin.bracket.round.php",
1639
- "match": "\\("
1640
- },
1641
- {
1642
- "name": "comment.line.number-sign.sql",
1643
- "match": "#(\\\\'|[^'])*(?='|$\\n?)"
1644
- },
1645
- {
1646
- "name": "comment.line.double-dash.sql",
1647
- "match": "--(\\\\'|[^'])*(?='|$\\n?)"
1648
- },
1649
- {
1650
- "name": "constant.character.escape.php",
1651
- "match": "\\\\[\\\\'`\"]"
1652
- },
1653
- {
1654
- "name": "string.quoted.other.backtick.unclosed.sql",
1655
- "match": "`(?=((\\\\`)|[^`'])*('|$))"
1656
- },
1657
- {
1658
- "name": "string.quoted.double.unclosed.sql",
1659
- "match": "\"(?=((\\\\\")|[^\"'])*('|$))"
1660
- },
1661
- {
1662
- "include": "source.sql"
1663
- }
1664
- ],
1665
- "beginCaptures": {
1666
- "0": {
1667
- "name": "punctuation.definition.string.begin.php"
1668
- }
1669
- },
1670
- "endCaptures": {
1671
- "0": {
1672
- "name": "punctuation.definition.string.end.php"
1673
- }
1674
- }
1675
- },
1676
- "string-double-quoted": {
1677
- "name": "string.quoted.double.php",
1678
- "contentName": "meta.string-contents.quoted.double.php",
1679
- "begin": "\"",
1680
- "end": "\"",
1681
- "patterns": [
1682
- {
1683
- "include": "#interpolation"
1684
- }
1685
- ],
1686
- "beginCaptures": {
1687
- "0": {
1688
- "name": "punctuation.definition.string.begin.php"
1689
- }
1690
- },
1691
- "endCaptures": {
1692
- "0": {
1693
- "name": "punctuation.definition.string.end.php"
1694
- }
1695
- }
1696
- },
1697
- "string-single-quoted": {
1698
- "name": "string.quoted.single.php",
1699
- "contentName": "meta.string-contents.quoted.single.php",
1700
- "begin": "'",
1701
- "end": "'",
1702
- "patterns": [
1703
- {
1704
- "name": "constant.character.escape.php",
1705
- "match": "\\\\[\\\\']"
1706
- }
1707
- ],
1708
- "beginCaptures": {
1709
- "0": {
1710
- "name": "punctuation.definition.string.begin.php"
1711
- }
1712
- },
1713
- "endCaptures": {
1714
- "0": {
1715
- "name": "punctuation.definition.string.end.php"
1716
- }
1717
- }
1718
- },
1719
- "strings": {
1720
- "patterns": [
1721
- {
1722
- "include": "#regex-double-quoted"
1723
- },
1724
- {
1725
- "include": "#sql-string-double-quoted"
1726
- },
1727
- {
1728
- "include": "#string-double-quoted"
1729
- },
1730
- {
1731
- "include": "#regex-single-quoted"
1732
- },
1733
- {
1734
- "include": "#sql-string-single-quoted"
1735
- },
1736
- {
1737
- "include": "#string-single-quoted"
1738
- }
1739
- ]
1740
- },
1741
- "support": {
1742
- "patterns": [
1743
- {
1744
- "name": "support.function.apc.php",
1745
- "match": "(?i)\\bapc_(s(tore|ma_info)|c(ompile_file|lear_cache|a(s|che_info))|inc|de(c|fine_constants|lete(_file)?)|exists|fetch|load_constants|add|bin_(dump(file)?|load(file)?))\\b"
1746
- },
1747
- {
1748
- "name": "support.function.array.php",
1749
- "match": "(?i)\\b(s(huffle|izeof|ort)|n(ext|at(sort|casesort))|c(o(unt|mpact)|urrent)|in_array|u(sort|ksort|asort)|p(os|rev)|e(nd|ach|xtract)|k(sort|ey|rsort)|list|a(sort|r(sort|ray(_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|mbine))|intersect(_(u(key|assoc)|key|assoc))?|diff(_(u(key|assoc)|key|assoc))?|u(n(shift|ique)|intersect(_(uassoc|assoc))?|diff(_(uassoc|assoc))?)|p(op|ush|ad|roduct)|values|key(s|_exists)|f(il(ter|l(_keys)?)|lip)|walk(_recursive)?|r(e(duce|place(_recursive)?|verse)|and)|m(ultisort|erge(_recursive)?|ap)))?))|r(sort|eset|ange))\\b"
1750
- },
1751
- {
1752
- "name": "support.function.basic_functions.php",
1753
- "match": "(?i)\\b(s(how_source|ys_getloadavg|leep)|highlight_(string|file)|con(stant|nection_(status|timeout|aborted))|time_(sleep_until|nanosleep)|ignore_user_abort|d(ie|efine(d)?)|u(sleep|n(iqid|pack))|__halt_compiler|p(hp_(strip_whitespace|check_syntax)|ack)|e(val|xit)|get_browser)\\b"
1754
- },
1755
- {
1756
- "name": "support.function.bcmath.php",
1757
- "match": "(?i)\\bbc(s(cale|ub|qrt)|comp|div|pow(mod)?|add|m(od|ul))\\b"
1758
- },
1759
- {
1760
- "name": "support.function.bz2.php",
1761
- "match": "(?i)\\bbz(c(ompress|lose)|open|decompress|err(str|no|or)|flush|write|read)\\b"
1762
- },
1763
- {
1764
- "name": "support.function.calendar.php",
1765
- "match": "(?i)\\b(GregorianToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|jdto(unix|jewish)|easter_da(ys|te)|J(ulianToJD|ewishToJD|D(MonthName|To(Gregorian|Julian|French)|DayOfWeek))|FrenchToJD)\\b"
1766
- },
1767
- {
1768
- "name": "support.function.classobj.php",
1769
- "match": "(?i)\\b(c(lass_(exists|alias)|all_user_method(_array)?)|trait_exists|i(s_(subclass_of|a)|nterface_exists)|__autoload|property_exists|get_(c(lass(_(vars|methods))?|alled_class)|object_vars|declared_(classes|traits|interfaces)|parent_class)|method_exists)\\b"
1770
- },
1771
- {
1772
- "name": "support.function.com.php",
1773
- "match": "(?i)\\b(com_(set|create_guid|i(senum|nvoke)|pr(int_typeinfo|op(set|put|get))|event_sink|load(_typelib)?|addref|release|get(_active_object)?|message_pump)|variant_(s(ub|et(_type)?)|n(ot|eg)|c(a(st|t)|mp)|i(nt|div|mp)|or|d(iv|ate_(to_timestamp|from_timestamp))|pow|eqv|fix|a(nd|dd|bs)|round|get_type|xor|m(od|ul)))\\b"
1774
- },
1775
- {
1776
- "name": "support.function.ctype.php",
1777
- "match": "(?i)\\bctype_(space|cntrl|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit)\\b"
1778
- },
1779
- {
1780
- "name": "support.function.curl.php",
1781
- "match": "(?i)\\bcurl_(setopt(_array)?|c(opy_handle|lose)|init|e(rr(no|or)|xec)|version|getinfo|multi_(select|close|in(it|fo_read)|exec|add_handle|remove_handle|getcontent))\\b"
1782
- },
1783
- {
1784
- "name": "support.function.datetime.php",
1785
- "match": "(?i)\\b(str(totime|ptime|ftime)|checkdate|time(zone_(name_(from_abbr|get)|transitions_get|identifiers_list|o(pen|ffset_get)|version_get|location_get|abbreviations_list))?|idate|date(_(su(n(set|_info|rise)|b)|create(_from_format)?|time(stamp_(set|get)|zone_(set|get)|_set)|i(sodate_set|nterval_(create_from_date_string|format))|offset_get|d(iff|efault_timezone_(set|get)|ate_set)|parse(_from_format)?|format|add|get_last_errors|modify))?|localtime|g(et(timeofday|date)|m(strftime|date|mktime))|m(icrotime|ktime))\\b"
1786
- },
1787
- {
1788
- "name": "support.function.dba.php",
1789
- "match": "(?i)\\bdba_(sync|handlers|nextkey|close|insert|op(timize|en)|delete|popen|exists|key_split|f(irstkey|etch)|list|replace)\\b"
1790
- },
1791
- {
1792
- "name": "support.function.dbx.php",
1793
- "match": "(?i)\\bdbx_(sort|c(o(nnect|mpare)|lose)|e(scape_string|rror)|query|fetch_row)\\b"
1794
- },
1795
- {
1796
- "name": "support.function.dir.php",
1797
- "match": "(?i)\\b(scandir|c(h(dir|root)|losedir)|opendir|dir|re(winddir|addir)|getcwd)\\b"
1798
- },
1799
- {
1800
- "name": "support.function.dotnet.php",
1801
- "match": "(?i)\\bdotnet_load\\b"
1802
- },
1803
- {
1804
- "name": "support.function.eio.php",
1805
- "match": "(?i)\\beio_(s(y(nc(_file_range|fs)?|mlink)|tat(vfs)?|e(ndfile|t_m(in_parallel|ax_(idle|p(oll_(time|reqs)|arallel)))|ek))|n(threads|op|pending|re(qs|ady))|c(h(own|mod)|ustom|lose|ancel)|truncate|init|open|dup2|u(nlink|time)|poll|event_loop|f(s(ync|tat(vfs)?)|ch(own|mod)|truncate|datasync|utime|allocate)|write|l(stat|ink)|r(e(name|a(d(dir|link|ahead)?|lpath))|mdir)|g(et_(event_stream|last_error)|rp(_(cancel|limit|add))?)|mk(nod|dir)|busy)\\b"
1806
- },
1807
- {
1808
- "name": "support.function.enchant.php",
1809
- "match": "(?i)\\benchant_(dict_(s(tore_replacement|uggest)|check|is_in_session|describe|quick_check|add_to_(session|personal)|get_error)|broker_(set_ordering|init|d(ict_exists|escribe)|free(_dict)?|list_dicts|request_(dict|pwl_dict)|get_error))\\b"
1810
- },
1811
- {
1812
- "name": "support.function.ereg.php",
1813
- "match": "(?i)\\b(s(plit(i)?|ql_regcase)|ereg(i(_replace)?|_replace)?)\\b"
1814
- },
1815
- {
1816
- "name": "support.function.errorfunc.php",
1817
- "match": "(?i)\\b(set_e(rror_handler|xception_handler)|trigger_error|debug_(print_backtrace|backtrace)|user_error|error_(log|reporting|get_last)|restore_e(rror_handler|xception_handler))\\b"
1818
- },
1819
- {
1820
- "name": "support.function.exec.php",
1821
- "match": "(?i)\\b(s(hell_exec|ystem)|p(assthru|roc_(nice|close|terminate|open|get_status))|e(scapeshell(cmd|arg)|xec))\\b"
1822
- },
1823
- {
1824
- "name": "support.function.exif.php",
1825
- "match": "(?i)\\b(exif_(t(humbnail|agname)|imagetype|read_data)|read_exif_data)\\b"
1826
- },
1827
- {
1828
- "name": "support.function.file.php",
1829
- "match": "(?i)\\b(s(ymlink|tat|et_file_buffer)|c(h(own|grp|mod)|opy|learstatcache)|t(ouch|empnam|mpfile)|is_(dir|uploaded_file|executable|file|writ(eable|able)|link|readable)|d(i(sk(_(total_space|free_space)|freespace)|rname)|elete)|u(nlink|mask)|p(close|open|a(thinfo|rse_ini_(string|file)))|f(s(canf|tat|eek)|nmatch|close|t(ell|runcate)|ile(size|ctime|type|inode|owner|_(put_contents|exists|get_contents)|perms|atime|group|mtime)?|open|p(ut(s|csv)|assthru)|eof|flush|write|lock|read|get(s(s)?|c(sv)?))|l(stat|ch(own|grp)|ink(info)?)|r(e(name|wind|a(d(file|link)|lpath(_cache_(size|get))?))|mdir)|glob|m(ove_uploaded_file|kdir)|basename)\\b"
1830
- },
1831
- {
1832
- "name": "support.function.fileinfo.php",
1833
- "match": "(?i)\\b(finfo_(set_flags|close|open|file|buffer)|mime_content_type)\\b"
1834
- },
1835
- {
1836
- "name": "support.function.filter.php",
1837
- "match": "(?i)\\bfilter_(has_var|i(nput(_array)?|d)|var(_array)?|list)\\b"
1838
- },
1839
- {
1840
- "name": "support.function.funchand.php",
1841
- "match": "(?i)\\b(c(all_user_func(_array)?|reate_function)|unregister_tick_function|f(orward_static_call(_array)?|unc(tion_exists|_(num_args|get_arg(s)?)))|register_(shutdown_function|tick_function)|get_defined_functions)\\b"
1842
- },
1843
- {
1844
- "name": "support.function.gettext.php",
1845
- "match": "(?i)\\b(ngettext|textdomain|d(ngettext|c(ngettext|gettext)|gettext)|gettext|bind(textdomain|_textdomain_codeset))\\b"
1846
- },
1847
- {
1848
- "name": "support.function.gmp.php",
1849
- "match": "(?i)\\bgmp_(s(can(1|0)|trval|ign|ub|etbit|qrt(rem)?)|hamdist|ne(g|xtprime)|c(om|lrbit|mp)|testbit|in(tval|it|vert)|or|div(_(q(r)?|r)|exact)?|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|fact|legendre|a(nd|dd|bs)|random|gcd(ext)?|xor|m(od|ul))\\b"
1850
- },
1851
- {
1852
- "name": "support.function.hash.php",
1853
- "match": "(?i)\\bhash(_(hmac(_file)?|copy|init|update(_(stream|file))?|pbkdf2|fi(nal|le)|algos))?\\b"
1854
- },
1855
- {
1856
- "name": "support.function.http.php",
1857
- "match": "(?i)\\b(http_(s(upport|end_(st(atus|ream)|content_(type|disposition)|data|file|last_modified))|head|negotiate_(c(harset|ontent_type)|language)|c(hunked_decode|ache_(etag|last_modified))|throttle|inflate|d(eflate|ate)|p(ost_(data|fields)|ut_(stream|data|file)|ersistent_handles_(c(ount|lean)|ident)|arse_(headers|cookie|params|message))|re(direct|quest(_(method_(name|unregister|exists|register)|body_encode))?)|get(_request_(headers|body(_stream)?))?|match_(etag|request_header|modified)|build_(str|cookie|url))|ob_(inflatehandler|deflatehandler|etaghandler))\\b"
1858
- },
1859
- {
1860
- "name": "support.function.iconv.php",
1861
- "match": "(?i)\\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\\b"
1862
- },
1863
- {
1864
- "name": "support.function.iisfunc.php",
1865
- "match": "(?i)\\biis_(s(t(op_serv(ice|er)|art_serv(ice|er))|et_(s(cript_map|erver_rights)|dir_security|app_settings))|add_server|remove_server|get_(s(cript_map|erv(ice_state|er_(rights|by_(comment|path))))|dir_security))\\b"
1866
- },
1867
- {
1868
- "name": "support.function.image.php",
1869
- "match": "(?i)\\b(i(ptc(parse|embed)|mage(s(y|tring(up)?|et(style|t(hickness|ile)|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|reate(truecolor|from(string|jpeg|png|wbmp|g(if|d(2(part)?)?)|x(pm|bm)))?)|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alettecopy)|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width))|wbmp|l(ine|oadfont|ayereffect)|a(ntialias|lphablending|rc)|r(otate|ectangle)|g(if|d(2)?|ammacorrect|rab(screen|window))|xbm))|jpeg2wbmp|png2wbmp|g(d_info|etimagesize(fromstring)?))\\b"
1870
- },
1871
- {
1872
- "name": "support.function.info.php",
1873
- "match": "(?i)\\b(s(ys_get_temp_dir|et_(time_limit|include_path|magic_quotes_runtime))|ini_(set|alter|restore|get(_all)?)|zend_(thread_id|version|logo_guid)|dl|p(hp(credits|info|_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|version)|utenv)|extension_loaded|version_compare|assert(_options)?|restore_include_path|g(c_(collect_cycles|disable|enable(d)?)|et(opt|_(c(urrent_user|fg_var)|include(d_files|_path)|defined_constants|extension_funcs|loaded_extensions|required_files|magic_quotes_(runtime|gpc))|env|lastmod|rusage|my(inode|uid|pid|gid)))|m(emory_get_(usage|peak_usage)|a(in|gic_quotes_runtime)))\\b"
1874
- },
1875
- {
1876
- "name": "support.function.interbase.php",
1877
- "match": "(?i)\\bibase_(se(t_event_handler|rv(ice_(detach|attach)|er_info))|n(um_(params|fields)|ame_result)|c(o(nnect|mmit(_ret)?)|lose)|trans|d(elete_user|rop_db|b_info)|p(connect|aram_info|repare)|e(rr(code|msg)|xecute)|query|f(ield_info|etch_(object|assoc|row)|ree_(event_handler|query|result))|wait_event|a(dd_user|ffected_rows)|r(ollback(_ret)?|estore)|gen_id|m(odify_user|aintain_db)|b(lob_(c(lose|ancel|reate)|i(nfo|mport)|open|echo|add|get)|ackup))\\b"
1878
- },
1879
- {
1880
- "name": "support.function.intl.php",
1881
- "match": "(?i)\\b(n(ormalizer_(normalize|is_normalized)|umfmt_(set_(symbol|text_attribute|pattern|attribute)|create|parse(_currency)?|format(_currency)?|get_(symbol|text_attribute|pattern|error_(code|message)|locale|attribute)))|collator_(s(ort(_with_sort_keys)?|et_(strength|attribute))|c(ompare|reate)|asort|get_(s(trength|ort_key)|error_(code|message)|locale|attribute))|transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|i(ntl_(is_failure|error_name|get_error_(code|message))|dn_to_(u(nicode|tf8)|ascii))|datefmt_(set_(calendar|timezone(_id)?|pattern|lenient)|create|is_lenient|parse|format(_object)?|localtime|get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|locale_(set_default|compose|parse|filter_matches|lookup|accept_from_http|get_(script|d(isplay_(script|name|variant|language|region)|efault)|primary_language|keywords|all_variants|region))|resourcebundle_(c(ount|reate)|locales|get(_error_(code|message))?)|grapheme_(s(tr(str|i(str|pos)|pos|len|r(ipos|pos))|ubstr)|extract)|msgfmt_(set_pattern|create|parse(_message)?|format(_message)?|get_(pattern|error_(code|message)|locale)))\\b"
1882
- },
1883
- {
1884
- "name": "support.function.json.php",
1885
- "match": "(?i)\\bjson_(decode|encode|last_error)\\b"
1886
- },
1887
- {
1888
- "name": "support.function.ldap.php",
1889
- "match": "(?i)\\bldap_(s(tart_tls|ort|e(t_(option|rebind_proc)|arch)|asl_bind)|next_(entry|attribute|reference)|c(o(n(nect|trol_paged_result(_response)?)|unt_entries|mpare)|lose)|t61_to_8859|d(n2ufn|elete)|8859_to_t61|unbind|parse_re(sult|ference)|e(rr(no|2str|or)|xplode_dn)|f(irst_(entry|attribute|reference)|ree_result)|list|add|re(name|ad)|get_(option|dn|entries|values(_len)?|attributes)|mod(ify|_(del|add|replace))|bind)\\b"
1890
- },
1891
- {
1892
- "name": "support.function.libxml.php",
1893
- "match": "(?i)\\blibxml_(set_(streams_context|external_entity_loader)|clear_errors|disable_entity_loader|use_internal_errors|get_(errors|last_error))\\b"
1894
- },
1895
- {
1896
- "name": "support.function.mail.php",
1897
- "match": "(?i)\\b(ezmlm_hash|mail)\\b"
1898
- },
1899
- {
1900
- "name": "support.function.math.php",
1901
- "match": "(?i)\\b(s(in(h)?|qrt|rand)|h(ypot|exdec)|c(os(h)?|eil)|tan(h)?|is_(nan|infinite|finite)|octdec|de(c(hex|oct|bin)|g2rad)|p(i|ow)|exp(m1)?|f(loor|mod)|l(cg_value|og(1(p|0))?)|a(sin(h)?|cos(h)?|tan(h|2)?|bs)|r(ound|a(nd|d2deg))|getrandmax|m(t_(srand|rand|getrandmax)|in|ax)|b(indec|ase_convert))\\b"
1902
- },
1903
- {
1904
- "name": "support.function.mbstring.php",
1905
- "match": "(?i)\\bmb_(s(tr(str|cut|to(upper|lower)|i(str|pos|mwidth)|pos|width|len|r(chr|i(chr|pos)|pos))|ubst(itute_character|r(_count)?)|plit|end_mail)|http_(input|output)|c(heck_encoding|onvert_(case|encoding|variables|kana))|internal_encoding|output_handler|de(code_(numericentity|mimeheader)|tect_(order|encoding))|p(arse_str|referred_mime_name)|e(ncod(ing_aliases|e_(numericentity|mimeheader))|reg(i(_replace)?|_(search(_(setpos|init|pos|regs|get(pos|regs)))?|replace(_callback)?|match))?)|l(ist_encodings|anguage)|regex_(set_options|encoding)|get_info)\\b"
1906
- },
1907
- {
1908
- "name": "support.function.mcrypt.php",
1909
- "match": "(?i)\\bm(crypt_(c(fb|reate_iv|bc)|ofb|decrypt|e(nc(_(self_test|is_block_(algorithm(_mode)?|mode)|get_(supported_key_sizes|iv_size|key_size|algorithms_name|modes_name|block_size))|rypt)|cb)|list_(algorithms|modes)|ge(neric(_(init|deinit|end))?|t_(cipher_name|iv_size|key_size|block_size))|module_(self_test|close|is_block_(algorithm(_mode)?|mode)|open|get_(supported_key_sizes|algo_(key_size|block_size))))|decrypt_generic)\\b"
1910
- },
1911
- {
1912
- "name": "support.function.memcache.php",
1913
- "match": "(?i)\\bmemcache_debug\\b"
1914
- },
1915
- {
1916
- "name": "support.function.mhash.php",
1917
- "match": "(?i)\\bmhash(_(count|keygen_s2k|get_(hash_name|block_size)))?\\b"
1918
- },
1919
- {
1920
- "name": "support.function.mongo.php",
1921
- "match": "(?i)\\bbson_(decode|encode)\\b"
1922
- },
1923
- {
1924
- "name": "support.function.mysql.php",
1925
- "match": "(?i)\\bmysql_(s(tat|e(t_charset|lect_db))|num_(fields|rows)|c(onnect|l(ient_encoding|ose)|reate_db)|t(hread_id|ablename)|in(sert_id|fo)|d(ata_seek|rop_db|b_(name|query))|unbuffered_query|p(connect|ing)|e(scape_string|rr(no|or))|query|f(ield_(seek|name|t(ype|able)|flags|len)|etch_(object|field|lengths|a(ssoc|rray)|row)|ree_result)|list_(tables|dbs|processes|fields)|affected_rows|re(sult|al_escape_string)|get_(server_info|host_info|client_info|proto_info))\\b"
1926
- },
1927
- {
1928
- "name": "support.function.mysqli.php",
1929
- "match": "(?i)\\bmysqli_(s(sl_set|t(ore_result|at|mt_(s(tore_result|end_long_data)|next_result|close|init|data_seek|prepare|execute|f(etch|ree_result)|attr_(set|get)|res(ult_metadata|et)|get_(warnings|result)|more_results|bind_(param|result)))|e(nd_(query|long_data)|t_(charset|opt|local_infile_(handler|default))|lect_db)|lave_query)|next_result|c(ha(nge_user|racter_set_name)|o(nnect|mmit)|l(ient_encoding|ose))|thread_safe|init|options|d(isable_r(pl_parse|eads_from_master)|ump_debug_info|ebug|ata_seek)|use_result|p(ing|oll|aram_count|repare)|e(scape_string|nable_r(pl_parse|eads_from_master)|xecute|mbedded_server_(start|end))|kill|query|f(ield_seek|etch(_(object|field(s|_direct)?|a(ssoc|ll|rray)|row))?|ree_result)|autocommit|r(ollback|pl_(p(arse_enabled|robe)|query_type)|e(port|fresh|a(p_async_query|l_(connect|escape_string|query))))|get_(c(harset|onnection_stats|lient_(stats|info|version)|ache_stats)|warnings|metadata)|m(ore_results|ulti_query|aster_query)|bind_(param|result))\\b"
1930
- },
1931
- {
1932
- "name": "support.function.mysqlnd-memcache.php",
1933
- "match": "(?i)\\bmysqlnd_memcache_(set|get_config)\\b"
1934
- },
1935
- {
1936
- "name": "support.function.mysqlnd-ms.php",
1937
- "match": "(?i)\\bmysqlnd_ms_(set_(user_pick_server|qos)|query_is_select|get_(stats|last_(used_connection|gtid))|match_wild)\\b"
1938
- },
1939
- {
1940
- "name": "support.function.mysqlnd-qc.php",
1941
- "match": "(?i)\\bmysqlnd_qc_(set_(storage_handler|cache_condition|is_select|user_handlers)|clear_cache|get_(normalized_query_trace_log|c(ore_stats|ache_info)|query_trace_log|available_handlers))\\b"
1942
- },
1943
- {
1944
- "name": "support.function.mysqlnd-uh.php",
1945
- "match": "(?i)\\bmysqlnd_uh_(set_(statement_proxy|connection_proxy)|convert_to_mysqlnd)\\b"
1946
- },
1947
- {
1948
- "name": "support.function.network.php",
1949
- "match": "(?i)\\b(s(yslog|ocket_(set_(timeout|blocking)|get_status)|et(cookie|rawcookie))|h(ttp_response_code|eader(s_(sent|list)|_re(gister_callback|move))?)|c(heckdnsrr|loselog)|i(net_(ntop|pton)|p2long)|openlog|d(ns_(check_record|get_(record|mx))|efine_syslog_variables)|pfsockopen|fsockopen|long2ip|get(servby(name|port)|host(name|by(name(l)?|addr))|protobyn(umber|ame)|mxrr))\\b"
1950
- },
1951
- {
1952
- "name": "support.function.nsapi.php",
1953
- "match": "(?i)\\bnsapi_(virtual|re(sponse_headers|quest_headers))\\b"
1954
- },
1955
- {
1956
- "name": "support.function.objaggregation.php",
1957
- "match": "(?i)\\b(deaggregate|aggregat(ion_info|e(_(info|properties(_by_(list|regexp))?|methods(_by_(list|regexp))?))?))\\b"
1958
- },
1959
- {
1960
- "name": "support.function.oci8.php",
1961
- "match": "(?i)\\boci(s(tatementtype|e(tprefetch|rverversion)|avelob(file)?)|n(umcols|ew(c(ollection|ursor)|descriptor)|logon)|c(o(l(umn(s(cale|ize)|name|type(raw)?|isnull|precision)|l(size|trim|a(ssign(elem)?|ppend)|getelem|max))|mmit)|loselob|ancel)|internaldebug|definebyname|_(s(tatement_type|e(t_(client_i(nfo|dentifier)|prefetch|edition|action|module_name)|rver_version))|n(um_(fields|rows)|ew_(c(o(nnect|llection)|ursor)|descriptor))|c(o(nnect|mmit)|l(ient_version|ose)|ancel)|internal_debug|define_by_name|p(connect|a(ssword_change|rse))|e(rror|xecute)|f(ield_(s(cale|ize)|name|type(_raw)?|is_null|precision)|etch(_(object|a(ssoc|ll|rray)|row))?|ree_(statement|descriptor))|lob_(copy|is_equal)|r(ollback|esult)|bind_(array_by_name|by_name))|p(logon|arse)|e(rror|xecute)|f(etch(statement|into)?|ree(statement|c(ollection|ursor)|desc))|write(temporarylob|lobtofile)|lo(adlob|go(n|ff))|r(o(wcount|llback)|esult)|bindbyname)\\b"
1962
- },
1963
- {
1964
- "name": "support.function.openssl.php",
1965
- "match": "(?i)\\bopenssl_(s(ign|eal)|c(sr_(sign|new|export(_to_file)?|get_(subject|public_key))|ipher_iv_length)|open|d(h_compute_key|igest|ecrypt)|p(ublic_(decrypt|encrypt)|k(cs(12_(export(_to_file)?|read)|7_(sign|decrypt|encrypt|verify))|ey_(new|export(_to_file)?|free|get_(details|p(ublic|rivate))))|rivate_(decrypt|encrypt))|e(ncrypt|rror_string)|verify|free_key|random_pseudo_bytes|get_(cipher_methods|p(ublickey|rivatekey)|md_methods)|x509_(check(_private_key|purpose)|parse|export(_to_file)?|free|read))\\b"
1966
- },
1967
- {
1968
- "name": "support.function.output.php",
1969
- "match": "(?i)\\b(o(utput_(add_rewrite_var|reset_rewrite_vars)|b_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|g(zhandler|et_(status|c(ontents|lean)|flush|le(ngth|vel)))))|flush)\\b"
1970
- },
1971
- {
1972
- "name": "support.function.password.php",
1973
- "match": "(?i)\\bpassword_(hash|needs_rehash|verify|get_info)\\b"
1974
- },
1975
- {
1976
- "name": "support.function.pcntl.php",
1977
- "match": "(?i)\\bpcntl_(s(ig(nal(_dispatch)?|timedwait|procmask|waitinfo)|etpriority)|exec|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|getpriority)\\b"
1978
- },
1979
- {
1980
- "name": "support.function.pgsql.php",
1981
- "match": "(?i)\\bpg_(se(nd_(prepare|execute|query(_params)?)|t_(client_encoding|error_verbosity)|lect)|host|num_(fields|rows)|c(o(n(nect(ion_(status|reset|busy))?|vert)|py_(to|from))|l(ient_encoding|ose)|ancel_query)|t(ty|ra(nsaction_status|ce))|insert|options|d(elete|bname)|u(n(trace|escape_bytea)|pdate)|p(connect|ing|ort|ut_line|arameter_status|repare)|e(scape_(string|identifier|literal|bytea)|nd_copy|xecute)|version|query(_params)?|f(ield_(size|n(um|ame)|t(ype(_oid)?|able)|is_null|prtlen)|etch_(object|a(ssoc|ll(_columns)?|rray)|r(ow|esult))|ree_result)|l(o_(seek|c(lose|reate)|tell|import|open|unlink|export|write|read(_all)?)|ast_(notice|oid|error))|affected_rows|result_(s(tatus|eek)|error(_field)?)|get_(notify|pid|result)|meta_data)\\b"
1982
- },
1983
- {
1984
- "name": "support.function.php_apache.php",
1985
- "match": "(?i)\\b(virtual|apache_(setenv|note|child_terminate|lookup_uri|re(s(ponse_headers|et_timeout)|quest_headers)|get(_(version|modules)|env))|getallheaders)\\b"
1986
- },
1987
- {
1988
- "name": "support.function.php_dom.php",
1989
- "match": "(?i)\\bdom_import_simplexml\\b"
1990
- },
1991
- {
1992
- "name": "support.function.php_ftp.php",
1993
- "match": "(?i)\\bftp_(s(sl_connect|ystype|i(te|ze)|et_option)|n(list|b_(continue|put|f(put|get)|get))|c(h(dir|mod)|onnect|dup|lose)|delete|p(ut|wd|asv)|exec|quit|f(put|get)|login|alloc|r(ename|aw(list)?|mdir)|get(_option)?|m(dtm|kdir))\\b"
1994
- },
1995
- {
1996
- "name": "support.function.php_imap.php",
1997
- "match": "(?i)\\bimap_(s(can(mailbox)?|tatus|ort|ubscribe|e(t(_quota|flag_full|acl)|arch)|avebody)|header(s|info)?|num_(recent|msg)|c(heck|l(ose|earflag_full)|reate(mailbox)?)|t(hread|imeout)|open|delete(mailbox)?|8bit|u(n(subscribe|delete)|tf(7_(decode|encode)|8)|id)|ping|e(rrors|xpunge)|qprint|fetch(structure|header|text|_overview|mime|body)|l(sub|ist(s(can|ubscribed)|mailbox)?|ast_error)|a(ppend|lerts)|r(e(name(mailbox)?|open)|fc822_(parse_(headers|adrlist)|write_address))|g(c|et(subscribed|_quota(root)?|acl|mailboxes))|m(sgno|ime_header_decode|ail(_(co(py|mpose)|move)|boxmsginfo)?)|b(inary|ody(struct)?|ase64))\\b"
1998
- },
1999
- {
2000
- "name": "support.function.php_mssql.php",
2001
- "match": "(?i)\\bmssql_(select_db|n(um_(fields|rows)|ext_result)|c(onnect|lose)|init|data_seek|pconnect|execute|query|f(ield_(seek|name|type|length)|etch_(object|field|a(ssoc|rray)|row|batch)|ree_(statement|result))|r(ows_affected|esult)|g(uid_string|et_last_message)|min_(error_severity|message_severity)|bind)\\b"
2002
- },
2003
- {
2004
- "name": "support.function.php_odbc.php",
2005
- "match": "(?i)\\bodbc_(s(tatistics|pecialcolumns|etoption)|n(um_(fields|rows)|ext_result)|c(o(nnect|lumn(s|privileges)|mmit)|ursor|lose(_all)?)|table(s|privileges)|d(o|ata_source)|p(connect|r(imarykeys|ocedure(s|columns)|epare))|e(rror(msg)?|xec(ute)?)|f(ield_(scale|n(um|ame)|type|precision|len)|oreignkeys|etch_(into|object|array|row)|ree_result)|longreadlen|autocommit|r(ollback|esult(_all)?)|gettypeinfo|binmode)\\b"
2006
- },
2007
- {
2008
- "name": "support.function.php_pcre.php",
2009
- "match": "(?i)\\bpreg_(split|quote|filter|last_error|replace(_callback)?|grep|match(_all)?)\\b"
2010
- },
2011
- {
2012
- "name": "support.function.php_spl.php",
2013
- "match": "(?i)\\b(spl_(classes|object_hash|autoload(_(call|unregister|extensions|functions|register))?)|class_(implements|uses|parents)|iterator_(count|to_array|apply))\\b"
2014
- },
2015
- {
2016
- "name": "support.function.php_zip.php",
2017
- "match": "(?i)\\bzip_(close|open|entry_(name|c(ompress(ionmethod|edsize)|lose)|open|filesize|read)|read)\\b"
2018
- },
2019
- {
2020
- "name": "support.function.posix.php",
2021
- "match": "(?i)\\bposix_(s(trerror|et(sid|uid|pgid|e(uid|gid)|gid))|ctermid|t(tyname|imes)|i(satty|nitgroups)|uname|errno|kill|access|get(sid|cwd|uid|_last_error|p(id|pid|w(nam|uid)|g(id|rp))|e(uid|gid)|login|rlimit|g(id|r(nam|oups|gid)))|mk(nod|fifo))\\b"
2022
- },
2023
- {
2024
- "name": "support.function.proctitle.php",
2025
- "match": "(?i)\\bset(threadtitle|proctitle)\\b"
2026
- },
2027
- {
2028
- "name": "support.function.pspell.php",
2029
- "match": "(?i)\\bpspell_(s(tore_replacement|uggest|ave_wordlist)|new(_(config|personal))?|c(heck|onfig_(save_repl|create|ignore|d(ict_dir|ata_dir)|personal|r(untogether|epl)|mode)|lear_session)|add_to_(session|personal))\\b"
2030
- },
2031
- {
2032
- "name": "support.function.readline.php",
2033
- "match": "(?i)\\breadline(_(c(ompletion_function|lear_history|allback_(handler_(install|remove)|read_char))|info|on_new_line|write_history|list_history|add_history|re(display|ad_history)))?\\b"
2034
- },
2035
- {
2036
- "name": "support.function.recode.php",
2037
- "match": "(?i)\\brecode(_(string|file))?\\b"
2038
- },
2039
- {
2040
- "name": "support.function.rrd.php",
2041
- "match": "(?i)\\brrd_(create|tune|info|update|error|version|f(irst|etch)|last(update)?|restore|graph|xport)\\b"
2042
- },
2043
- {
2044
- "name": "support.function.sem.php",
2045
- "match": "(?i)\\b(s(hm_(has_var|detach|put_var|attach|remove(_var)?|get_var)|em_(acquire|re(lease|move)|get))|ftok|msg_(s(tat_queue|e(nd|t_queue))|queue_exists|re(ceive|move_queue)|get_queue))\\b"
2046
- },
2047
- {
2048
- "name": "support.function.session.php",
2049
- "match": "(?i)\\bsession_(s(ta(tus|rt)|et_(save_handler|cookie_params)|ave_path)|name|c(ommit|ache_(expire|limiter))|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|reg(ister(_shutdown)?|enerate_id)|get_cookie_params|module_name)\\b"
2050
- },
2051
- {
2052
- "name": "support.function.shmop.php",
2053
- "match": "(?i)\\bshmop_(size|close|open|delete|write|read)\\b"
2054
- },
2055
- {
2056
- "name": "support.function.simplexml.php",
2057
- "match": "(?i)\\bsimplexml_(import_dom|load_(string|file))\\b"
2058
- },
2059
- {
2060
- "name": "support.function.snmp.php",
2061
- "match": "(?i)\\bsnmp(set|2_(set|walk|real_walk|get(next)?)|_(set_(oid_(numeric_print|output_format)|enum_print|valueretrieval|quick_print)|read_mib|get_(valueretrieval|quick_print))|3_(set|walk|real_walk|get(next)?)|walk(oid)?|realwalk|get(next)?)\\b"
2062
- },
2063
- {
2064
- "name": "support.function.soap.php",
2065
- "match": "(?i)\\b(is_soap_fault|use_soap_error_handler)\\b"
2066
- },
2067
- {
2068
- "name": "support.function.sockets.php",
2069
- "match": "(?i)\\bsocket_(s(hutdown|trerror|e(nd(to)?|t_(nonblock|option|block)|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?)|import_stream|write|l(isten|ast_error)|accept|re(cv(from)?|ad)|get(sockname|_option|peername)|bind)\\b"
2070
- },
2071
- {
2072
- "name": "support.function.sqlite.php",
2073
- "match": "(?i)\\bsqlite_(s(ingle_query|eek)|has_(prev|more)|n(um_(fields|rows)|ext)|c(hanges|olumn|urrent|lose|reate_(function|aggregate))|open|u(nbuffered_query|df_(decode_binary|encode_binary))|p(open|rev)|e(scape_string|rror_string|xec)|valid|key|query|f(ield_name|etch_(s(tring|ingle)|column_types|object|a(ll|rray))|actory)|l(ib(encoding|version)|ast_(insert_rowid|error))|array_query|rewind|busy_timeout)\\b"
2074
- },
2075
- {
2076
- "name": "support.function.sqlsrv.php",
2077
- "match": "(?i)\\bsqlsrv_(se(nd_stream_data|rver_info)|has_rows|n(um_(fields|rows)|ext_result)|c(o(n(nect|figure)|mmit)|l(ient_info|ose)|ancel)|prepare|e(rrors|xecute)|query|f(ield_metadata|etch(_(object|array))?|ree_stmt)|ro(ws_affected|llback)|get_(config|field)|begin_transaction)\\b"
2078
- },
2079
- {
2080
- "name": "support.function.stats.php",
2081
- "match": "(?i)\\bstats_(s(ta(ndard_deviation|t_(noncentral_t|correlation|in(nerproduct|dependent_t)|p(owersum|ercentile|aired_t)|gennch|binomial_coef))|kew)|harmonic_mean|c(ovariance|df_(n(oncentral_(chisquare|f)|egative_binomial)|c(hisquare|auchy)|t|uniform|poisson|exponential|f|weibull|l(ogistic|aplace)|gamma|b(inomial|eta)))|den(s_(n(ormal|egative_binomial)|c(hisquare|auchy)|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|weibull|l(ogistic|aplace)|gamma|beta)|_uniform)|variance|kurtosis|absolute_deviation|rand_(setall|phrase_to_seeds|ranf|ge(n_(no(ncen(tral_(t|f)|ral_chisquare)|rmal)|chisquare|t|i(nt|uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta)|t_seeds)))\\b"
2082
- },
2083
- {
2084
- "name": "support.function.streamsfuncs.php",
2085
- "match": "(?i)\\bs(tream_(s(ocket_(s(hutdown|e(ndto|rver))|client|pair|enable_crypto|accept|recvfrom|get_name)|upports_lock|e(t_(chunk_size|timeout|write_buffer|read_buffer|blocking)|lect))|notification_callback|co(ntext_(set_(option|default|params)|create|get_(options|default|params))|py_to_stream)|is_local|encoding|filter_(prepend|append|re(gister|move))|wrapper_(unregister|re(store|gister))|re(solve_include_path|gister_wrapper)|get_(contents|transports|filters|wrappers|line|meta_data)|bucket_(new|prepend|append|make_writeable))|et_socket_blocking)\\b"
2086
- },
2087
- {
2088
- "name": "support.function.string.php",
2089
- "match": "(?i)\\b(s(scanf|ha1(_file)?|tr(s(tr|pn)|n(c(asecmp|mp)|atc(asecmp|mp))|c(spn|hr|oll|asecmp|mp)|t(o(upper|k|lower)|r)|i(str|p(slashes|cslashes|os|_tags))|_(s(huffle|plit)|ireplace|pad|word_count|r(ot13|ep(eat|lace))|getcsv)|p(os|brk)|len|r(chr|ipos|pos|ev))|imilar_text|oundex|ubstr(_(co(unt|mpare)|replace))?|printf|etlocale)|h(tml(specialchars(_decode)?|_entity_decode|entities)|e(x2bin|brev(c)?))|n(umber_format|l(2br|_langinfo))|c(h(op|unk_split|r)|o(nvert_(cyr_string|uu(decode|encode))|unt_chars)|r(ypt|c32))|trim|implode|ord|uc(first|words)|join|p(arse_str|rint(f)?)|e(cho|xplode)|v(sprintf|printf|fprintf)|quote(d_printable_(decode|encode)|meta)|fprintf|wordwrap|l(cfirst|trim|ocaleconv|evenshtein)|add(slashes|cslashes)|rtrim|get_html_translation_table|m(oney_format|d5(_file)?|etaphone)|bin2hex)\\b"
2090
- },
2091
- {
2092
- "name": "support.function.sybase.php",
2093
- "match": "(?i)\\bsybase_(se(t_message_handler|lect_db)|num_(fields|rows)|c(onnect|lose)|d(eadlock_retry_count|ata_seek)|unbuffered_query|pconnect|query|f(ield_seek|etch_(object|field|a(ssoc|rray)|row)|ree_result)|affected_rows|result|get_last_message|min_(server_severity|client_severity|error_severity|message_severity))\\b"
2094
- },
2095
- {
2096
- "name": "support.function.taint.php",
2097
- "match": "(?i)\\b(taint|is_tainted|untaint)\\b"
2098
- },
2099
- {
2100
- "name": "support.function.tidy.php",
2101
- "match": "(?i)\\b(tidy_(s(et(opt|_encoding)|ave_config)|c(onfig_count|lean_repair)|is_x(html|ml)|diagnose|parse_(string|file)|error_count|warning_count|load_config|access_count|re(set_config|pair_(string|file))|get(opt|_(status|h(tml(_ver)?|ead)|config|o(utput|pt_doc)|r(oot|elease)|body)))|ob_tidyhandler)\\b"
2102
- },
2103
- {
2104
- "name": "support.function.tokenizer.php",
2105
- "match": "(?i)\\btoken_(name|get_all)\\b"
2106
- },
2107
- {
2108
- "name": "support.function.trader.php",
2109
- "match": "(?i)\\btrader_(s(t(och(f|rsi)?|ddev)|in(h)?|u(m|b)|et_(compat|unstable_period)|qrt|ar(ext)?|ma)|ht_(sine|trend(line|mode)|dcp(hase|eriod)|phasor)|natr|c(ci|o(s(h)?|rrel)|dl(s(ho(otingstar|rtline)|t(icksandwich|alledpattern)|pinningtop|eparatinglines)|h(i(kkake(mod)?|ghwave)|omingpigeon|a(ngingman|rami(cross)?|mmer))|c(o(ncealbabyswall|unterattack)|losingmarubozu)|t(hrusting|a(sukigap|kuri)|ristar)|i(n(neck|vertedhammer)|dentical3crows)|2crows|onneck|d(oji(star)?|arkcloudcover|ragonflydoji)|u(nique3river|psidegap2crows)|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|piercing|e(ngulfing|vening(star|dojistar))|kicking(bylength)?|l(ongl(ine|eggeddoji)|adderbottom)|a(dvanceblock|bandonedbaby)|ri(sefall3methods|ckshawman)|g(apsidesidewhite|ravestonedoji)|xsidegap3methods|m(orning(star|dojistar)|a(t(hold|chinglow)|rubozu))|b(elthold|reakaway))|eil|mo)|t(sf|ypprice|3|ema|an(h)?|r(i(x|ma)|ange))|obv|d(iv|ema|x)|ultosc|p(po|lus_d(i|m))|e(rrno|xp|ma)|var|kama|floor|w(clprice|illr|ma)|l(n|inearreg(_(slope|intercept|angle))?|og10)|a(sin|cos|t(an|r)|d(osc|d|x(r)?)?|po|vgprice|roon(osc)?)|r(si|oc(p|r(100)?)?)|get_(compat|unstable_period)|m(i(n(index|us_d(i|m)|max(index)?)?|dp(oint|rice))|om|ult|edprice|fi|a(cd(ext|fix)?|vp|x(index)?|ma)?)|b(op|eta|bands))\\b"
2110
- },
2111
- {
2112
- "name": "support.function.url.php",
2113
- "match": "(?i)\\b(http_build_query|url(decode|encode)|parse_url|rawurl(decode|encode)|get_(headers|meta_tags)|base64_(decode|encode))\\b"
2114
- },
2115
- {
2116
- "name": "support.function.var.php",
2117
- "match": "(?i)\\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|int(eger)?|object|double|float|long|array|re(source|al)|bool|arraykey|nonnull|dict|vec|keyset))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\\b"
2118
- },
2119
- {
2120
- "name": "support.function.wddx.php",
2121
- "match": "(?i)\\bwddx_(serialize_va(lue|rs)|deserialize|packet_(start|end)|add_vars)\\b"
2122
- },
2123
- {
2124
- "name": "support.function.xhprof.php",
2125
- "match": "(?i)\\bxhprof_(sample_(disable|enable)|disable|enable)\\b"
2126
- },
2127
- {
2128
- "name": "support.function.xml.php",
2129
- "match": "(?i)\\b(utf8_(decode|encode)|xml_(set_(start_namespace_decl_handler|notation_decl_handler|character_data_handler|object|default_handler|unparsed_entity_decl_handler|processing_instruction_handler|e(nd_namespace_decl_handler|lement_handler|xternal_entity_ref_handler))|parse(_into_struct|r_(set_option|create(_ns)?|free|get_option))?|error_string|get_(current_(column_number|line_number|byte_index)|error_code)))\\b"
2130
- },
2131
- {
2132
- "name": "support.function.xmlrpc.php",
2133
- "match": "(?i)\\bxmlrpc_(se(t_type|rver_(c(all_method|reate)|destroy|add_introspection_data|register_(introspection_callback|method)))|is_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|get_type)\\b"
2134
- },
2135
- {
2136
- "name": "support.function.xmlwriter.php",
2137
- "match": "(?i)\\bxmlwriter_(s(tart_(c(omment|data)|d(td(_(e(ntity|lement)|attlist))?|ocument)|pi|element(_ns)?|attribute(_ns)?)|et_indent(_string)?)|text|o(utput_memory|pen_(uri|memory))|end_(c(omment|data)|d(td(_(e(ntity|lement)|attlist))?|ocument)|pi|element|attribute)|f(ull_end_element|lush)|write_(c(omment|data)|dtd(_(e(ntity|lement)|attlist))?|pi|element(_ns)?|attribute(_ns)?|raw))\\b"
2138
- },
2139
- {
2140
- "name": "support.function.xslt.php",
2141
- "match": "(?i)\\bxslt_(set(opt|_(s(cheme_handler(s)?|ax_handler(s)?)|object|e(ncoding|rror_handler)|log|base))|create|process|err(no|or)|free|getopt|backend_(name|info|version))\\b"
2142
- },
2143
- {
2144
- "name": "support.function.zlib.php",
2145
- "match": "(?i)\\b(zlib_(decode|encode|get_coding_type)|readgzfile|gz(seek|c(ompress|lose)|tell|inflate|open|de(code|flate)|uncompress|p(uts|assthru)|e(ncode|of)|file|write|re(wind|ad)|get(s(s)?|c)))\\b"
2146
- },
2147
- {
2148
- "name": "support.function.alias.php",
2149
- "match": "(?i)\\bis_int(eger)?\\b"
2150
- }
2151
- ]
2152
- },
2153
- "type-annotation": {
2154
- "name": "storage.type.php",
2155
- "patterns": [
2156
- {
2157
- "name": "storage.type.array.php",
2158
- "match": "\\barray\\b"
2159
- },
2160
- {
2161
- "name": "storage.type.php",
2162
- "match": "\\b(?:bool|int|float|string|array|resource|mixed|arraykey|nonnull|dict|vec|keyset)\\b"
2163
- },
2164
- {
2165
- "begin": "([A-Za-z_][A-Za-z0-9_]*)\u003c",
2166
- "end": "\u003e",
2167
- "patterns": [
2168
- {
2169
- "include": "#type-annotation"
2170
- }
2171
- ],
2172
- "beginCaptures": {
2173
- "1": {
2174
- "name": "support.class.php"
2175
- }
2176
- }
2177
- },
2178
- {
2179
- "name": "storage.type.shape.php",
2180
- "begin": "(shape\\()",
2181
- "end": "((,|\\.\\.\\.)?\\s*\\))",
2182
- "patterns": [
2183
- {
2184
- "include": "#type-annotation"
2185
- },
2186
- {
2187
- "include": "#strings"
2188
- },
2189
- {
2190
- "include": "#constants"
2191
- }
2192
- ],
2193
- "endCaptures": {
2194
- "1": {
2195
- "name": "keyword.operator.key.php"
2196
- }
2197
- }
2198
- },
2199
- {
2200
- "begin": "\\(",
2201
- "end": "\\)",
2202
- "patterns": [
2203
- {
2204
- "include": "#type-annotation"
2205
- }
2206
- ]
2207
- },
2208
- {
2209
- "include": "#class-name"
2210
- },
2211
- {
2212
- "include": "#comments"
2213
- }
2214
- ]
2215
- },
2216
- "user-function-call": {
2217
- "name": "meta.function-call.php",
2218
- "begin": "(?i)(?=[a-z_0-9\\\\]*[a-z_][a-z0-9_]*\\s*\\()",
2219
- "end": "(?i)[a-z_][a-z_0-9]*(?=\\s*\\()",
2220
- "patterns": [
2221
- {
2222
- "include": "#namespace"
2223
- }
2224
- ],
2225
- "endCaptures": {
2226
- "0": {
2227
- "name": "entity.name.function.php"
2228
- }
2229
- }
2230
- },
2231
- "var_basic": {
2232
- "patterns": [
2233
- {
2234
- "name": "variable.other.php",
2235
- "match": "(?x)\n(\\$+)\n[a-zA-Z_\\x{7f}-\\x{ff}]\n[a-zA-Z0-9_\\x{7f}-\\x{ff}]*?\n\\b",
2236
- "captures": {
2237
- "1": {
2238
- "name": "punctuation.definition.variable.php"
2239
- }
2240
- }
2241
- }
2242
- ]
2243
- },
2244
- "var_global": {
2245
- "name": "variable.other.global.php",
2246
- "match": "(\\$)((_(COOKIE|FILES|GET|POST|REQUEST))|arg(v|c))\\b",
2247
- "captures": {
2248
- "1": {
2249
- "name": "punctuation.definition.variable.php"
2250
- }
2251
- }
2252
- },
2253
- "var_global_safer": {
2254
- "name": "variable.other.global.safer.php",
2255
- "match": "(\\$)((GLOBALS|_(ENV|SERVER|SESSION)))",
2256
- "captures": {
2257
- "1": {
2258
- "name": "punctuation.definition.variable.php"
2259
- }
2260
- }
2261
- },
2262
- "variable-name": {
2263
- "patterns": [
2264
- {
2265
- "include": "#var_global"
2266
- },
2267
- {
2268
- "include": "#var_global_safer"
2269
- },
2270
- {
2271
- "match": "(?x)\n((\\$)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))\n(?:\n (-\u003e)(\\g\u003cname\u003e)\n |\n (\\[)\n (?:(\\d+)|((\\$)\\g\u003cname\u003e)|(\\w+))\n (\\])\n)?",
2272
- "captures": {
2273
- "1": {
2274
- "name": "variable.other.php"
2275
- },
2276
- "10": {
2277
- "name": "string.unquoted.index.php"
2278
- },
2279
- "11": {
2280
- "name": "punctuation.section.array.end.php"
2281
- },
2282
- "2": {
2283
- "name": "punctuation.definition.variable.php"
2284
- },
2285
- "4": {
2286
- "name": "keyword.operator.class.php"
2287
- },
2288
- "5": {
2289
- "name": "variable.other.property.php"
2290
- },
2291
- "6": {
2292
- "name": "punctuation.section.array.begin.php"
2293
- },
2294
- "7": {
2295
- "name": "constant.numeric.index.php"
2296
- },
2297
- "8": {
2298
- "name": "variable.other.index.php"
2299
- },
2300
- "9": {
2301
- "name": "punctuation.definition.variable.php"
2302
- }
2303
- }
2304
- },
2305
- {
2306
- "match": "(?x)\n((\\$\\{)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\}))",
2307
- "captures": {
2308
- "1": {
2309
- "name": "variable.other.php"
2310
- },
2311
- "2": {
2312
- "name": "punctuation.definition.variable.php"
2313
- },
2314
- "4": {
2315
- "name": "punctuation.definition.variable.php"
2316
- }
2317
- }
2318
- }
2319
- ]
2320
- },
2321
- "variables": {
2322
- "patterns": [
2323
- {
2324
- "include": "#var_global"
2325
- },
2326
- {
2327
- "include": "#var_global_safer"
2328
- },
2329
- {
2330
- "include": "#var_basic"
2331
- },
2332
- {
2333
- "begin": "(\\$\\{)(?=.*?\\})",
2334
- "end": "(\\})",
2335
- "patterns": [
2336
- {
2337
- "include": "#language"
2338
- }
2339
- ],
2340
- "beginCaptures": {
2341
- "1": {
2342
- "name": "punctuation.definition.variable.php"
2343
- }
2344
- },
2345
- "endCaptures": {
2346
- "1": {
2347
- "name": "punctuation.definition.variable.php"
2348
- }
2349
- }
2350
- }
2351
- ]
2352
- },
2353
- "xhp": {
2354
- "patterns": [
2355
- {
2356
- "contentName": "source.xhp",
2357
- "begin": "(?\u003c=\\(|\\{|\\[|,|\u0026\u0026|\\|\\||\\?|:|=|=\u003e|\\Wreturn|^return|^)\\s*(?=\u003c[_\\p{L}])",
2358
- "end": "(?=.)",
2359
- "patterns": [
2360
- {
2361
- "include": "#xhp-tag-element-name"
2362
- }
2363
- ],
2364
- "applyEndPatternLast": true
2365
- }
2366
- ]
2367
- },
2368
- "xhp-assignment": {
2369
- "patterns": [
2370
- {
2371
- "name": "keyword.operator.assignment.xhp",
2372
- "match": "=(?=\\s*(?:'|\"|{|/\\*|\u003c|//|\\n))"
2373
- }
2374
- ]
2375
- },
2376
- "xhp-attribute-name": {
2377
- "patterns": [
2378
- {
2379
- "match": "(?\u003c!\\S)([_\\p{L}](?:[\\p{L}\\p{Mn}\\p{Mc}\\p{Nd}\\p{Nl}\\p{Pc}-](?\u003c!\\.\\.))*+)(?\u003c!\\.)(?=//|/\\*|=|\\s|\u003e|/\u003e)",
2380
- "captures": {
2381
- "0": {
2382
- "name": "entity.other.attribute-name.xhp"
2383
- }
2384
- }
2385
- }
2386
- ]
2387
- },
2388
- "xhp-entities": {
2389
- "patterns": [
2390
- {
2391
- "match": "(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
2392
- "captures": {
2393
- "0": {
2394
- "name": "constant.character.entity.xhp"
2395
- },
2396
- "1": {
2397
- "name": "punctuation.definition.entity.xhp"
2398
- },
2399
- "2": {
2400
- "name": "entity.name.tag.html.xhp"
2401
- },
2402
- "3": {
2403
- "name": "punctuation.definition.entity.xhp"
2404
- }
2405
- }
2406
- },
2407
- {
2408
- "name": "invalid.illegal.bad-ampersand.xhp",
2409
- "match": "\u0026\\S*;"
2410
- }
2411
- ]
2412
- },
2413
- "xhp-evaluated-code": {
2414
- "name": "meta.embedded.expression.php",
2415
- "contentName": "source.php.xhp",
2416
- "begin": "{",
2417
- "end": "}",
2418
- "patterns": [
2419
- {
2420
- "include": "#language"
2421
- }
2422
- ],
2423
- "beginCaptures": {
2424
- "0": {
2425
- "name": "punctuation.section.embedded.begin.xhp"
2426
- }
2427
- },
2428
- "endCaptures": {
2429
- "0": {
2430
- "name": "punctuation.section.embedded.end.xhp"
2431
- }
2432
- }
2433
- },
2434
- "xhp-html-comments": {
2435
- "name": "comment.block.html",
2436
- "begin": "\u003c!--",
2437
- "end": "--\\s*\u003e",
2438
- "patterns": [
2439
- {
2440
- "name": "invalid.illegal.bad-comments-or-CDATA.html",
2441
- "match": "--(?!-*\\s*\u003e)"
2442
- }
2443
- ],
2444
- "captures": {
2445
- "0": {
2446
- "name": "punctuation.definition.comment.html"
2447
- }
2448
- }
2449
- },
2450
- "xhp-string-double-quoted": {
2451
- "name": "string.quoted.double.php",
2452
- "begin": "\"",
2453
- "end": "\"(?\u003c!\\\\\")",
2454
- "patterns": [
2455
- {
2456
- "include": "#xhp-entities"
2457
- }
2458
- ],
2459
- "beginCaptures": {
2460
- "0": {
2461
- "name": "punctuation.definition.string.begin.xhp"
2462
- }
2463
- },
2464
- "endCaptures": {
2465
- "0": {
2466
- "name": "punctuation.definition.string.end.xhp"
2467
- }
2468
- }
2469
- },
2470
- "xhp-string-single-quoted": {
2471
- "name": "string.quoted.single.php",
2472
- "begin": "'",
2473
- "end": "'(?\u003c!\\\\')",
2474
- "patterns": [
2475
- {
2476
- "include": "#xhp-entities"
2477
- }
2478
- ],
2479
- "beginCaptures": {
2480
- "0": {
2481
- "name": "punctuation.definition.string.begin.xhp"
2482
- }
2483
- },
2484
- "endCaptures": {
2485
- "0": {
2486
- "name": "punctuation.definition.string.end.xhp"
2487
- }
2488
- }
2489
- },
2490
- "xhp-tag-attributes": {
2491
- "patterns": [
2492
- {
2493
- "include": "#xhp-attribute-name"
2494
- },
2495
- {
2496
- "include": "#xhp-assignment"
2497
- },
2498
- {
2499
- "include": "#xhp-string-double-quoted"
2500
- },
2501
- {
2502
- "include": "#xhp-string-single-quoted"
2503
- },
2504
- {
2505
- "include": "#xhp-evaluated-code"
2506
- },
2507
- {
2508
- "include": "#xhp-tag-element-name"
2509
- },
2510
- {
2511
- "include": "#comments"
2512
- }
2513
- ]
2514
- },
2515
- "xhp-tag-element-name": {
2516
- "patterns": [
2517
- {
2518
- "begin": "\\s*(\u003c)([_\\p{L}](?:[:\\p{L}\\p{Mn}\\p{Mc}\\p{Nd}\\p{Nl}\\p{Pc}-])*+)(?=[/\u003e\\s])(?\u003c![\\:])",
2519
- "end": "\\s*(?\u003c=\u003c/)(\\2)(\u003e)|(/\u003e)|((?\u003c=\u003c/)[\\S ]*?)\u003e",
2520
- "patterns": [
2521
- {
2522
- "include": "#xhp-tag-termination"
2523
- },
2524
- {
2525
- "include": "#xhp-html-comments"
2526
- },
2527
- {
2528
- "include": "#xhp-tag-attributes"
2529
- }
2530
- ],
2531
- "beginCaptures": {
2532
- "1": {
2533
- "name": "punctuation.definition.tag.xhp"
2534
- },
2535
- "2": {
2536
- "name": "entity.name.tag.open.xhp"
2537
- }
2538
- },
2539
- "endCaptures": {
2540
- "1": {
2541
- "name": "entity.name.tag.close.xhp"
2542
- },
2543
- "2": {
2544
- "name": "punctuation.definition.tag.xhp"
2545
- },
2546
- "3": {
2547
- "name": "punctuation.definition.tag.xhp"
2548
- },
2549
- "4": {
2550
- "name": "invalid.illegal.termination.xhp"
2551
- }
2552
- }
2553
- }
2554
- ]
2555
- },
2556
- "xhp-tag-termination": {
2557
- "patterns": [
2558
- {
2559
- "begin": "(?\u003c!--)(\u003e)",
2560
- "end": "(\u003c/)",
2561
- "patterns": [
2562
- {
2563
- "include": "#xhp-evaluated-code"
2564
- },
2565
- {
2566
- "include": "#xhp-entities"
2567
- },
2568
- {
2569
- "include": "#xhp-html-comments"
2570
- },
2571
- {
2572
- "include": "#xhp-tag-element-name"
2573
- }
2574
- ],
2575
- "beginCaptures": {
2576
- "0": {
2577
- "name": "punctuation.definition.tag.xhp"
2578
- },
2579
- "1": {
2580
- "name": "XHPStartTagEnd"
2581
- }
2582
- },
2583
- "endCaptures": {
2584
- "0": {
2585
- "name": "punctuation.definition.tag.xhp"
2586
- },
2587
- "1": {
2588
- "name": "XHPEndTagStart"
2589
- }
2590
- }
2591
- }
2592
- ]
2593
- }
2594
- }
2595
- }
1
+ {"name":"Hack","scopeName":"source.hack","patterns":[{"include":"text.html.basic"},{"include":"#language"}],"repository":{"attributes":{"patterns":[{"name":"meta.attributes.php","begin":"(\u003c\u003c)(?!\u003c)","end":"(\u003e\u003e)","patterns":[{"include":"#comments"},{"name":"entity.other.attribute-name.php","match":"([A-Za-z_][A-Za-z0-9_]*)"},{"begin":"(\\()","end":"(\\))","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.php"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.php"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.attributes.php"}},"endCaptures":{"1":{"name":"punctuation.definition.attributes.php"}}}]},"class-builtin":{"patterns":[{"name":"support.class.builtin.php","match":"(?i)(\\\\)?\\b(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Method|Class|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection)|ursor(Exception)?|lient)|Timestamp|I(nt(32|64)|d)|D(B(Ref)?|ate)|Pool|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(tackable|impleXML(Iterator|Element)|oap(Server|Header|Client|Param|Var|Fault)|NMP|CA(_(SoapProxy|LocalProxy))?|p(hinxClient|oofchecker|l(M(inHeap|axHeap)|S(tack|ubject)|Heap|T(ype|empFileObject)|Ob(server|jectStorage)|DoublyLinkedList|PriorityQueue|Enum|Queue|Fi(le(Info|Object)|xedArray)))|e(ssionHandler(Interface)?|ekableIterator|rializable)|DO_(Model_(ReflectionDataObject|Type|Property)|Sequence|D(ata(Object|Factory)|AS_(Relational|XML(_Document)?|Setting|ChangeSummary|Data(Object|Factory)))|Exception|List)|wish(Result(s)?|Search)?|VM(Model)?|QLite(Result|3(Result|Stmt)?|Database|Unbuffered)|AM(Message|Connection))|H(ttp(Re(sponse|quest(Pool)?)|Message|InflateStream|DeflateStream|QueryString)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))|Yaf_(R(oute(_(Re(write|gex)|Map|S(tatic|imple|upervar)|Interface)|r)|e(sponse_Abstract|quest_(Simple|Http|Abstract)|gistry))|Session|Con(troller_Abstract|fig_(Simple|Ini|Abstract))|Dispatcher|Plugin_Abstract|Exception|View_(Simple|Interface)|Loader|A(ction_Abstract|pplication))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|llator)|a(chingIterator|llbackFilterIterator))|T(hread|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tlDateFormatter|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?)?)|php_user_filter|ZipArchive|O(CI-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(Zone)?|Interval|Period))|Un(derflowException|expectedValueException)|JsonSerializable|finfo|P(har(Data|FileInfo)?|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|P(eriodic|repare)|Embed|Fork|Watcher|Loop)?|rrorException|xception|mptyIterator)|V(8Js(Exception)?|arnish(Stat|Log|Admin))|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|Frame|AttachedPictureFrame))|QuickHash(StringIntHash|Int(S(tringHash|et)|Hash))|Fil(terIterator|esystemIterator)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(MQP(C(hannel|onnection)|E(nvelope|xchange)|Queue)|ppendIterator|PCIterator|rray(Iterator|Object|Access)))\\b","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}}]},"class-name":{"patterns":[{"begin":"(?i)(?=\\\\?[a-z_0-9]+\\\\)","end":"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])","patterns":[{"include":"#namespace"}],"endCaptures":{"1":{"name":"support.class.php"}}},{"include":"#class-builtin"},{"begin":"(?=[\\\\a-zA-Z_])","end":"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])","patterns":[{"include":"#namespace"}],"endCaptures":{"1":{"name":"support.class.php"}}}]},"comments":{"patterns":[{"name":"comment.block.documentation.phpdoc.php","begin":"/\\*\\*(?:#@\\+)?\\s*$","end":"\\*/","patterns":[{"include":"#php_doc"}],"captures":{"0":{"name":"punctuation.definition.comment.php"}}},{"name":"comment.block.php","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"punctuation.definition.comment.php"}}},{"begin":"(^[ \\t]+)?(?=//)","end":"(?!\\G)","patterns":[{"name":"comment.line.double-slash.php","begin":"//","end":"\\n|(?=\\?\u003e)","beginCaptures":{"0":{"name":"punctuation.definition.comment.php"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.php"}}},{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.php","begin":"#","end":"\\n|(?=\\?\u003e)","beginCaptures":{"0":{"name":"punctuation.definition.comment.php"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.php"}}}]},"constants":{"patterns":[{"begin":"(?xi)\n(?=\n (\n (\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n |\n ([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n )\n [^a-z_0-9\\\\]\n)","end":"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])","patterns":[{"include":"#namespace"}],"endCaptures":{"1":{"name":"constant.other.php"}}},{"begin":"(?=\\\\?[a-zA-Z_\\x{7f}-\\x{ff}])","end":"(?=[^\\\\a-zA-Z_\\x{7f}-\\x{ff}])","patterns":[{"name":"constant.language.php","match":"(?i)\\b(TRUE|FALSE|NULL|__(FILE|DIR|FUNCTION|CLASS|METHOD|LINE|NAMESPACE)__)\\b"},{"name":"support.constant.core.php","match":"(\\\\)?\\b(STD(IN|OUT|ERR)|ZEND_(THREAD_SAFE|DEBUG_BUILD)|DEFAULT_INCLUDE_PATH|P(HP_(R(OUND_HALF_(ODD|DOWN|UP|EVEN)|ELEASE_VERSION)|M(INOR_VERSION|A(XPATHLEN|JOR_VERSION))|BINDIR|S(HLIB_SUFFIX|YSCONFDIR|API)|CONFIG_FILE_(SCAN_DIR|PATH)|INT_(MAX|SIZE)|ZTS|O(S|UTPUT_HANDLER_(START|CONT|END))|D(EBUG|ATADIR)|URL_(SCHEME|HOST|USER|P(ORT|A(SS|TH))|QUERY|FRAGMENT)|PREFIX|E(XT(RA_VERSION|ENSION_DIR)|OL)|VERSION(_ID)?|WINDOWS_(NT_(SERVER|DOMAIN_CONTROLLER|WORKSTATION)|VERSION_(M(INOR|AJOR)|BUILD|S(UITEMASK|P_M(INOR|AJOR))|P(RODUCTTYPE|LATFORM)))|L(IBDIR|OCALSTATEDIR))|EAR_(INSTALL_DIR|EXTENSION_DIR))|E_(RECOVERABLE_ERROR|STRICT|NOTICE|CO(RE_(ERROR|WARNING)|MPILE_(ERROR|WARNING))|DEPRECATED|USER_(NOTICE|DEPRECATED|ERROR|WARNING)|PARSE|ERROR|WARNING|ALL))\\b","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}},{"name":"support.constant.std.php","match":"(\\\\)?\\b(RADIXCHAR|GROUPING|M(_(1_PI|SQRT(1_2|2|3|PI)|2_(SQRTPI|PI)|PI(_(2|4))?|E(ULER)?|L(N(10|2|PI)|OG(10E|2E)))|ON_(GROUPING|1(1|2|0)?|7|2|8|THOUSANDS_SEP|3|DECIMAL_POINT|9|4|5|6))|S(TR_PAD_(RIGHT|BOTH|LEFT)|ORT_(REGULAR|STRING|NUMERIC|DESC|LOCALE_STRING|ASC)|EEK_(SET|CUR|END))|H(TML_(SPECIALCHARS|ENTITIES)|ASH_HMAC)|YES(STR|EXPR)|N(_(S(IGN_POSN|EP_BY_SPACE)|CS_PRECEDES)|O(STR|EXPR)|EGATIVE_SIGN|AN)|C(R(YPT_(MD5|BLOWFISH|S(HA(256|512)|TD_DES|ALT_LENGTH)|EXT_DES)|NCYSTR|EDITS_(G(ROUP|ENERAL)|MODULES|SAPI|DOCS|QA|FULLPAGE|ALL))|HAR_MAX|O(NNECTION_(NORMAL|TIMEOUT|ABORTED)|DESET|UNT_(RECURSIVE|NORMAL))|URRENCY_SYMBOL|ASE_(UPPER|LOWER))|__COMPILER_HALT_OFFSET__|T(HOUS(EP|ANDS_SEP)|_FMT(_AMPM)?)|IN(T_(CURR_SYMBOL|FRAC_DIGITS)|I_(S(YSTEM|CANNER_(RAW|NORMAL))|USER|PERDIR|ALL)|F(O_(GENERAL|MODULES|C(REDITS|ONFIGURATION)|ENVIRONMENT|VARIABLES|LICENSE|ALL))?)|D(_(T_FMT|FMT)|IRECTORY_SEPARATOR|ECIMAL_POINT|A(Y_(1|7|2|3|4|5|6)|TE_(R(SS|FC(1(123|036)|2822|8(22|50)|3339))|COOKIE|ISO8601|W3C|ATOM)))|UPLOAD_ERR_(NO_(TMP_DIR|FILE)|CANT_WRITE|INI_SIZE|OK|PARTIAL|EXTENSION|FORM_SIZE)|P(M_STR|_(S(IGN_POSN|EP_BY_SPACE)|CS_PRECEDES)|OSITIVE_SIGN|ATH(_SEPARATOR|INFO_(BASENAME|DIRNAME|EXTENSION|FILENAME)))|E(RA(_(YEAR|T_FMT|D_(T_FMT|FMT)))?|XTR_(REFS|SKIP|IF_EXISTS|OVERWRITE|PREFIX_(SAME|I(NVALID|F_EXISTS)|ALL))|NT_(NOQUOTES|COMPAT|IGNORE|QUOTES))|FRAC_DIGITS|L(C_(M(ONETARY|ESSAGES)|NUMERIC|C(TYPE|OLLATE)|TIME|ALL)|O(G_(MAIL|SYSLOG|N(O(TICE|WAIT)|DELAY|EWS)|C(R(IT|ON)|ONS)|INFO|ODELAY|D(EBUG|AEMON)|U(SER|UCP)|P(ID|ERROR)|E(RR|MERG)|KERN|WARNING|L(OCAL(1|7|2|3|4|5|0|6)|PR)|A(UTH(PRIV)?|LERT))|CK_(SH|NB|UN|EX)))|A(M_STR|B(MON_(1(1|2|0)?|7|2|8|3|9|4|5|6)|DAY_(1|7|2|3|4|5|6))|SSERT_(BAIL|CALLBACK|QUIET_EVAL|WARNING|ACTIVE)|LT_DIGITS))\\b","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}},{"name":"support.constant.ext.php","match":"(\\\\)?\\b(GLOB_(MARK|BRACE|NO(SORT|CHECK|ESCAPE)|ONLYDIR|ERR|AVAILABLE_FLAGS)|XML_(SAX_IMPL|HTML_DOCUMENT_NODE|N(OTATION_NODE|AMESPACE_DECL_NODE)|C(OMMENT_NODE|DATA_SECTION_NODE)|TEXT_NODE|OPTION_(SKIP_(TAGSTART|WHITE)|CASE_FOLDING|TARGET_ENCODING)|D(TD_NODE|OCUMENT_(NODE|TYPE_NODE|FRAG_NODE))|PI_NODE|E(RROR_(RECURSIVE_ENTITY_REF|MISPLACED_XML_PI|B(INARY_ENTITY_REF|AD_CHAR_REF)|SYNTAX|NO(NE|_(MEMORY|ELEMENTS))|TAG_MISMATCH|IN(CORRECT_ENCODING|VALID_TOKEN)|DUPLICATE_ATTRIBUTE|UN(CLOSED_(CDATA_SECTION|TOKEN)|DEFINED_ENTITY|KNOWN_ENCODING)|JUNK_AFTER_DOC_ELEMENT|PAR(TIAL_CHAR|AM_ENTITY_REF)|EXTERNAL_ENTITY_HANDLING|A(SYNC_ENTITY|TTRIBUTE_EXTERNAL_ENTITY_REF))|NTITY_(REF_NODE|NODE|DECL_NODE)|LEMENT_(NODE|DECL_NODE))|LOCAL_NAMESPACE|ATTRIBUTE_(N(MTOKEN(S)?|O(TATION|DE))|CDATA|ID(REF(S)?)?|DECL_NODE|EN(TITY|UMERATION)))|M(HASH_(RIPEMD(1(28|60)|256|320)|GOST|MD(2|4|5)|S(HA(1|2(24|56)|384|512)|NEFRU256)|HAVAL(1(28|92|60)|2(24|56))|CRC32(B)?|TIGER(1(28|60))?|WHIRLPOOL|ADLER32)|YSQL(_(BOTH|NUM|CLIENT_(SSL|COMPRESS|I(GNORE_SPACE|NTERACTIVE))|ASSOC)|I_(RE(PORT_(STRICT|INDEX|OFF|ERROR|ALL)|FRESH_(GRANT|MASTER|BACKUP_LOG|S(TATUS|LAVE)|HOSTS|T(HREADS|ABLES)|LOG)|AD_DEFAULT_(GROUP|FILE))|GROUP_FLAG|MULTIPLE_KEY_FLAG|B(INARY_FLAG|OTH|LOB_FLAG)|S(T(MT_ATTR_(CURSOR_TYPE|UPDATE_MAX_LENGTH|PREFETCH_ROWS)|ORE_RESULT)|E(RVER_QUERY_(NO_(GOOD_INDEX_USED|INDEX_USED)|WAS_SLOW)|T_(CHARSET_NAME|FLAG)))|N(O(_D(EFAULT_VALUE_FLAG|ATA)|T_NULL_FLAG)|UM(_FLAG)?)|C(URSOR_TYPE_(READ_ONLY|SCROLLABLE|NO_CURSOR|FOR_UPDATE)|LIENT_(SSL|NO_SCHEMA|COMPRESS|I(GNORE_SPACE|NTERACTIVE)|FOUND_ROWS))|T(YPE_(GEOMETRY|MEDIUM_BLOB|B(IT|LOB)|S(HORT|TRING|ET)|YEAR|N(ULL|EWD(ECIMAL|ATE))|CHAR|TI(ME(STAMP)?|NY(_BLOB)?)|INT(24|ERVAL)|D(OUBLE|ECIMAL|ATE(TIME)?)|ENUM|VAR_STRING|FLOAT|LONG(_BLOB|LONG)?)|IMESTAMP_FLAG)|INIT_COMMAND|ZEROFILL_FLAG|O(N_UPDATE_NOW_FLAG|PT_(NET_(READ_BUFFER_SIZE|CMD_BUFFER_SIZE)|CONNECT_TIMEOUT|INT_AND_FLOAT_NATIVE|LOCAL_INFILE))|D(EBUG_TRACE_ENABLED|ATA_TRUNCATED)|U(SE_RESULT|N(SIGNED_FLAG|IQUE_KEY_FLAG))|P(RI_KEY_FLAG|ART_KEY_FLAG)|ENUM_FLAG|A(S(SOC|YNC)|UTO_INCREMENT_FLAG)))|CRYPT_(R(C(2|6)|IJNDAEL_(1(28|92)|256)|AND)|GOST|XTEA|M(ODE_(STREAM|NOFB|C(BC|FB)|OFB|ECB)|ARS)|BLOWFISH(_COMPAT)?|S(ERPENT|KIPJACK|AFER(128|PLUS|64))|C(RYPT|AST_(128|256))|T(RIPLEDES|HREEWAY|WOFISH)|IDEA|3DES|DE(S|CRYPT|V_(RANDOM|URANDOM))|PANAMA|EN(CRYPT|IGNA)|WAKE|LOKI97|ARCFOUR(_IV)?))|S(TREAM_(REPORT_ERRORS|M(UST_SEEK|KDIR_RECURSIVE)|BUFFER_(NONE|FULL|LINE)|S(HUT_(RD(WR)?|WR)|OCK_(R(DM|AW)|S(TREAM|EQPACKET)|DGRAM)|ERVER_(BIND|LISTEN))|NOTIFY_(RE(SOLVE|DIRECTED)|MIME_TYPE_IS|SEVERITY_(INFO|ERR|WARN)|CO(MPLETED|NNECT)|PROGRESS|F(ILE_SIZE_IS|AILURE)|AUTH_RE(SULT|QUIRED))|C(RYPTO_METHOD_(SSLv(2(_(SERVER|CLIENT)|3_(SERVER|CLIENT))|3_(SERVER|CLIENT))|TLS_(SERVER|CLIENT))|LIENT_(CONNECT|PERSISTENT|ASYNC_CONNECT)|AST_(FOR_SELECT|AS_STREAM))|I(GNORE_URL|S_URL|PPROTO_(RAW|TCP|I(CMP|P)|UDP))|O(OB|PTION_(READ_(BUFFER|TIMEOUT)|BLOCKING|WRITE_BUFFER))|U(RL_STAT_(QUIET|LINK)|SE_PATH)|P(EEK|F_(INET(6)?|UNIX))|ENFORCE_SAFE_MODE|FILTER_(READ|WRITE|ALL))|UNFUNCS_RET_(STRING|TIMESTAMP|DOUBLE)|QLITE(_(R(OW|EADONLY)|MIS(MATCH|USE)|B(OTH|USY)|SCHEMA|N(O(MEM|T(FOUND|ADB)|LFS)|UM)|C(O(RRUPT|NSTRAINT)|ANTOPEN)|TOOBIG|I(NTER(RUPT|NAL)|OERR)|OK|DONE|P(ROTOCOL|ERM)|E(RROR|MPTY)|F(ORMAT|ULL)|LOCKED|A(BORT|SSOC|UTH))|3_(B(OTH|LOB)|NU(M|LL)|TEXT|INTEGER|OPEN_(READ(ONLY|WRITE)|CREATE)|FLOAT|ASSOC)))|CURL(M(SG_DONE|_(BAD_(HANDLE|EASY_HANDLE)|CALL_MULTI_PERFORM|INTERNAL_ERROR|O(UT_OF_MEMORY|K)))|SSH_AUTH_(HOST|NONE|DEFAULT|P(UBLICKEY|ASSWORD)|KEYBOARD)|CLOSEPOLICY_(SLOWEST|CALLBACK|OLDEST|LEAST_(RECENTLY_USED|TRAFFIC))|_(HTTP_VERSION_(1_(1|0)|NONE)|NETRC_(REQUIRED|IGNORED|OPTIONAL)|TIMECOND_(IF(MODSINCE|UNMODSINCE)|LASTMOD)|IPRESOLVE_(V(4|6)|WHATEVER)|VERSION_(SSL|IPV6|KERBEROS4|LIBZ))|INFO_(RE(DIRECT_(COUNT|TIME)|QUEST_SIZE)|S(SL_VERIFYRESULT|TARTTRANSFER_TIME|IZE_(DOWNLOAD|UPLOAD)|PEED_(DOWNLOAD|UPLOAD))|H(TTP_CODE|EADER_(SIZE|OUT))|NAMELOOKUP_TIME|C(ON(NECT_TIME|TENT_(TYPE|LENGTH_(DOWNLOAD|UPLOAD)))|ERTINFO)|TOTAL_TIME|PR(IVATE|ETRANSFER_TIME)|EFFECTIVE_URL|FILETIME)|OPT_(R(E(SUME_FROM|TURNTRANSFER|DIR_PROTOCOLS|FERER|AD(DATA|FUNCTION))|AN(GE|DOM_FILE))|MAX(REDIRS|CONNECTS)|B(INARYTRANSFER|UFFERSIZE)|S(S(H_(HOST_PUBLIC_KEY_MD5|P(RIVATE_KEYFILE|UBLIC_KEYFILE)|AUTH_TYPES)|L(CERT(TYPE|PASSWD)?|_(CIPHER_LIST|VERIFY(HOST|PEER))|ENGINE(_DEFAULT)?|VERSION|KEY(TYPE|PASSWD)?))|TDERR)|H(TTP(GET|HEADER|200ALIASES|_VERSION|PROXYTUNNEL|AUTH)|EADER(FUNCTION)?)|N(O(BODY|SIGNAL|PROGRESS)|ETRC)|C(RLF|O(NNECTTIMEOUT(_MS)?|OKIE(SESSION|JAR|FILE)?)|USTOMREQUEST|ERTINFO|LOSEPOLICY|A(INFO|PATH))|T(RANSFERTEXT|CP_NODELAY|IME(CONDITION|OUT(_MS)?|VALUE))|I(N(TERFACE|FILE(SIZE)?)|PRESOLVE)|DNS_(CACHE_TIMEOUT|USE_GLOBAL_CACHE)|U(RL|SER(PWD|AGENT)|NRESTRICTED_AUTH|PLOAD)|P(R(IVATE|O(GRESSFUNCTION|XY(TYPE|USERPWD|PORT|AUTH)?|TOCOLS))|O(RT|ST(REDIR|QUOTE|FIELDS)?)|UT)|E(GDSOCKET|NCODING)|VERBOSE|K(RB4LEVEL|EYPASSWD)|QUOTE|F(RESH_CONNECT|TP(SSLAUTH|_(S(SL|KIP_PASV_IP)|CREATE_MISSING_DIRS|USE_EP(RT|SV)|FILEMETHOD)|PORT|LISTONLY|APPEND)|ILE(TIME)?|O(RBID_REUSE|LLOWLOCATION)|AILONERROR)|WRITE(HEADER|FUNCTION)|LOW_SPEED_(TIME|LIMIT)|AUTOREFERER)|PRO(XY_(SOCKS(4|5)|HTTP)|TO_(S(CP|FTP)|HTTP(S)?|T(ELNET|FTP)|DICT|F(TP(S)?|ILE)|LDAP(S)?|ALL))|E_(RE(CV_ERROR|AD_ERROR)|GOT_NOTHING|MALFORMAT_USER|BAD_(C(ONTENT_ENCODING|ALLING_ORDER)|PASSWORD_ENTERED|FUNCTION_ARGUMENT)|S(S(H|L_(C(IPHER|ONNECT_ERROR|ERTPROBLEM|ACERT)|PEER_CERTIFICATE|ENGINE_(SETFAILED|NOTFOUND)))|HARE_IN_USE|END_ERROR)|HTTP_(RANGE_ERROR|NOT_FOUND|PO(RT_FAILED|ST_ERROR))|COULDNT_(RESOLVE_(HOST|PROXY)|CONNECT)|T(OO_MANY_REDIRECTS|ELNET_OPTION_SYNTAX)|O(BSOLETE|UT_OF_MEMORY|PERATION_TIMEOUTED|K)|U(RL_MALFORMAT(_USER)?|N(SUPPORTED_PROTOCOL|KNOWN_TELNET_OPTION))|PARTIAL_FILE|F(TP_(BAD_DOWNLOAD_RESUME|SSL_FAILED|C(OULDNT_(RETR_FILE|GET_SIZE|S(TOR_FILE|ET_(BINARY|ASCII))|USE_REST)|ANT_(RECONNECT|GET_HOST))|USER_PASSWORD_INCORRECT|PORT_FAILED|QUOTE_ERROR|W(RITE_ERROR|EIRD_(SERVER_REPLY|227_FORMAT|USER_REPLY|PAS(S_REPLY|V_REPLY)))|ACCESS_DENIED)|ILE(SIZE_EXCEEDED|_COULDNT_READ_FILE)|UNCTION_NOT_FOUND|AILED_INIT)|WRITE_ERROR|L(IBRARY_NOT_FOUND|DAP_(SEARCH_FAILED|CANNOT_BIND|INVALID_URL))|ABORTED_BY_CALLBACK)|VERSION_NOW|FTP(METHOD_(MULTICWD|SINGLECWD|NOCWD)|SSL_(NONE|CONTROL|TRY|ALL)|AUTH_(SSL|TLS|DEFAULT))|AUTH_(GSSNEGOTIATE|BASIC|NTLM|DIGEST|ANY(SAFE)?))|I(MAGETYPE_(GIF|XBM|BMP|SWF|COUNT|TIFF_(MM|II)|I(CO|FF)|UNKNOWN|J(B2|P(X|2|C|EG(2000)?))|P(SD|NG)|WBMP)|NPUT_(REQUEST|GET|SE(RVER|SSION)|COOKIE|POST|ENV)|CONV_(MIME_DECODE_(STRICT|CONTINUE_ON_ERROR)|IMPL|VERSION))|D(NS_(MX|S(RV|OA)|HINFO|N(S|APTR)|CNAME|TXT|PTR|A(NY|LL|AAA|6)?)|OM(STRING_SIZE_ERR|_(SYNTAX_ERR|HIERARCHY_REQUEST_ERR|N(O(_(MODIFICATION_ALLOWED_ERR|DATA_ALLOWED_ERR)|T_(SUPPORTED_ERR|FOUND_ERR))|AMESPACE_ERR)|IN(DEX_SIZE_ERR|USE_ATTRIBUTE_ERR|VALID_(MODIFICATION_ERR|STATE_ERR|CHARACTER_ERR|ACCESS_ERR))|PHP_ERR|VALIDATION_ERR|WRONG_DOCUMENT_ERR)))|JSON_(HEX_(TAG|QUOT|A(MP|POS))|NUMERIC_CHECK|ERROR_(S(YNTAX|TATE_MISMATCH)|NONE|CTRL_CHAR|DEPTH|UTF8)|FORCE_OBJECT)|P(REG_(RECURSION_LIMIT_ERROR|GREP_INVERT|BA(CKTRACK_LIMIT_ERROR|D_UTF8_(OFFSET_ERROR|ERROR))|S(PLIT_(NO_EMPTY|OFFSET_CAPTURE|DELIM_CAPTURE)|ET_ORDER)|NO_ERROR|INTERNAL_ERROR|OFFSET_CAPTURE|PATTERN_ORDER)|SFS_(PASS_ON|ERR_FATAL|F(EED_ME|LAG_(NORMAL|FLUSH_(CLOSE|INC))))|CRE_VERSION|OSIX_(R_OK|X_OK|S_IF(REG|BLK|SOCK|CHR|IFO)|F_OK|W_OK))|F(NM_(NOESCAPE|CASEFOLD|P(ERIOD|ATHNAME))|IL(TER_(REQUIRE_(SCALAR|ARRAY)|SANITIZE_(MAGIC_QUOTES|S(TRI(NG|PPED)|PECIAL_CHARS)|NUMBER_(INT|FLOAT)|URL|E(MAIL|NCODED)|FULL_SPECIAL_CHARS)|NULL_ON_FAILURE|CALLBACK|DEFAULT|UNSAFE_RAW|VALIDATE_(REGEXP|BOOLEAN|I(NT|P)|URL|EMAIL|FLOAT)|F(ORCE_ARRAY|LAG_(S(CHEME_REQUIRED|TRIP_(BACKTICK|HIGH|LOW))|HOST_REQUIRED|NO(NE|_(RES_RANGE|PRIV_RANGE|ENCODE_QUOTES))|IPV(4|6)|PATH_REQUIRED|E(MPTY_STRING_NULL|NCODE_(HIGH|LOW|AMP))|QUERY_REQUIRED|ALLOW_(SCIENTIFIC|HEX|THOUSAND|OCTAL|FRACTION))))|E(_(BINARY|SKIP_EMPTY_LINES|NO_DEFAULT_CONTEXT|TEXT|IGNORE_NEW_LINES|USE_INCLUDE_PATH|APPEND)|INFO_(RAW|MIME(_(TYPE|ENCODING))?|SYMLINK|NONE|CONTINUE|DEVICES|PRESERVE_ATIME)))|ORCE_(GZIP|DEFLATE))|LIBXML_(XINCLUDE|N(SCLEAN|O(XMLDECL|BLANKS|NET|CDATA|E(RROR|MPTYTAG|NT)|WARNING))|COMPACT|D(TD(VALID|LOAD|ATTR)|OTTED_VERSION)|PARSEHUGE|ERR_(NONE|ERROR|FATAL|WARNING)|VERSION|LOADED_VERSION))\\b","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}},{"name":"support.constant.parser-token.php","match":"(\\\\)?\\bT_(RE(TURN|QUIRE(_ONCE)?)|G(OTO|LOBAL)|XOR_EQUAL|M(INUS_EQUAL|OD_EQUAL|UL_EQUAL|ETHOD_C|L_COMMENT)|B(REAK|OOL(_CAST|EAN_(OR|AND))|AD_CHARACTER)|S(R(_EQUAL)?|T(RING(_(CAST|VARNAME))?|A(RT_HEREDOC|TIC))|WITCH|L(_EQUAL)?)|HALT_COMPILER|N(S_(SEPARATOR|C)|UM_STRING|EW|AMESPACE)|C(HARACTER|O(MMENT|N(ST(ANT_ENCAPSED_STRING)?|CAT_EQUAL|TINUE))|URLY_OPEN|L(O(SE_TAG|NE)|ASS(_C)?)|A(SE|TCH))|T(RY|HROW)|I(MPLEMENTS|S(SET|_(GREATER_OR_EQUAL|SMALLER_OR_EQUAL|NOT_(IDENTICAL|EQUAL)|IDENTICAL|EQUAL))|N(STANCEOF|C(LUDE(_ONCE)?)?|T(_CAST|ERFACE)|LINE_HTML)|F)|O(R_EQUAL|BJECT_(CAST|OPERATOR)|PEN_TAG(_WITH_ECHO)?|LD_FUNCTION)|D(NUMBER|I(R|V_EQUAL)|O(C_COMMENT|UBLE_(C(OLON|AST)|ARROW)|LLAR_OPEN_CURLY_BRACES)?|E(C(LARE)?|FAULT))|U(SE|NSET(_CAST)?)|P(R(I(NT|VATE)|OTECTED)|UBLIC|LUS_EQUAL|AAMAYIM_NEKUDOTAYIM)|E(X(TENDS|IT)|MPTY|N(CAPSED_AND_WHITESPACE|D(SWITCH|_HEREDOC|IF|DECLARE|FOR(EACH)?|WHILE))|CHO|VAL|LSE(IF)?)|VAR(IABLE)?|F(I(NAL|LE)|OR(EACH)?|UNC(_C|TION))|WHI(TESPACE|LE)|L(NUMBER|I(ST|NE)|OGICAL_(XOR|OR|AND))|A(RRAY(_CAST)?|BSTRACT|S|ND_EQUAL))\\b","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}},{"name":"constant.other.php","match":"[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*"}]}]},"function-arguments":{"patterns":[{"include":"#comments"},{"include":"#attributes"},{"include":"#type-annotation"},{"begin":"(?xi)\n\\s*(\u0026)? # Reference\n\\s*((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*) # The variable name","end":"(?xi)\n\\s*(?=,|\\)|/[/*]|\\#|$) # A closing parentheses (end of argument list) or a comma or a comment","patterns":[{"name":"keyword.operator.assignment.php","match":"="},{"include":"#language"}],"beginCaptures":{"1":{"name":"storage.modifier.reference.php"},"2":{"name":"variable.other.php"},"3":{"name":"punctuation.definition.variable.php"}}}]},"function-call":{"patterns":[{"begin":"(?i)(?=\\\\?[a-z_0-9\\\\]+\\\\[a-z_][a-z0-9_]*\\s*\\()","end":"(?=\\s*\\()","patterns":[{"include":"#user-function-call"}]},{"name":"support.function.construct.php","match":"(?i)\\b(print|echo)\\b"},{"begin":"(?i)(\\\\)?(?=\\b[a-z_][a-z_0-9]*\\s*\\()","end":"(?=\\s*\\()","patterns":[{"name":"support.function.construct.php","match":"(?i)\\b(isset|unset|e(val|mpty)|list)(?=\\s*\\()"},{"include":"#support"},{"include":"#user-function-call"}],"beginCaptures":{"1":{"name":"punctuation.separator.inheritance.php"}}}]},"function-return-type":{"patterns":[{"begin":"(:)","end":"(?=[{;])","patterns":[{"include":"#comments"},{"include":"#type-annotation"},{"include":"#class-name"}],"beginCaptures":{"1":{"name":"punctuation.definition.type.php"}}}]},"generics":{"patterns":[{"name":"meta.generics.php","begin":"(\u003c)","end":"(\u003e)","patterns":[{"include":"#comments"},{"include":"#generics"},{"name":"support.type.php","match":"([-+])?([A-Za-z_][A-Za-z0-9_]*)(?:\\s+(as|super)\\s+([A-Za-z_][A-Za-z0-9_]*))?"},{"include":"#type-annotation"}],"beginCaptures":{"1":{"name":"punctuation.definition.generics.php"}},"endCaptures":{"1":{"name":"punctuation.definition.generics.php"}}}]},"heredoc":{"patterns":[{"name":"string.unquoted.heredoc.php","begin":"\u003c\u003c\u003c\\s*(\"?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$","end":"^(\\2)(?=;?$)","patterns":[{"include":"#interpolation"}],"beginCaptures":{"2":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"string.unquoted.heredoc.nowdoc.php","begin":"\u003c\u003c\u003c\\s*('?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$","end":"^(\\2)(?=;?$)","beginCaptures":{"2":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"1":{"name":"keyword.operator.heredoc.php"}}}]},"implements":{"patterns":[{"begin":"(?i)(implements)\\s+","end":"(?i)(?=[;{])","patterns":[{"include":"#comments"},{"contentName":"meta.other.inherited-class.php","begin":"(?i)(?=[a-z0-9_\\\\]+)","end":"(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\\\\\s]))\\s*)","patterns":[{"begin":"(?i)(?=\\\\?[a-z_0-9]+\\\\)","end":"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])","patterns":[{"include":"#namespace"}],"endCaptures":{"1":{"name":"entity.other.inherited-class.php"}}},{"include":"#class-builtin"},{"include":"#namespace"},{"name":"entity.other.inherited-class.php","match":"(?i)[a-z_][a-z_0-9]*"}]}],"beginCaptures":{"1":{"name":"storage.modifier.implements.php"}}}]},"instantiation":{"begin":"(?i)(new)\\s+","end":"(?i)(?=[^$a-z0-9_\\\\])","patterns":[{"name":"support.type.php","match":"(parent|static|self)(?=[^a-z0-9_])"},{"include":"#class-name"},{"include":"#variable-name"}],"beginCaptures":{"1":{"name":"keyword.other.new.php"}}},"interface":{"name":"meta.interface.php","begin":"^(?i)\\b(interface)\\b","end":"(?=[;{])","patterns":[{"include":"#comments"},{"match":"\\b(extends)\\b","captures":{"1":{"name":"storage.modifier.extends.php"}}},{"include":"#generics"},{"include":"#namespace"},{"name":"entity.name.type.class.php","match":"(?i)[a-z0-9_]+"}],"beginCaptures":{"1":{"name":"storage.type.interface.php"}}},"interpolation":{"patterns":[{"name":"constant.numeric.octal.php","match":"\\\\[0-7]{1,3}"},{"name":"constant.numeric.hex.php","match":"\\\\x[0-9A-Fa-f]{1,2}"},{"name":"constant.character.escape.php","match":"\\\\[nrt\\\\\\$\\\"]"},{"name":"variable.other.php","match":"(\\{\\$.*?\\})"},{"name":"variable.other.php","match":"(\\$[a-zA-Z_][a-zA-Z0-9_]*((-\u003e[a-zA-Z_][a-zA-Z0-9_]*)|(\\[[a-zA-Z0-9_]+\\]))?)"}]},"invoke-call":{"name":"meta.function-call.invoke.php","match":"(?i)(\\$+)([a-z_][a-z_0-9]*)(?=\\s*\\()","captures":{"1":{"name":"punctuation.definition.variable.php"},"2":{"name":"variable.other.php"}}},"language":{"patterns":[{"include":"#comments"},{"begin":"(?=^\\s*\u003c\u003c)","end":"(?\u003c=\u003e\u003e)","patterns":[{"include":"#attributes"}]},{"include":"#xhp"},{"include":"#interface"},{"name":"meta.typedecl.php","begin":"(?xi)\n^\\s*\n(type|newtype)\n\\s+\n([a-z0-9_]+)","end":"(;)","patterns":[{"include":"#comments"},{"include":"#generics"},{"name":"keyword.operator.assignment.php","match":"(=)"},{"include":"#type-annotation"}],"beginCaptures":{"1":{"name":"storage.type.typedecl.php"},"2":{"name":"entity.name.type.typedecl.php"}},"endCaptures":{"1":{"name":"punctuation.termination.expression.php"}}},{"name":"meta.trait.php","begin":"(?i)^\\s*(trait)\\s+([a-z0-9_]+)\\s*","end":"(?=[{])","patterns":[{"include":"#comments"},{"include":"#generics"},{"include":"#implements"}],"beginCaptures":{"1":{"name":"storage.type.trait.php"},"2":{"name":"entity.name.type.class.php"}}},{"name":"meta.namespace.php","contentName":"entity.name.type.namespace.php","begin":"(?i)(?:^\\s*|\\s*)(namespace)\\b\\s+(?=([a-z0-9_\\\\]*\\s*($|[;{]|(\\/[\\/*])))|$)","end":"(?i)(?=\\s*$|[^a-z0-9_\\\\])","patterns":[{"name":"punctuation.separator.inheritance.php","match":"\\\\"}],"beginCaptures":{"1":{"name":"keyword.other.namespace.php"}}},{"name":"meta.use.php","begin":"(?i)\\s*\\b(use)\\s+","end":"(?=;|(?:^\\s*$))","patterns":[{"include":"#comments"},{"begin":"(?i)\\s*(?=[a-z_0-9\\\\])","end":"(?xi)\n(?:\n (?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))|\n (?=,|;|$)\n)","patterns":[{"include":"#class-builtin"},{"name":"support.other.namespace.use.php","begin":"(?i)\\s*(?=[\\\\a-z_0-9])","end":"$|(?=[\\s,;])","patterns":[{"name":"punctuation.separator.inheritance.php","match":"\\\\"}]}],"endCaptures":{"1":{"name":"keyword.other.use-as.php"},"2":{"name":"support.other.namespace.use-as.php"}}},{"match":"\\s*,\\s*"}],"beginCaptures":{"1":{"name":"keyword.other.use.php"}}},{"name":"meta.class.php","begin":"(?i)^\\s*(abstract|final)?\\s*(class)\\s+([a-z0-9_]+)\\s*","end":"(?=[;{])","patterns":[{"include":"#comments"},{"include":"#generics"},{"include":"#implements"},{"contentName":"meta.other.inherited-class.php","begin":"(?i)(extends)\\s+","end":"(?i)(?=[^a-z_0-9\\\\])","patterns":[{"begin":"(?i)(?=\\\\?[a-z_0-9]+\\\\)","end":"(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])","patterns":[{"include":"#namespace"}],"endCaptures":{"1":{"name":"entity.other.inherited-class.php"}}},{"include":"#class-builtin"},{"include":"#namespace"},{"name":"entity.other.inherited-class.php","match":"(?i)[a-z_][a-z_0-9]*"}],"beginCaptures":{"1":{"name":"storage.modifier.extends.php"}}}],"beginCaptures":{"1":{"name":"storage.modifier.abstract.php"},"2":{"name":"storage.type.class.php"},"3":{"name":"entity.name.type.class.php"}}},{"match":"\\s*\\b((break|c(ase|ontinue)|d(e(clare|fault)|ie|o)|e(lse(if)?|nd(declare|for(each)?|if|switch|while)|xit)|for(each)?|if|return|switch|use|while))\\b","captures":{"1":{"name":"keyword.control.php"}}},{"name":"meta.include.php","begin":"(?i)\\b((?:require|include)(?:_once)?)\\b\\s*","end":"(?=\\s|;|$)","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"keyword.control.import.include.php"}}},{"name":"meta.catch.php","begin":"\\b(catch)\\s*(\\()","end":"\\)","patterns":[{"include":"#namespace"},{"match":"(?xi)\n([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Exception class\n((?:\\s*\\|\\s*[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)*) # Optional additional exception classes\n\\s*\n((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*) # Variable","captures":{"1":{"name":"support.class.exception.php"},"2":{"patterns":[{"name":"support.class.exception.php","match":"(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*"},{"name":"punctuation.separator.delimiter.php","match":"\\|"}]},"3":{"name":"variable.other.php"},"4":{"name":"punctuation.definition.variable.php"}}}],"beginCaptures":{"1":{"name":"keyword.control.exception.catch.php"},"2":{"name":"punctuation.definition.parameters.begin.bracket.round.php"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.bracket.round.php"}}},{"name":"keyword.control.exception.php","match":"\\b(catch|try|throw|exception|finally)\\b"},{"name":"meta.function.closure.php","begin":"(?i)\\b(function)\\s*(\u0026\\s*)?(?=\\()","end":"\\{|\\)","patterns":[{"contentName":"meta.function.arguments.php","begin":"(\\()","end":"(\\))","patterns":[{"include":"#function-arguments"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.php"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.php"}}},{"begin":"(?i)(use)\\s*(\\()","end":"(\\))","patterns":[{"name":"meta.function.closure.use.php","match":"(?:\\s*(\u0026))?\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))","captures":{"1":{"name":"storage.modifier.reference.php"},"2":{"name":"variable.other.php"},"3":{"name":"punctuation.definition.variable.php"}}}],"beginCaptures":{"1":{"name":"keyword.other.function.use.php"},"2":{"name":"punctuation.definition.parameters.begin.php"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.php"}}}],"beginCaptures":{"1":{"name":"storage.type.function.php"},"2":{"name":"storage.modifier.reference.php"}}},{"name":"meta.function.php","begin":"(?x)\n\\s*((?:(?:final|abstract|public|private|protected|static|async)\\s+)*)\n(function)\n(?:\\s+|(\\s*\u0026\\s*))\n(?:\n (__(?:call|construct|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic|dispose|disposeAsync)(?=[^a-zA-Z0-9_\\x7f-\\xff]))\n |\n ([a-zA-Z0-9_]+)\n)","end":"(?=[{;])","patterns":[{"include":"#generics"},{"contentName":"meta.function.arguments.php","begin":"(\\()","end":"(?=\\))","patterns":[{"include":"#function-arguments"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.php"}}},{"begin":"(\\))","end":"(?=[{;])","patterns":[{"include":"#function-return-type"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.end.php"}}}],"beginCaptures":{"1":{"patterns":[{"name":"storage.modifier.php","match":"final|abstract|public|private|protected|static|async"}]},"2":{"name":"storage.type.function.php"},"3":{"name":"storage.modifier.reference.php"},"4":{"name":"support.function.magic.php"},"5":{"name":"entity.name.function.php"},"6":{"name":"meta.function.generics.php"}}},{"include":"#invoke-call"},{"begin":"(?xi)\n\\s*\n (?=\n [a-z_0-9$\\\\]+(::)\n (?:\n ([a-z_][a-z_0-9]*)\\s*\\(\n |\n ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n |\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n )?\n )","end":"(?x)\n(::)\n(?:\n ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n |\n ((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n |\n ([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n)?","patterns":[{"name":"support.type.php","match":"(self|static|parent)\\b"},{"include":"#class-name"},{"include":"#variable-name"}],"endCaptures":{"1":{"name":"keyword.operator.class.php"},"2":{"name":"meta.function-call.static.php"},"3":{"name":"variable.other.class.php"},"4":{"name":"punctuation.definition.variable.php"},"5":{"name":"constant.other.class.php"}}},{"include":"#variables"},{"include":"#strings"},{"name":"meta.array.empty.php","match":"(array)(\\()(\\))","captures":{"1":{"name":"support.function.construct.php"},"2":{"name":"punctuation.definition.array.begin.php"},"3":{"name":"punctuation.definition.array.end.php"}}},{"name":"meta.array.php","begin":"(array)(\\()","end":"\\)","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"support.function.construct.php"},"2":{"name":"punctuation.definition.array.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.php"}}},{"match":"(?i)\\s*\\(\\s*(array|real|double|float|int(eger)?|bool(ean)?|string|object|binary|unset|arraykey|nonnull|dict|vec|keyset)\\s*\\)","captures":{"1":{"name":"support.type.php"}}},{"name":"support.type.php","match":"(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|trait|parent|self|object|arraykey|nonnull|dict|vec|keyset)\\b"},{"name":"storage.modifier.php","match":"(?i)\\b(global|abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\\b"},{"include":"#object"},{"name":"punctuation.terminator.expression.php","match":";"},{"include":"#heredoc"},{"name":"keyword.operator.string.php","match":"\\.=?"},{"name":"keyword.operator.key.php","match":"=\u003e"},{"name":"keyword.operator.lambda.php","match":"==\u003e"},{"name":"keyword.operator.pipe.php","match":"\\|\u003e"},{"name":"keyword.operator.error-control.php","match":"(@)"},{"name":"keyword.operator.comparison.php","match":"(!==|!=|===|==)"},{"name":"keyword.operator.assignment.php","match":"=|\\+=|\\-=|\\*=|/=|%=|\u0026=|\\|=|\\^=|\u003c\u003c=|\u003e\u003e="},{"name":"keyword.operator.comparison.php","match":"(\u003c=|\u003e=|\u003c|\u003e)"},{"name":"keyword.operator.increment-decrement.php","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.php","match":"(\\-|\\+|\\*|/|%)"},{"name":"keyword.operator.logical.php","match":"(!|\u0026\u0026|\\|\\|)"},{"begin":"(?i)\\b(as|is)\\b\\s+(?=[\\\\$a-z_])","end":"(?=[^\\\\$A-Za-z_0-9])","patterns":[{"include":"#class-name"},{"include":"#variable-name"}],"beginCaptures":{"1":{"name":"keyword.operator.type.php"}}},{"name":"keyword.operator.type.php","match":"(?i)\\b(is|as)\\b"},{"include":"#function-call"},{"name":"keyword.operator.bitwise.php","match":"\u003c\u003c|\u003e\u003e|~|\\^|\u0026|\\|"},{"include":"#numbers"},{"include":"#instantiation"},{"begin":"\\[","end":"\\]","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.php"}}},{"include":"#literal-collections"},{"begin":"\\{","end":"\\}","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.scope.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.scope.end.php"}}},{"include":"#constants"}]},"literal-collections":{"patterns":[{"name":"meta.collection.literal.php","begin":"(Vector|ImmVector|Set|ImmSet|Map|ImmMap|Pair)\\s*({)","end":"(})","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"support.class.php"},"2":{"name":"punctuation.section.array.begin.php"}},"endCaptures":{"1":{"name":"punctuation.section.array.end.php"}}}]},"namespace":{"name":"support.other.namespace.php","begin":"(?i)((namespace)|[a-z0-9_]+)?(\\\\)(?=.*?[^a-z_0-9\\\\])","end":"(?i)(?=[a-z0-9_]*[^a-z0-9_\\\\])","patterns":[{"name":"entity.name.type.namespace.php","match":"(?i)[a-z0-9_]+(?=\\\\)"},{"match":"(?i)(\\\\)","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}}],"beginCaptures":{"1":{"name":"entity.name.type.namespace.php"},"3":{"name":"punctuation.separator.inheritance.php"}}},"numbers":{"name":"constant.numeric.php","match":"\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"},"object":{"patterns":[{"begin":"(-\u003e)(\\$?\\{)","end":"(\\})","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"keyword.operator.class.php"},"2":{"name":"punctuation.definition.variable.php"}},"endCaptures":{"1":{"name":"punctuation.definition.variable.php"}}},{"match":"(?x)\n(-\u003e)\n (?:\n ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n |\n ((\\$+)?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n )?","captures":{"1":{"name":"keyword.operator.class.php"},"2":{"name":"meta.function-call.object.php"},"3":{"name":"variable.other.property.php"},"4":{"name":"punctuation.definition.variable.php"}}}]},"parameter-default-types":{"patterns":[{"include":"#strings"},{"include":"#numbers"},{"include":"#variables"},{"name":"keyword.operator.key.php","match":"=\u003e"},{"name":"keyword.operator.assignment.php","match":"="},{"name":"storage.modifier.reference.php","match":"\u0026(?=\\s*\\$)"},{"name":"meta.array.php","begin":"(array)\\s*(\\()","end":"\\)","patterns":[{"include":"#parameter-default-types"}],"beginCaptures":{"1":{"name":"support.function.construct.php"},"2":{"name":"punctuation.definition.array.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.php"}}},{"include":"#instantiation"},{"begin":"(?xi)\n\\s*\n(?=\n [a-z_0-9\\\\]+(::)\n ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n)","end":"(?i)(::)([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?","patterns":[{"include":"#class-name"}],"endCaptures":{"1":{"name":"keyword.operator.class.php"},"2":{"name":"constant.other.class.php"}}},{"include":"#constants"}]},"php_doc":{"patterns":[{"name":"invalid.illegal.missing-asterisk.phpdoc.php","match":"^(?!\\s*\\*).*$\\n?"},{"match":"^\\s*\\*\\s*(@access)\\s+((public|private|protected)|(.+))\\s*$","captures":{"1":{"name":"keyword.other.phpdoc.php"},"3":{"name":"storage.modifier.php"},"4":{"name":"invalid.illegal.wrong-access-type.phpdoc.php"}}},{"match":"(@xlink)\\s+(.+)\\s*$","captures":{"1":{"name":"keyword.other.phpdoc.php"},"2":{"name":"markup.underline.link.php"}}},{"name":"keyword.other.phpdoc.php","match":"\\@(a(bstract|uthor)|c(ategory|opyright)|example|global|internal|li(cense|nk)|pa(ckage|ram)|return|s(ee|ince|tatic|ubpackage)|t(hrows|odo)|v(ar|ersion)|uses|deprecated|final|ignore)\\b"},{"name":"meta.tag.inline.phpdoc.php","match":"\\{(@(link)).+?\\}","captures":{"1":{"name":"keyword.other.phpdoc.php"}}}]},"regex-double-quoted":{"name":"string.regexp.double-quoted.php","begin":"(?x)\n\"/ (?=(\\\\.|[^\"/])++/[imsxeADSUXu]*\")","end":"(/)([imsxeADSUXu]*)(\")","patterns":[{"name":"constant.character.escape.regex.php","match":"(\\\\){1,2}[.$^\\[\\]{}]"},{"include":"#interpolation"},{"name":"string.regexp.arbitrary-repetition.php","match":"(\\{)\\d+(,\\d+)?(\\})","captures":{"1":{"name":"punctuation.definition.arbitrary-repetition.php"},"3":{"name":"punctuation.definition.arbitrary-repetition.php"}}},{"name":"string.regexp.character-class.php","begin":"\\[(?:\\^?\\])?","end":"\\]","patterns":[{"include":"#interpolation"}],"captures":{"0":{"name":"punctuation.definition.character-class.php"}}},{"name":"keyword.operator.regexp.php","match":"[$^+*]"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"regex-single-quoted":{"name":"string.regexp.single-quoted.php","begin":"(?x)\n'/ (?=(\\\\.|[^'/])++/[imsxeADSUXu]*')","end":"(/)([imsxeADSUXu]*)(')","patterns":[{"name":"string.regexp.arbitrary-repetition.php","match":"(\\{)\\d+(,\\d+)?(\\})","captures":{"1":{"name":"punctuation.definition.arbitrary-repetition.php"},"3":{"name":"punctuation.definition.arbitrary-repetition.php"}}},{"name":"constant.character.escape.regex.php","match":"(\\\\){1,2}[.$^\\[\\]{}]"},{"name":"constant.character.escape.php","match":"\\\\{1,2}[\\\\']"},{"name":"string.regexp.character-class.php","begin":"\\[(?:\\^?\\])?","end":"\\]","patterns":[{"name":"constant.character.escape.php","match":"\\\\[\\\\'\\[\\]]"}],"captures":{"0":{"name":"punctuation.definition.character-class.php"}}},{"name":"keyword.operator.regexp.php","match":"[$^+*]"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"sql-string-double-quoted":{"name":"string.quoted.double.sql.php","contentName":"source.sql.embedded.php","begin":"\"\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)","end":"\"","patterns":[{"name":"punctuation.definition.parameters.begin.bracket.round.php","match":"\\("},{"name":"comment.line.number-sign.sql","match":"#(\\\\\"|[^\"])*(?=\"|$\\n?)"},{"name":"comment.line.double-dash.sql","match":"--(\\\\\"|[^\"])*(?=\"|$\\n?)"},{"name":"constant.character.escape.php","match":"\\\\[\\\\\"`']"},{"name":"string.quoted.single.unclosed.sql","match":"'(?=((\\\\')|[^'\"])*(\"|$))"},{"name":"string.quoted.other.backtick.unclosed.sql","match":"`(?=((\\\\`)|[^`\"])*(\"|$))"},{"name":"string.quoted.single.sql","begin":"'","end":"'","patterns":[{"include":"#interpolation"}]},{"name":"string.quoted.other.backtick.sql","begin":"`","end":"`","patterns":[{"include":"#interpolation"}]},{"include":"#interpolation"},{"include":"source.sql"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"sql-string-single-quoted":{"name":"string.quoted.single.sql.php","contentName":"source.sql.embedded.php","begin":"'\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)","end":"'","patterns":[{"name":"punctuation.definition.parameters.begin.bracket.round.php","match":"\\("},{"name":"comment.line.number-sign.sql","match":"#(\\\\'|[^'])*(?='|$\\n?)"},{"name":"comment.line.double-dash.sql","match":"--(\\\\'|[^'])*(?='|$\\n?)"},{"name":"constant.character.escape.php","match":"\\\\[\\\\'`\"]"},{"name":"string.quoted.other.backtick.unclosed.sql","match":"`(?=((\\\\`)|[^`'])*('|$))"},{"name":"string.quoted.double.unclosed.sql","match":"\"(?=((\\\\\")|[^\"'])*('|$))"},{"include":"source.sql"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"string-double-quoted":{"name":"string.quoted.double.php","contentName":"meta.string-contents.quoted.double.php","begin":"\"","end":"\"","patterns":[{"include":"#interpolation"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"string-single-quoted":{"name":"string.quoted.single.php","contentName":"meta.string-contents.quoted.single.php","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.php","match":"\\\\[\\\\']"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}}},"strings":{"patterns":[{"include":"#regex-double-quoted"},{"include":"#sql-string-double-quoted"},{"include":"#string-double-quoted"},{"include":"#regex-single-quoted"},{"include":"#sql-string-single-quoted"},{"include":"#string-single-quoted"}]},"support":{"patterns":[{"name":"support.function.apc.php","match":"(?i)\\bapc_(s(tore|ma_info)|c(ompile_file|lear_cache|a(s|che_info))|inc|de(c|fine_constants|lete(_file)?)|exists|fetch|load_constants|add|bin_(dump(file)?|load(file)?))\\b"},{"name":"support.function.array.php","match":"(?i)\\b(s(huffle|izeof|ort)|n(ext|at(sort|casesort))|c(o(unt|mpact)|urrent)|in_array|u(sort|ksort|asort)|p(os|rev)|e(nd|ach|xtract)|k(sort|ey|rsort)|list|a(sort|r(sort|ray(_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|mbine))|intersect(_(u(key|assoc)|key|assoc))?|diff(_(u(key|assoc)|key|assoc))?|u(n(shift|ique)|intersect(_(uassoc|assoc))?|diff(_(uassoc|assoc))?)|p(op|ush|ad|roduct)|values|key(s|_exists)|f(il(ter|l(_keys)?)|lip)|walk(_recursive)?|r(e(duce|place(_recursive)?|verse)|and)|m(ultisort|erge(_recursive)?|ap)))?))|r(sort|eset|ange))\\b"},{"name":"support.function.basic_functions.php","match":"(?i)\\b(s(how_source|ys_getloadavg|leep)|highlight_(string|file)|con(stant|nection_(status|timeout|aborted))|time_(sleep_until|nanosleep)|ignore_user_abort|d(ie|efine(d)?)|u(sleep|n(iqid|pack))|__halt_compiler|p(hp_(strip_whitespace|check_syntax)|ack)|e(val|xit)|get_browser)\\b"},{"name":"support.function.bcmath.php","match":"(?i)\\bbc(s(cale|ub|qrt)|comp|div|pow(mod)?|add|m(od|ul))\\b"},{"name":"support.function.bz2.php","match":"(?i)\\bbz(c(ompress|lose)|open|decompress|err(str|no|or)|flush|write|read)\\b"},{"name":"support.function.calendar.php","match":"(?i)\\b(GregorianToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|jdto(unix|jewish)|easter_da(ys|te)|J(ulianToJD|ewishToJD|D(MonthName|To(Gregorian|Julian|French)|DayOfWeek))|FrenchToJD)\\b"},{"name":"support.function.classobj.php","match":"(?i)\\b(c(lass_(exists|alias)|all_user_method(_array)?)|trait_exists|i(s_(subclass_of|a)|nterface_exists)|__autoload|property_exists|get_(c(lass(_(vars|methods))?|alled_class)|object_vars|declared_(classes|traits|interfaces)|parent_class)|method_exists)\\b"},{"name":"support.function.com.php","match":"(?i)\\b(com_(set|create_guid|i(senum|nvoke)|pr(int_typeinfo|op(set|put|get))|event_sink|load(_typelib)?|addref|release|get(_active_object)?|message_pump)|variant_(s(ub|et(_type)?)|n(ot|eg)|c(a(st|t)|mp)|i(nt|div|mp)|or|d(iv|ate_(to_timestamp|from_timestamp))|pow|eqv|fix|a(nd|dd|bs)|round|get_type|xor|m(od|ul)))\\b"},{"name":"support.function.ctype.php","match":"(?i)\\bctype_(space|cntrl|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit)\\b"},{"name":"support.function.curl.php","match":"(?i)\\bcurl_(setopt(_array)?|c(opy_handle|lose)|init|e(rr(no|or)|xec)|version|getinfo|multi_(select|close|in(it|fo_read)|exec|add_handle|remove_handle|getcontent))\\b"},{"name":"support.function.datetime.php","match":"(?i)\\b(str(totime|ptime|ftime)|checkdate|time(zone_(name_(from_abbr|get)|transitions_get|identifiers_list|o(pen|ffset_get)|version_get|location_get|abbreviations_list))?|idate|date(_(su(n(set|_info|rise)|b)|create(_from_format)?|time(stamp_(set|get)|zone_(set|get)|_set)|i(sodate_set|nterval_(create_from_date_string|format))|offset_get|d(iff|efault_timezone_(set|get)|ate_set)|parse(_from_format)?|format|add|get_last_errors|modify))?|localtime|g(et(timeofday|date)|m(strftime|date|mktime))|m(icrotime|ktime))\\b"},{"name":"support.function.dba.php","match":"(?i)\\bdba_(sync|handlers|nextkey|close|insert|op(timize|en)|delete|popen|exists|key_split|f(irstkey|etch)|list|replace)\\b"},{"name":"support.function.dbx.php","match":"(?i)\\bdbx_(sort|c(o(nnect|mpare)|lose)|e(scape_string|rror)|query|fetch_row)\\b"},{"name":"support.function.dir.php","match":"(?i)\\b(scandir|c(h(dir|root)|losedir)|opendir|dir|re(winddir|addir)|getcwd)\\b"},{"name":"support.function.dotnet.php","match":"(?i)\\bdotnet_load\\b"},{"name":"support.function.eio.php","match":"(?i)\\beio_(s(y(nc(_file_range|fs)?|mlink)|tat(vfs)?|e(ndfile|t_m(in_parallel|ax_(idle|p(oll_(time|reqs)|arallel)))|ek))|n(threads|op|pending|re(qs|ady))|c(h(own|mod)|ustom|lose|ancel)|truncate|init|open|dup2|u(nlink|time)|poll|event_loop|f(s(ync|tat(vfs)?)|ch(own|mod)|truncate|datasync|utime|allocate)|write|l(stat|ink)|r(e(name|a(d(dir|link|ahead)?|lpath))|mdir)|g(et_(event_stream|last_error)|rp(_(cancel|limit|add))?)|mk(nod|dir)|busy)\\b"},{"name":"support.function.enchant.php","match":"(?i)\\benchant_(dict_(s(tore_replacement|uggest)|check|is_in_session|describe|quick_check|add_to_(session|personal)|get_error)|broker_(set_ordering|init|d(ict_exists|escribe)|free(_dict)?|list_dicts|request_(dict|pwl_dict)|get_error))\\b"},{"name":"support.function.ereg.php","match":"(?i)\\b(s(plit(i)?|ql_regcase)|ereg(i(_replace)?|_replace)?)\\b"},{"name":"support.function.errorfunc.php","match":"(?i)\\b(set_e(rror_handler|xception_handler)|trigger_error|debug_(print_backtrace|backtrace)|user_error|error_(log|reporting|get_last)|restore_e(rror_handler|xception_handler))\\b"},{"name":"support.function.exec.php","match":"(?i)\\b(s(hell_exec|ystem)|p(assthru|roc_(nice|close|terminate|open|get_status))|e(scapeshell(cmd|arg)|xec))\\b"},{"name":"support.function.exif.php","match":"(?i)\\b(exif_(t(humbnail|agname)|imagetype|read_data)|read_exif_data)\\b"},{"name":"support.function.file.php","match":"(?i)\\b(s(ymlink|tat|et_file_buffer)|c(h(own|grp|mod)|opy|learstatcache)|t(ouch|empnam|mpfile)|is_(dir|uploaded_file|executable|file|writ(eable|able)|link|readable)|d(i(sk(_(total_space|free_space)|freespace)|rname)|elete)|u(nlink|mask)|p(close|open|a(thinfo|rse_ini_(string|file)))|f(s(canf|tat|eek)|nmatch|close|t(ell|runcate)|ile(size|ctime|type|inode|owner|_(put_contents|exists|get_contents)|perms|atime|group|mtime)?|open|p(ut(s|csv)|assthru)|eof|flush|write|lock|read|get(s(s)?|c(sv)?))|l(stat|ch(own|grp)|ink(info)?)|r(e(name|wind|a(d(file|link)|lpath(_cache_(size|get))?))|mdir)|glob|m(ove_uploaded_file|kdir)|basename)\\b"},{"name":"support.function.fileinfo.php","match":"(?i)\\b(finfo_(set_flags|close|open|file|buffer)|mime_content_type)\\b"},{"name":"support.function.filter.php","match":"(?i)\\bfilter_(has_var|i(nput(_array)?|d)|var(_array)?|list)\\b"},{"name":"support.function.funchand.php","match":"(?i)\\b(c(all_user_func(_array)?|reate_function)|unregister_tick_function|f(orward_static_call(_array)?|unc(tion_exists|_(num_args|get_arg(s)?)))|register_(shutdown_function|tick_function)|get_defined_functions)\\b"},{"name":"support.function.gettext.php","match":"(?i)\\b(ngettext|textdomain|d(ngettext|c(ngettext|gettext)|gettext)|gettext|bind(textdomain|_textdomain_codeset))\\b"},{"name":"support.function.gmp.php","match":"(?i)\\bgmp_(s(can(1|0)|trval|ign|ub|etbit|qrt(rem)?)|hamdist|ne(g|xtprime)|c(om|lrbit|mp)|testbit|in(tval|it|vert)|or|div(_(q(r)?|r)|exact)?|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|fact|legendre|a(nd|dd|bs)|random|gcd(ext)?|xor|m(od|ul))\\b"},{"name":"support.function.hash.php","match":"(?i)\\bhash(_(hmac(_file)?|copy|init|update(_(stream|file))?|pbkdf2|fi(nal|le)|algos))?\\b"},{"name":"support.function.http.php","match":"(?i)\\b(http_(s(upport|end_(st(atus|ream)|content_(type|disposition)|data|file|last_modified))|head|negotiate_(c(harset|ontent_type)|language)|c(hunked_decode|ache_(etag|last_modified))|throttle|inflate|d(eflate|ate)|p(ost_(data|fields)|ut_(stream|data|file)|ersistent_handles_(c(ount|lean)|ident)|arse_(headers|cookie|params|message))|re(direct|quest(_(method_(name|unregister|exists|register)|body_encode))?)|get(_request_(headers|body(_stream)?))?|match_(etag|request_header|modified)|build_(str|cookie|url))|ob_(inflatehandler|deflatehandler|etaghandler))\\b"},{"name":"support.function.iconv.php","match":"(?i)\\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\\b"},{"name":"support.function.iisfunc.php","match":"(?i)\\biis_(s(t(op_serv(ice|er)|art_serv(ice|er))|et_(s(cript_map|erver_rights)|dir_security|app_settings))|add_server|remove_server|get_(s(cript_map|erv(ice_state|er_(rights|by_(comment|path))))|dir_security))\\b"},{"name":"support.function.image.php","match":"(?i)\\b(i(ptc(parse|embed)|mage(s(y|tring(up)?|et(style|t(hickness|ile)|pixel|brush)|avealpha|x)|c(har(up)?|o(nvolution|py(res(ized|ampled)|merge(gray)?)?|lor(s(total|et|forindex)|closest(hwb|alpha)?|transparent|deallocate|exact(alpha)?|a(t|llocate(alpha)?)|resolve(alpha)?|match))|reate(truecolor|from(string|jpeg|png|wbmp|g(if|d(2(part)?)?)|x(pm|bm)))?)|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alettecopy)|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width))|wbmp|l(ine|oadfont|ayereffect)|a(ntialias|lphablending|rc)|r(otate|ectangle)|g(if|d(2)?|ammacorrect|rab(screen|window))|xbm))|jpeg2wbmp|png2wbmp|g(d_info|etimagesize(fromstring)?))\\b"},{"name":"support.function.info.php","match":"(?i)\\b(s(ys_get_temp_dir|et_(time_limit|include_path|magic_quotes_runtime))|ini_(set|alter|restore|get(_all)?)|zend_(thread_id|version|logo_guid)|dl|p(hp(credits|info|_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|version)|utenv)|extension_loaded|version_compare|assert(_options)?|restore_include_path|g(c_(collect_cycles|disable|enable(d)?)|et(opt|_(c(urrent_user|fg_var)|include(d_files|_path)|defined_constants|extension_funcs|loaded_extensions|required_files|magic_quotes_(runtime|gpc))|env|lastmod|rusage|my(inode|uid|pid|gid)))|m(emory_get_(usage|peak_usage)|a(in|gic_quotes_runtime)))\\b"},{"name":"support.function.interbase.php","match":"(?i)\\bibase_(se(t_event_handler|rv(ice_(detach|attach)|er_info))|n(um_(params|fields)|ame_result)|c(o(nnect|mmit(_ret)?)|lose)|trans|d(elete_user|rop_db|b_info)|p(connect|aram_info|repare)|e(rr(code|msg)|xecute)|query|f(ield_info|etch_(object|assoc|row)|ree_(event_handler|query|result))|wait_event|a(dd_user|ffected_rows)|r(ollback(_ret)?|estore)|gen_id|m(odify_user|aintain_db)|b(lob_(c(lose|ancel|reate)|i(nfo|mport)|open|echo|add|get)|ackup))\\b"},{"name":"support.function.intl.php","match":"(?i)\\b(n(ormalizer_(normalize|is_normalized)|umfmt_(set_(symbol|text_attribute|pattern|attribute)|create|parse(_currency)?|format(_currency)?|get_(symbol|text_attribute|pattern|error_(code|message)|locale|attribute)))|collator_(s(ort(_with_sort_keys)?|et_(strength|attribute))|c(ompare|reate)|asort|get_(s(trength|ort_key)|error_(code|message)|locale|attribute))|transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|i(ntl_(is_failure|error_name|get_error_(code|message))|dn_to_(u(nicode|tf8)|ascii))|datefmt_(set_(calendar|timezone(_id)?|pattern|lenient)|create|is_lenient|parse|format(_object)?|localtime|get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|locale_(set_default|compose|parse|filter_matches|lookup|accept_from_http|get_(script|d(isplay_(script|name|variant|language|region)|efault)|primary_language|keywords|all_variants|region))|resourcebundle_(c(ount|reate)|locales|get(_error_(code|message))?)|grapheme_(s(tr(str|i(str|pos)|pos|len|r(ipos|pos))|ubstr)|extract)|msgfmt_(set_pattern|create|parse(_message)?|format(_message)?|get_(pattern|error_(code|message)|locale)))\\b"},{"name":"support.function.json.php","match":"(?i)\\bjson_(decode|encode|last_error)\\b"},{"name":"support.function.ldap.php","match":"(?i)\\bldap_(s(tart_tls|ort|e(t_(option|rebind_proc)|arch)|asl_bind)|next_(entry|attribute|reference)|c(o(n(nect|trol_paged_result(_response)?)|unt_entries|mpare)|lose)|t61_to_8859|d(n2ufn|elete)|8859_to_t61|unbind|parse_re(sult|ference)|e(rr(no|2str|or)|xplode_dn)|f(irst_(entry|attribute|reference)|ree_result)|list|add|re(name|ad)|get_(option|dn|entries|values(_len)?|attributes)|mod(ify|_(del|add|replace))|bind)\\b"},{"name":"support.function.libxml.php","match":"(?i)\\blibxml_(set_(streams_context|external_entity_loader)|clear_errors|disable_entity_loader|use_internal_errors|get_(errors|last_error))\\b"},{"name":"support.function.mail.php","match":"(?i)\\b(ezmlm_hash|mail)\\b"},{"name":"support.function.math.php","match":"(?i)\\b(s(in(h)?|qrt|rand)|h(ypot|exdec)|c(os(h)?|eil)|tan(h)?|is_(nan|infinite|finite)|octdec|de(c(hex|oct|bin)|g2rad)|p(i|ow)|exp(m1)?|f(loor|mod)|l(cg_value|og(1(p|0))?)|a(sin(h)?|cos(h)?|tan(h|2)?|bs)|r(ound|a(nd|d2deg))|getrandmax|m(t_(srand|rand|getrandmax)|in|ax)|b(indec|ase_convert))\\b"},{"name":"support.function.mbstring.php","match":"(?i)\\bmb_(s(tr(str|cut|to(upper|lower)|i(str|pos|mwidth)|pos|width|len|r(chr|i(chr|pos)|pos))|ubst(itute_character|r(_count)?)|plit|end_mail)|http_(input|output)|c(heck_encoding|onvert_(case|encoding|variables|kana))|internal_encoding|output_handler|de(code_(numericentity|mimeheader)|tect_(order|encoding))|p(arse_str|referred_mime_name)|e(ncod(ing_aliases|e_(numericentity|mimeheader))|reg(i(_replace)?|_(search(_(setpos|init|pos|regs|get(pos|regs)))?|replace(_callback)?|match))?)|l(ist_encodings|anguage)|regex_(set_options|encoding)|get_info)\\b"},{"name":"support.function.mcrypt.php","match":"(?i)\\bm(crypt_(c(fb|reate_iv|bc)|ofb|decrypt|e(nc(_(self_test|is_block_(algorithm(_mode)?|mode)|get_(supported_key_sizes|iv_size|key_size|algorithms_name|modes_name|block_size))|rypt)|cb)|list_(algorithms|modes)|ge(neric(_(init|deinit|end))?|t_(cipher_name|iv_size|key_size|block_size))|module_(self_test|close|is_block_(algorithm(_mode)?|mode)|open|get_(supported_key_sizes|algo_(key_size|block_size))))|decrypt_generic)\\b"},{"name":"support.function.memcache.php","match":"(?i)\\bmemcache_debug\\b"},{"name":"support.function.mhash.php","match":"(?i)\\bmhash(_(count|keygen_s2k|get_(hash_name|block_size)))?\\b"},{"name":"support.function.mongo.php","match":"(?i)\\bbson_(decode|encode)\\b"},{"name":"support.function.mysql.php","match":"(?i)\\bmysql_(s(tat|e(t_charset|lect_db))|num_(fields|rows)|c(onnect|l(ient_encoding|ose)|reate_db)|t(hread_id|ablename)|in(sert_id|fo)|d(ata_seek|rop_db|b_(name|query))|unbuffered_query|p(connect|ing)|e(scape_string|rr(no|or))|query|f(ield_(seek|name|t(ype|able)|flags|len)|etch_(object|field|lengths|a(ssoc|rray)|row)|ree_result)|list_(tables|dbs|processes|fields)|affected_rows|re(sult|al_escape_string)|get_(server_info|host_info|client_info|proto_info))\\b"},{"name":"support.function.mysqli.php","match":"(?i)\\bmysqli_(s(sl_set|t(ore_result|at|mt_(s(tore_result|end_long_data)|next_result|close|init|data_seek|prepare|execute|f(etch|ree_result)|attr_(set|get)|res(ult_metadata|et)|get_(warnings|result)|more_results|bind_(param|result)))|e(nd_(query|long_data)|t_(charset|opt|local_infile_(handler|default))|lect_db)|lave_query)|next_result|c(ha(nge_user|racter_set_name)|o(nnect|mmit)|l(ient_encoding|ose))|thread_safe|init|options|d(isable_r(pl_parse|eads_from_master)|ump_debug_info|ebug|ata_seek)|use_result|p(ing|oll|aram_count|repare)|e(scape_string|nable_r(pl_parse|eads_from_master)|xecute|mbedded_server_(start|end))|kill|query|f(ield_seek|etch(_(object|field(s|_direct)?|a(ssoc|ll|rray)|row))?|ree_result)|autocommit|r(ollback|pl_(p(arse_enabled|robe)|query_type)|e(port|fresh|a(p_async_query|l_(connect|escape_string|query))))|get_(c(harset|onnection_stats|lient_(stats|info|version)|ache_stats)|warnings|metadata)|m(ore_results|ulti_query|aster_query)|bind_(param|result))\\b"},{"name":"support.function.mysqlnd-memcache.php","match":"(?i)\\bmysqlnd_memcache_(set|get_config)\\b"},{"name":"support.function.mysqlnd-ms.php","match":"(?i)\\bmysqlnd_ms_(set_(user_pick_server|qos)|query_is_select|get_(stats|last_(used_connection|gtid))|match_wild)\\b"},{"name":"support.function.mysqlnd-qc.php","match":"(?i)\\bmysqlnd_qc_(set_(storage_handler|cache_condition|is_select|user_handlers)|clear_cache|get_(normalized_query_trace_log|c(ore_stats|ache_info)|query_trace_log|available_handlers))\\b"},{"name":"support.function.mysqlnd-uh.php","match":"(?i)\\bmysqlnd_uh_(set_(statement_proxy|connection_proxy)|convert_to_mysqlnd)\\b"},{"name":"support.function.network.php","match":"(?i)\\b(s(yslog|ocket_(set_(timeout|blocking)|get_status)|et(cookie|rawcookie))|h(ttp_response_code|eader(s_(sent|list)|_re(gister_callback|move))?)|c(heckdnsrr|loselog)|i(net_(ntop|pton)|p2long)|openlog|d(ns_(check_record|get_(record|mx))|efine_syslog_variables)|pfsockopen|fsockopen|long2ip|get(servby(name|port)|host(name|by(name(l)?|addr))|protobyn(umber|ame)|mxrr))\\b"},{"name":"support.function.nsapi.php","match":"(?i)\\bnsapi_(virtual|re(sponse_headers|quest_headers))\\b"},{"name":"support.function.objaggregation.php","match":"(?i)\\b(deaggregate|aggregat(ion_info|e(_(info|properties(_by_(list|regexp))?|methods(_by_(list|regexp))?))?))\\b"},{"name":"support.function.oci8.php","match":"(?i)\\boci(s(tatementtype|e(tprefetch|rverversion)|avelob(file)?)|n(umcols|ew(c(ollection|ursor)|descriptor)|logon)|c(o(l(umn(s(cale|ize)|name|type(raw)?|isnull|precision)|l(size|trim|a(ssign(elem)?|ppend)|getelem|max))|mmit)|loselob|ancel)|internaldebug|definebyname|_(s(tatement_type|e(t_(client_i(nfo|dentifier)|prefetch|edition|action|module_name)|rver_version))|n(um_(fields|rows)|ew_(c(o(nnect|llection)|ursor)|descriptor))|c(o(nnect|mmit)|l(ient_version|ose)|ancel)|internal_debug|define_by_name|p(connect|a(ssword_change|rse))|e(rror|xecute)|f(ield_(s(cale|ize)|name|type(_raw)?|is_null|precision)|etch(_(object|a(ssoc|ll|rray)|row))?|ree_(statement|descriptor))|lob_(copy|is_equal)|r(ollback|esult)|bind_(array_by_name|by_name))|p(logon|arse)|e(rror|xecute)|f(etch(statement|into)?|ree(statement|c(ollection|ursor)|desc))|write(temporarylob|lobtofile)|lo(adlob|go(n|ff))|r(o(wcount|llback)|esult)|bindbyname)\\b"},{"name":"support.function.openssl.php","match":"(?i)\\bopenssl_(s(ign|eal)|c(sr_(sign|new|export(_to_file)?|get_(subject|public_key))|ipher_iv_length)|open|d(h_compute_key|igest|ecrypt)|p(ublic_(decrypt|encrypt)|k(cs(12_(export(_to_file)?|read)|7_(sign|decrypt|encrypt|verify))|ey_(new|export(_to_file)?|free|get_(details|p(ublic|rivate))))|rivate_(decrypt|encrypt))|e(ncrypt|rror_string)|verify|free_key|random_pseudo_bytes|get_(cipher_methods|p(ublickey|rivatekey)|md_methods)|x509_(check(_private_key|purpose)|parse|export(_to_file)?|free|read))\\b"},{"name":"support.function.output.php","match":"(?i)\\b(o(utput_(add_rewrite_var|reset_rewrite_vars)|b_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|g(zhandler|et_(status|c(ontents|lean)|flush|le(ngth|vel)))))|flush)\\b"},{"name":"support.function.password.php","match":"(?i)\\bpassword_(hash|needs_rehash|verify|get_info)\\b"},{"name":"support.function.pcntl.php","match":"(?i)\\bpcntl_(s(ig(nal(_dispatch)?|timedwait|procmask|waitinfo)|etpriority)|exec|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|getpriority)\\b"},{"name":"support.function.pgsql.php","match":"(?i)\\bpg_(se(nd_(prepare|execute|query(_params)?)|t_(client_encoding|error_verbosity)|lect)|host|num_(fields|rows)|c(o(n(nect(ion_(status|reset|busy))?|vert)|py_(to|from))|l(ient_encoding|ose)|ancel_query)|t(ty|ra(nsaction_status|ce))|insert|options|d(elete|bname)|u(n(trace|escape_bytea)|pdate)|p(connect|ing|ort|ut_line|arameter_status|repare)|e(scape_(string|identifier|literal|bytea)|nd_copy|xecute)|version|query(_params)?|f(ield_(size|n(um|ame)|t(ype(_oid)?|able)|is_null|prtlen)|etch_(object|a(ssoc|ll(_columns)?|rray)|r(ow|esult))|ree_result)|l(o_(seek|c(lose|reate)|tell|import|open|unlink|export|write|read(_all)?)|ast_(notice|oid|error))|affected_rows|result_(s(tatus|eek)|error(_field)?)|get_(notify|pid|result)|meta_data)\\b"},{"name":"support.function.php_apache.php","match":"(?i)\\b(virtual|apache_(setenv|note|child_terminate|lookup_uri|re(s(ponse_headers|et_timeout)|quest_headers)|get(_(version|modules)|env))|getallheaders)\\b"},{"name":"support.function.php_dom.php","match":"(?i)\\bdom_import_simplexml\\b"},{"name":"support.function.php_ftp.php","match":"(?i)\\bftp_(s(sl_connect|ystype|i(te|ze)|et_option)|n(list|b_(continue|put|f(put|get)|get))|c(h(dir|mod)|onnect|dup|lose)|delete|p(ut|wd|asv)|exec|quit|f(put|get)|login|alloc|r(ename|aw(list)?|mdir)|get(_option)?|m(dtm|kdir))\\b"},{"name":"support.function.php_imap.php","match":"(?i)\\bimap_(s(can(mailbox)?|tatus|ort|ubscribe|e(t(_quota|flag_full|acl)|arch)|avebody)|header(s|info)?|num_(recent|msg)|c(heck|l(ose|earflag_full)|reate(mailbox)?)|t(hread|imeout)|open|delete(mailbox)?|8bit|u(n(subscribe|delete)|tf(7_(decode|encode)|8)|id)|ping|e(rrors|xpunge)|qprint|fetch(structure|header|text|_overview|mime|body)|l(sub|ist(s(can|ubscribed)|mailbox)?|ast_error)|a(ppend|lerts)|r(e(name(mailbox)?|open)|fc822_(parse_(headers|adrlist)|write_address))|g(c|et(subscribed|_quota(root)?|acl|mailboxes))|m(sgno|ime_header_decode|ail(_(co(py|mpose)|move)|boxmsginfo)?)|b(inary|ody(struct)?|ase64))\\b"},{"name":"support.function.php_mssql.php","match":"(?i)\\bmssql_(select_db|n(um_(fields|rows)|ext_result)|c(onnect|lose)|init|data_seek|pconnect|execute|query|f(ield_(seek|name|type|length)|etch_(object|field|a(ssoc|rray)|row|batch)|ree_(statement|result))|r(ows_affected|esult)|g(uid_string|et_last_message)|min_(error_severity|message_severity)|bind)\\b"},{"name":"support.function.php_odbc.php","match":"(?i)\\bodbc_(s(tatistics|pecialcolumns|etoption)|n(um_(fields|rows)|ext_result)|c(o(nnect|lumn(s|privileges)|mmit)|ursor|lose(_all)?)|table(s|privileges)|d(o|ata_source)|p(connect|r(imarykeys|ocedure(s|columns)|epare))|e(rror(msg)?|xec(ute)?)|f(ield_(scale|n(um|ame)|type|precision|len)|oreignkeys|etch_(into|object|array|row)|ree_result)|longreadlen|autocommit|r(ollback|esult(_all)?)|gettypeinfo|binmode)\\b"},{"name":"support.function.php_pcre.php","match":"(?i)\\bpreg_(split|quote|filter|last_error|replace(_callback)?|grep|match(_all)?)\\b"},{"name":"support.function.php_spl.php","match":"(?i)\\b(spl_(classes|object_hash|autoload(_(call|unregister|extensions|functions|register))?)|class_(implements|uses|parents)|iterator_(count|to_array|apply))\\b"},{"name":"support.function.php_zip.php","match":"(?i)\\bzip_(close|open|entry_(name|c(ompress(ionmethod|edsize)|lose)|open|filesize|read)|read)\\b"},{"name":"support.function.posix.php","match":"(?i)\\bposix_(s(trerror|et(sid|uid|pgid|e(uid|gid)|gid))|ctermid|t(tyname|imes)|i(satty|nitgroups)|uname|errno|kill|access|get(sid|cwd|uid|_last_error|p(id|pid|w(nam|uid)|g(id|rp))|e(uid|gid)|login|rlimit|g(id|r(nam|oups|gid)))|mk(nod|fifo))\\b"},{"name":"support.function.proctitle.php","match":"(?i)\\bset(threadtitle|proctitle)\\b"},{"name":"support.function.pspell.php","match":"(?i)\\bpspell_(s(tore_replacement|uggest|ave_wordlist)|new(_(config|personal))?|c(heck|onfig_(save_repl|create|ignore|d(ict_dir|ata_dir)|personal|r(untogether|epl)|mode)|lear_session)|add_to_(session|personal))\\b"},{"name":"support.function.readline.php","match":"(?i)\\breadline(_(c(ompletion_function|lear_history|allback_(handler_(install|remove)|read_char))|info|on_new_line|write_history|list_history|add_history|re(display|ad_history)))?\\b"},{"name":"support.function.recode.php","match":"(?i)\\brecode(_(string|file))?\\b"},{"name":"support.function.rrd.php","match":"(?i)\\brrd_(create|tune|info|update|error|version|f(irst|etch)|last(update)?|restore|graph|xport)\\b"},{"name":"support.function.sem.php","match":"(?i)\\b(s(hm_(has_var|detach|put_var|attach|remove(_var)?|get_var)|em_(acquire|re(lease|move)|get))|ftok|msg_(s(tat_queue|e(nd|t_queue))|queue_exists|re(ceive|move_queue)|get_queue))\\b"},{"name":"support.function.session.php","match":"(?i)\\bsession_(s(ta(tus|rt)|et_(save_handler|cookie_params)|ave_path)|name|c(ommit|ache_(expire|limiter))|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|reg(ister(_shutdown)?|enerate_id)|get_cookie_params|module_name)\\b"},{"name":"support.function.shmop.php","match":"(?i)\\bshmop_(size|close|open|delete|write|read)\\b"},{"name":"support.function.simplexml.php","match":"(?i)\\bsimplexml_(import_dom|load_(string|file))\\b"},{"name":"support.function.snmp.php","match":"(?i)\\bsnmp(set|2_(set|walk|real_walk|get(next)?)|_(set_(oid_(numeric_print|output_format)|enum_print|valueretrieval|quick_print)|read_mib|get_(valueretrieval|quick_print))|3_(set|walk|real_walk|get(next)?)|walk(oid)?|realwalk|get(next)?)\\b"},{"name":"support.function.soap.php","match":"(?i)\\b(is_soap_fault|use_soap_error_handler)\\b"},{"name":"support.function.sockets.php","match":"(?i)\\bsocket_(s(hutdown|trerror|e(nd(to)?|t_(nonblock|option|block)|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?)|import_stream|write|l(isten|ast_error)|accept|re(cv(from)?|ad)|get(sockname|_option|peername)|bind)\\b"},{"name":"support.function.sqlite.php","match":"(?i)\\bsqlite_(s(ingle_query|eek)|has_(prev|more)|n(um_(fields|rows)|ext)|c(hanges|olumn|urrent|lose|reate_(function|aggregate))|open|u(nbuffered_query|df_(decode_binary|encode_binary))|p(open|rev)|e(scape_string|rror_string|xec)|valid|key|query|f(ield_name|etch_(s(tring|ingle)|column_types|object|a(ll|rray))|actory)|l(ib(encoding|version)|ast_(insert_rowid|error))|array_query|rewind|busy_timeout)\\b"},{"name":"support.function.sqlsrv.php","match":"(?i)\\bsqlsrv_(se(nd_stream_data|rver_info)|has_rows|n(um_(fields|rows)|ext_result)|c(o(n(nect|figure)|mmit)|l(ient_info|ose)|ancel)|prepare|e(rrors|xecute)|query|f(ield_metadata|etch(_(object|array))?|ree_stmt)|ro(ws_affected|llback)|get_(config|field)|begin_transaction)\\b"},{"name":"support.function.stats.php","match":"(?i)\\bstats_(s(ta(ndard_deviation|t_(noncentral_t|correlation|in(nerproduct|dependent_t)|p(owersum|ercentile|aired_t)|gennch|binomial_coef))|kew)|harmonic_mean|c(ovariance|df_(n(oncentral_(chisquare|f)|egative_binomial)|c(hisquare|auchy)|t|uniform|poisson|exponential|f|weibull|l(ogistic|aplace)|gamma|b(inomial|eta)))|den(s_(n(ormal|egative_binomial)|c(hisquare|auchy)|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|weibull|l(ogistic|aplace)|gamma|beta)|_uniform)|variance|kurtosis|absolute_deviation|rand_(setall|phrase_to_seeds|ranf|ge(n_(no(ncen(tral_(t|f)|ral_chisquare)|rmal)|chisquare|t|i(nt|uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta)|t_seeds)))\\b"},{"name":"support.function.streamsfuncs.php","match":"(?i)\\bs(tream_(s(ocket_(s(hutdown|e(ndto|rver))|client|pair|enable_crypto|accept|recvfrom|get_name)|upports_lock|e(t_(chunk_size|timeout|write_buffer|read_buffer|blocking)|lect))|notification_callback|co(ntext_(set_(option|default|params)|create|get_(options|default|params))|py_to_stream)|is_local|encoding|filter_(prepend|append|re(gister|move))|wrapper_(unregister|re(store|gister))|re(solve_include_path|gister_wrapper)|get_(contents|transports|filters|wrappers|line|meta_data)|bucket_(new|prepend|append|make_writeable))|et_socket_blocking)\\b"},{"name":"support.function.string.php","match":"(?i)\\b(s(scanf|ha1(_file)?|tr(s(tr|pn)|n(c(asecmp|mp)|atc(asecmp|mp))|c(spn|hr|oll|asecmp|mp)|t(o(upper|k|lower)|r)|i(str|p(slashes|cslashes|os|_tags))|_(s(huffle|plit)|ireplace|pad|word_count|r(ot13|ep(eat|lace))|getcsv)|p(os|brk)|len|r(chr|ipos|pos|ev))|imilar_text|oundex|ubstr(_(co(unt|mpare)|replace))?|printf|etlocale)|h(tml(specialchars(_decode)?|_entity_decode|entities)|e(x2bin|brev(c)?))|n(umber_format|l(2br|_langinfo))|c(h(op|unk_split|r)|o(nvert_(cyr_string|uu(decode|encode))|unt_chars)|r(ypt|c32))|trim|implode|ord|uc(first|words)|join|p(arse_str|rint(f)?)|e(cho|xplode)|v(sprintf|printf|fprintf)|quote(d_printable_(decode|encode)|meta)|fprintf|wordwrap|l(cfirst|trim|ocaleconv|evenshtein)|add(slashes|cslashes)|rtrim|get_html_translation_table|m(oney_format|d5(_file)?|etaphone)|bin2hex)\\b"},{"name":"support.function.sybase.php","match":"(?i)\\bsybase_(se(t_message_handler|lect_db)|num_(fields|rows)|c(onnect|lose)|d(eadlock_retry_count|ata_seek)|unbuffered_query|pconnect|query|f(ield_seek|etch_(object|field|a(ssoc|rray)|row)|ree_result)|affected_rows|result|get_last_message|min_(server_severity|client_severity|error_severity|message_severity))\\b"},{"name":"support.function.taint.php","match":"(?i)\\b(taint|is_tainted|untaint)\\b"},{"name":"support.function.tidy.php","match":"(?i)\\b(tidy_(s(et(opt|_encoding)|ave_config)|c(onfig_count|lean_repair)|is_x(html|ml)|diagnose|parse_(string|file)|error_count|warning_count|load_config|access_count|re(set_config|pair_(string|file))|get(opt|_(status|h(tml(_ver)?|ead)|config|o(utput|pt_doc)|r(oot|elease)|body)))|ob_tidyhandler)\\b"},{"name":"support.function.tokenizer.php","match":"(?i)\\btoken_(name|get_all)\\b"},{"name":"support.function.trader.php","match":"(?i)\\btrader_(s(t(och(f|rsi)?|ddev)|in(h)?|u(m|b)|et_(compat|unstable_period)|qrt|ar(ext)?|ma)|ht_(sine|trend(line|mode)|dcp(hase|eriod)|phasor)|natr|c(ci|o(s(h)?|rrel)|dl(s(ho(otingstar|rtline)|t(icksandwich|alledpattern)|pinningtop|eparatinglines)|h(i(kkake(mod)?|ghwave)|omingpigeon|a(ngingman|rami(cross)?|mmer))|c(o(ncealbabyswall|unterattack)|losingmarubozu)|t(hrusting|a(sukigap|kuri)|ristar)|i(n(neck|vertedhammer)|dentical3crows)|2crows|onneck|d(oji(star)?|arkcloudcover|ragonflydoji)|u(nique3river|psidegap2crows)|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|piercing|e(ngulfing|vening(star|dojistar))|kicking(bylength)?|l(ongl(ine|eggeddoji)|adderbottom)|a(dvanceblock|bandonedbaby)|ri(sefall3methods|ckshawman)|g(apsidesidewhite|ravestonedoji)|xsidegap3methods|m(orning(star|dojistar)|a(t(hold|chinglow)|rubozu))|b(elthold|reakaway))|eil|mo)|t(sf|ypprice|3|ema|an(h)?|r(i(x|ma)|ange))|obv|d(iv|ema|x)|ultosc|p(po|lus_d(i|m))|e(rrno|xp|ma)|var|kama|floor|w(clprice|illr|ma)|l(n|inearreg(_(slope|intercept|angle))?|og10)|a(sin|cos|t(an|r)|d(osc|d|x(r)?)?|po|vgprice|roon(osc)?)|r(si|oc(p|r(100)?)?)|get_(compat|unstable_period)|m(i(n(index|us_d(i|m)|max(index)?)?|dp(oint|rice))|om|ult|edprice|fi|a(cd(ext|fix)?|vp|x(index)?|ma)?)|b(op|eta|bands))\\b"},{"name":"support.function.url.php","match":"(?i)\\b(http_build_query|url(decode|encode)|parse_url|rawurl(decode|encode)|get_(headers|meta_tags)|base64_(decode|encode))\\b"},{"name":"support.function.var.php","match":"(?i)\\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|int(eger)?|object|double|float|long|array|re(source|al)|bool|arraykey|nonnull|dict|vec|keyset))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\\b"},{"name":"support.function.wddx.php","match":"(?i)\\bwddx_(serialize_va(lue|rs)|deserialize|packet_(start|end)|add_vars)\\b"},{"name":"support.function.xhprof.php","match":"(?i)\\bxhprof_(sample_(disable|enable)|disable|enable)\\b"},{"name":"support.function.xml.php","match":"(?i)\\b(utf8_(decode|encode)|xml_(set_(start_namespace_decl_handler|notation_decl_handler|character_data_handler|object|default_handler|unparsed_entity_decl_handler|processing_instruction_handler|e(nd_namespace_decl_handler|lement_handler|xternal_entity_ref_handler))|parse(_into_struct|r_(set_option|create(_ns)?|free|get_option))?|error_string|get_(current_(column_number|line_number|byte_index)|error_code)))\\b"},{"name":"support.function.xmlrpc.php","match":"(?i)\\bxmlrpc_(se(t_type|rver_(c(all_method|reate)|destroy|add_introspection_data|register_(introspection_callback|method)))|is_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|get_type)\\b"},{"name":"support.function.xmlwriter.php","match":"(?i)\\bxmlwriter_(s(tart_(c(omment|data)|d(td(_(e(ntity|lement)|attlist))?|ocument)|pi|element(_ns)?|attribute(_ns)?)|et_indent(_string)?)|text|o(utput_memory|pen_(uri|memory))|end_(c(omment|data)|d(td(_(e(ntity|lement)|attlist))?|ocument)|pi|element|attribute)|f(ull_end_element|lush)|write_(c(omment|data)|dtd(_(e(ntity|lement)|attlist))?|pi|element(_ns)?|attribute(_ns)?|raw))\\b"},{"name":"support.function.xslt.php","match":"(?i)\\bxslt_(set(opt|_(s(cheme_handler(s)?|ax_handler(s)?)|object|e(ncoding|rror_handler)|log|base))|create|process|err(no|or)|free|getopt|backend_(name|info|version))\\b"},{"name":"support.function.zlib.php","match":"(?i)\\b(zlib_(decode|encode|get_coding_type)|readgzfile|gz(seek|c(ompress|lose)|tell|inflate|open|de(code|flate)|uncompress|p(uts|assthru)|e(ncode|of)|file|write|re(wind|ad)|get(s(s)?|c)))\\b"},{"name":"support.function.alias.php","match":"(?i)\\bis_int(eger)?\\b"}]},"type-annotation":{"name":"support.type.php","patterns":[{"name":"support.type.array.php","match":"\\barray\\b"},{"name":"support.type.php","match":"\\b(?:bool|int|float|string|array|resource|mixed|arraykey|nonnull|dict|vec|keyset)\\b"},{"begin":"([A-Za-z_][A-Za-z0-9_]*)\u003c","end":"\u003e","patterns":[{"include":"#type-annotation"}],"beginCaptures":{"1":{"name":"support.class.php"}}},{"name":"storage.type.shape.php","begin":"(shape\\()","end":"((,|\\.\\.\\.)?\\s*\\))","patterns":[{"include":"#type-annotation"},{"include":"#strings"},{"include":"#constants"}],"endCaptures":{"1":{"name":"keyword.operator.key.php"}}},{"begin":"\\(","end":"\\)","patterns":[{"include":"#type-annotation"}]},{"include":"#class-name"},{"include":"#comments"}]},"user-function-call":{"name":"meta.function-call.php","begin":"(?i)(?=[a-z_0-9\\\\]*[a-z_][a-z0-9_]*\\s*\\()","end":"(?i)[a-z_][a-z_0-9]*(?=\\s*\\()","patterns":[{"include":"#namespace"}],"endCaptures":{"0":{"name":"entity.name.function.php"}}},"var_basic":{"patterns":[{"name":"variable.other.php","match":"(?x)\n(\\$+)\n[a-zA-Z_\\x{7f}-\\x{ff}]\n[a-zA-Z0-9_\\x{7f}-\\x{ff}]*?\n\\b","captures":{"1":{"name":"punctuation.definition.variable.php"}}}]},"var_global":{"name":"variable.other.global.php","match":"(\\$)((_(COOKIE|FILES|GET|POST|REQUEST))|arg(v|c))\\b","captures":{"1":{"name":"punctuation.definition.variable.php"}}},"var_global_safer":{"name":"variable.other.global.safer.php","match":"(\\$)((GLOBALS|_(ENV|SERVER|SESSION)))","captures":{"1":{"name":"punctuation.definition.variable.php"}}},"variable-name":{"patterns":[{"include":"#var_global"},{"include":"#var_global_safer"},{"match":"(?x)\n((\\$)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))\n(?:\n (-\u003e)(\\g\u003cname\u003e)\n |\n (\\[)\n (?:(\\d+)|((\\$)\\g\u003cname\u003e)|(\\w+))\n (\\])\n)?","captures":{"1":{"name":"variable.other.php"},"10":{"name":"string.unquoted.index.php"},"11":{"name":"punctuation.section.array.end.php"},"2":{"name":"punctuation.definition.variable.php"},"4":{"name":"keyword.operator.class.php"},"5":{"name":"variable.other.property.php"},"6":{"name":"punctuation.section.array.begin.php"},"7":{"name":"constant.numeric.index.php"},"8":{"name":"variable.other.index.php"},"9":{"name":"punctuation.definition.variable.php"}}},{"match":"(?x)\n((\\$\\{)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\}))","captures":{"1":{"name":"variable.other.php"},"2":{"name":"punctuation.definition.variable.php"},"4":{"name":"punctuation.definition.variable.php"}}}]},"variables":{"patterns":[{"include":"#var_global"},{"include":"#var_global_safer"},{"include":"#var_basic"},{"begin":"(\\$\\{)(?=.*?\\})","end":"(\\})","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"punctuation.definition.variable.php"}},"endCaptures":{"1":{"name":"punctuation.definition.variable.php"}}}]},"xhp":{"patterns":[{"contentName":"source.xhp","begin":"(?\u003c=\\(|\\{|\\[|,|\u0026\u0026|\\|\\||\\?|:|=|=\u003e|\\Wreturn|^return|^)\\s*(?=\u003c[_\\p{L}])","end":"(?=.)","patterns":[{"include":"#xhp-tag-element-name"}],"applyEndPatternLast":true}]},"xhp-assignment":{"patterns":[{"name":"keyword.operator.assignment.xhp","match":"=(?=\\s*(?:'|\"|{|/\\*|\u003c|//|\\n))"}]},"xhp-attribute-name":{"patterns":[{"match":"(?\u003c!\\S)([_\\p{L}](?:[\\p{L}\\p{Mn}\\p{Mc}\\p{Nd}\\p{Nl}\\p{Pc}-](?\u003c!\\.\\.))*+)(?\u003c!\\.)(?=//|/\\*|=|\\s|\u003e|/\u003e)","captures":{"0":{"name":"entity.other.attribute-name.xhp"}}}]},"xhp-entities":{"patterns":[{"match":"(\u0026)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","captures":{"0":{"name":"constant.character.entity.xhp"},"1":{"name":"punctuation.definition.entity.xhp"},"2":{"name":"entity.name.tag.html.xhp"},"3":{"name":"punctuation.definition.entity.xhp"}}},{"name":"invalid.illegal.bad-ampersand.xhp","match":"\u0026\\S*;"}]},"xhp-evaluated-code":{"name":"meta.embedded.expression.php","contentName":"source.php.xhp","begin":"{","end":"}","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.xhp"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.xhp"}}},"xhp-html-comments":{"name":"comment.block.html","begin":"\u003c!--","end":"--\\s*\u003e","patterns":[{"name":"invalid.illegal.bad-comments-or-CDATA.html","match":"--(?!-*\\s*\u003e)"}],"captures":{"0":{"name":"punctuation.definition.comment.html"}}},"xhp-string-double-quoted":{"name":"string.quoted.double.php","begin":"\"","end":"\"(?\u003c!\\\\\")","patterns":[{"include":"#xhp-entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xhp"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xhp"}}},"xhp-string-single-quoted":{"name":"string.quoted.single.php","begin":"'","end":"'(?\u003c!\\\\')","patterns":[{"include":"#xhp-entities"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.xhp"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.xhp"}}},"xhp-tag-attributes":{"patterns":[{"include":"#xhp-attribute-name"},{"include":"#xhp-assignment"},{"include":"#xhp-string-double-quoted"},{"include":"#xhp-string-single-quoted"},{"include":"#xhp-evaluated-code"},{"include":"#xhp-tag-element-name"},{"include":"#comments"}]},"xhp-tag-element-name":{"patterns":[{"begin":"\\s*(\u003c)([_\\p{L}](?:[:\\p{L}\\p{Mn}\\p{Mc}\\p{Nd}\\p{Nl}\\p{Pc}-])*+)(?=[/\u003e\\s])(?\u003c![\\:])","end":"\\s*(?\u003c=\u003c/)(\\2)(\u003e)|(/\u003e)|((?\u003c=\u003c/)[\\S ]*?)\u003e","patterns":[{"include":"#xhp-tag-termination"},{"include":"#xhp-html-comments"},{"include":"#xhp-tag-attributes"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.xhp"},"2":{"name":"entity.name.tag.open.xhp"}},"endCaptures":{"1":{"name":"entity.name.tag.close.xhp"},"2":{"name":"punctuation.definition.tag.xhp"},"3":{"name":"punctuation.definition.tag.xhp"},"4":{"name":"invalid.illegal.termination.xhp"}}}]},"xhp-tag-termination":{"patterns":[{"begin":"(?\u003c!--)(\u003e)","end":"(\u003c/)","patterns":[{"include":"#xhp-evaluated-code"},{"include":"#xhp-entities"},{"include":"#xhp-html-comments"},{"include":"#xhp-tag-element-name"}],"beginCaptures":{"0":{"name":"punctuation.definition.tag.xhp"},"1":{"name":"XHPStartTagEnd"}},"endCaptures":{"0":{"name":"punctuation.definition.tag.xhp"},"1":{"name":"XHPEndTagStart"}}}]}}}