github-linguist 7.11.1 → 7.14.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (611) hide show
  1. checksums.yaml +4 -4
  2. data/ext/linguist/lex.linguist_yy.c +1123 -623
  3. data/ext/linguist/lex.linguist_yy.h +433 -66
  4. data/ext/linguist/linguist.c +5 -35
  5. data/ext/linguist/linguist.h +0 -18
  6. data/ext/linguist/tokenizer.l +83 -65
  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.lean.codeblock.json +1 -0
  23. data/grammars/markdown.plantuml.codeblock.json +1 -26
  24. data/grammars/objdump.x86asm.json +1 -69
  25. data/grammars/source.4dm.json +1 -1156
  26. data/grammars/source.SASLog.json +1 -18
  27. data/grammars/source.abap.json +1 -335
  28. data/grammars/source.abapcds.json +1 -0
  29. data/grammars/source.abl.json +1 -734
  30. data/grammars/source.abnf.json +1 -294
  31. data/grammars/source.actionscript.3.json +1 -1538
  32. data/grammars/source.acucobol.json +1 -13
  33. data/grammars/source.ada.json +1 -133
  34. data/grammars/source.afm.json +1 -1207
  35. data/grammars/source.agc.json +1 -87
  36. data/grammars/source.agda.json +1 -72
  37. data/grammars/source.ahk.json +1 -195
  38. data/grammars/source.al.json +1 -130
  39. data/grammars/source.alloy.json +1 -40
  40. data/grammars/source.ampl.json +1 -151
  41. data/grammars/source.angelscript.json +1 -186
  42. data/grammars/source.antlr.json +1 -295
  43. data/grammars/source.apache-config.json +1 -346
  44. data/grammars/source.apache-config.mod_perl.json +1 -65
  45. data/grammars/source.apl.json +1 -1427
  46. data/grammars/source.applescript.json +1 -1384
  47. data/grammars/source.asl.json +1 -56
  48. data/grammars/source.asn.json +1 -55
  49. data/grammars/source.asp.json +1 -151
  50. data/grammars/source.aspectj.json +1 -960
  51. data/grammars/source.assembly.json +1 -116
  52. data/grammars/source.ats.json +1 -164
  53. data/grammars/source.autoit.json +1 -167
  54. data/grammars/source.avro.json +1 -381
  55. data/grammars/source.awk.json +1 -384
  56. data/grammars/source.ballerina.json +1 -1785
  57. data/grammars/source.basic.json +1 -0
  58. data/grammars/source.batchfile.json +1 -732
  59. data/grammars/source.bdf.json +1 -425
  60. data/grammars/source.befunge.json +1 -34
  61. data/grammars/source.bf.json +1 -30
  62. data/grammars/source.bicep.json +1 -0
  63. data/grammars/source.blitzmax.json +1 -905
  64. data/grammars/source.bnf.json +1 -191
  65. data/grammars/source.boo.json +1 -448
  66. data/grammars/source.boogie.json +1 -0
  67. data/grammars/source.brightauthorproject.json +1 -24
  68. data/grammars/source.brightscript.json +1 -148
  69. data/grammars/source.bsl.json +1 -451
  70. data/grammars/source.bsv.json +1 -277
  71. data/grammars/source.c++.json +1 -436
  72. data/grammars/source.c++.qt.json +1 -29
  73. data/grammars/source.c.ec.json +1 -33
  74. data/grammars/source.c.json +1 -712
  75. data/grammars/source.c.nwscript.json +1 -0
  76. data/grammars/source.c.platform.json +1 -1115
  77. data/grammars/source.c2hs.json +1 -24
  78. data/grammars/source.cabal.json +1 -63
  79. data/grammars/source.cache.cmake.json +1 -70
  80. data/grammars/source.camlp4.ocaml.json +1 -60
  81. data/grammars/source.capnp.json +1 -88
  82. data/grammars/source.ceylon.json +1 -93
  83. data/grammars/source.cfscript.cfc.json +1 -162
  84. data/grammars/source.cfscript.json +1 -737
  85. data/grammars/source.changelogs.rpm-spec.json +1 -91
  86. data/grammars/source.chapel.json +1 -265
  87. data/grammars/source.cirru.json +1 -61
  88. data/grammars/source.clarion.json +1 -146
  89. data/grammars/source.clean.json +1 -222
  90. data/grammars/source.click.json +1 -107
  91. data/grammars/source.clips.json +1 -67
  92. data/grammars/source.clojure.json +1 -429
  93. data/grammars/source.cm.json +1 -49
  94. data/grammars/source.cmake.json +1 -173
  95. data/grammars/source.cobol.json +1 -485
  96. data/grammars/source.coffee.json +1 -1310
  97. data/grammars/source.cool.json +1 -96
  98. data/grammars/source.coq.json +1 -58
  99. data/grammars/source.crystal.json +1 -2694
  100. data/grammars/source.cs.json +1 -4323
  101. data/grammars/source.csound-document.json +1 -175
  102. data/grammars/source.csound-score.json +1 -191
  103. data/grammars/source.csound.json +1 -824
  104. data/grammars/source.css.json +1 -1859
  105. data/grammars/source.css.less.json +1 -536
  106. data/grammars/source.css.mss.json +1 -249
  107. data/grammars/source.css.postcss.sugarss.json +1 -260
  108. data/grammars/source.css.scss.json +1 -1873
  109. data/grammars/source.cuda-c++.json +1 -103
  110. data/grammars/source.curlrc.json +1 -984
  111. data/grammars/source.cwl.json +1 -103
  112. data/grammars/source.cython.json +1 -1912
  113. data/grammars/source.d.json +1 -741
  114. data/grammars/source.dart.json +1 -433
  115. data/grammars/source.data-weave.json +1 -1580
  116. data/grammars/source.desktop.json +1 -86
  117. data/grammars/source.diff.json +1 -153
  118. data/grammars/source.dircolors.json +1 -137
  119. data/grammars/source.direct-x.json +1 -135
  120. data/grammars/source.disasm.json +1 -30
  121. data/grammars/source.ditroff.desc.json +1 -411
  122. data/grammars/source.ditroff.json +1 -1280
  123. data/grammars/source.dm.json +1 -628
  124. data/grammars/source.dmf.json +1 -96
  125. data/grammars/source.dockerfile.json +1 -88
  126. data/grammars/source.dosbox-conf.json +1 -97
  127. data/grammars/source.dot.json +1 -117
  128. data/grammars/source.dylan.json +1 -212
  129. data/grammars/source.ebnf.json +1 -240
  130. data/grammars/source.editorconfig.json +1 -365
  131. data/grammars/source.eiffel.json +1 -133
  132. data/grammars/source.elixir.json +1 -965
  133. data/grammars/source.elm.json +1 -375
  134. data/grammars/source.emacs.lisp.json +1 -1301
  135. data/grammars/source.erlang.json +1 -1647
  136. data/grammars/source.essl.json +1 -37
  137. data/grammars/source.factor.json +1 -252
  138. data/grammars/source.fan.json +1 -341
  139. data/grammars/source.fancy.json +1 -245
  140. data/grammars/source.faust.json +1 -119
  141. data/grammars/source.figctrl.json +1 -252
  142. data/grammars/source.figfont.json +1 -121
  143. data/grammars/source.firestore.json +1 -289
  144. data/grammars/source.fish.json +1 -190
  145. data/grammars/source.fontdir.json +1 -99
  146. data/grammars/source.fontforge.json +1 -355
  147. data/grammars/source.fontinfo.json +1 -0
  148. data/grammars/source.forth.json +1 -84
  149. data/grammars/source.fortran.json +1 -464
  150. data/grammars/source.fortran.modern.json +1 -200
  151. data/grammars/source.fsharp.fsi.json +1 -9
  152. data/grammars/source.fsharp.fsl.json +1 -9
  153. data/grammars/source.fsharp.fsx.json +1 -13
  154. data/grammars/source.fsharp.json +1 -452
  155. data/grammars/source.fstar.json +1 -439
  156. data/grammars/source.futhark.json +1 -167
  157. data/grammars/source.gap.json +1 -163
  158. data/grammars/source.gcode.json +1 -176
  159. data/grammars/source.gdb.json +1 -160
  160. data/grammars/source.gdb.session.json +1 -70
  161. data/grammars/source.gdbregs.json +1 -14
  162. data/grammars/source.gdscript.json +1 -491
  163. data/grammars/source.gedcom.json +1 -196
  164. data/grammars/source.gemfile-lock.json +1 -0
  165. data/grammars/source.generic-db.json +1 -41
  166. data/grammars/source.gerber.json +1 -321
  167. data/grammars/source.gf.json +1 -51
  168. data/grammars/source.gfm.blade.json +1 -15
  169. data/grammars/source.gfm.json +1 -1913
  170. data/grammars/source.gitattributes.json +1 -111
  171. data/grammars/source.gitconfig.json +1 -450
  172. data/grammars/source.gitignore.json +1 -140
  173. data/grammars/source.glsl.json +1 -139
  174. data/grammars/source.gn.json +1 -345
  175. data/grammars/source.gnuplot.json +1 -260
  176. data/grammars/source.go.json +1 -540
  177. data/grammars/source.golo.json +1 -177
  178. data/grammars/source.gosu.2.json +1 -153
  179. data/grammars/source.grace.json +1 -675
  180. data/grammars/source.graphql.json +1 -978
  181. data/grammars/source.gremlin.json +1 -200
  182. data/grammars/source.groovy.gradle.json +1 -69
  183. data/grammars/source.groovy.json +1 -1374
  184. data/grammars/source.hack.json +1 -2595
  185. data/grammars/source.haproxy-config.json +1 -152
  186. data/grammars/source.harbour.json +1 -388
  187. data/grammars/source.haskell.json +1 -1760
  188. data/grammars/source.hc.json +1 -709
  189. data/grammars/source.hgignore.json +1 -34
  190. data/grammars/source.hlsl.json +1 -211
  191. data/grammars/source.hosts.json +1 -40
  192. data/grammars/source.hql.json +1 -492
  193. data/grammars/source.hsc2hs.json +1 -9
  194. data/grammars/source.hsig.json +1 -1760
  195. data/grammars/source.httpspec.json +1 -283
  196. data/grammars/source.hx.argument.json +1 -80
  197. data/grammars/source.hx.json +1 -2428
  198. data/grammars/source.hx.type.json +1 -8
  199. data/grammars/source.hxml.json +1 -59
  200. data/grammars/source.hy.json +1 -429
  201. data/grammars/source.ideal.json +1 -356
  202. data/grammars/source.idl-dlm.json +1 -105
  203. data/grammars/source.idl.json +1 -246
  204. data/grammars/source.idris.json +1 -523
  205. data/grammars/source.igor.json +1 -369
  206. data/grammars/source.inform7.json +1 -183
  207. data/grammars/source.ini.json +1 -107
  208. data/grammars/source.ini.npmrc.json +1 -311
  209. data/grammars/source.inno.json +1 -133
  210. data/grammars/source.inputrc.json +1 -500
  211. data/grammars/source.io.json +1 -156
  212. data/grammars/source.ioke.json +1 -266
  213. data/grammars/source.isabelle.root.json +1 -64
  214. data/grammars/source.isabelle.theory.json +1 -102
  215. data/grammars/source.j.json +1 -260
  216. data/grammars/source.jasmin.json +1 -294
  217. data/grammars/source.java-properties.json +1 -87
  218. data/grammars/source.java.json +1 -1020
  219. data/grammars/source.jcl.json +1 -46
  220. data/grammars/source.jflex.json +1 -484
  221. data/grammars/source.jison.json +1 -711
  222. data/grammars/source.jisonlex-injection.json +1 -10
  223. data/grammars/source.jisonlex.json +1 -434
  224. data/grammars/source.jolie.json +1 -132
  225. data/grammars/source.jq.json +1 -211
  226. data/grammars/source.js.json +1 -1897
  227. data/grammars/source.js.objj.json +1 -419
  228. data/grammars/source.js.regexp.json +1 -152
  229. data/grammars/source.js.regexp.replacement.json +1 -26
  230. data/grammars/source.jsdoc.json +1 -460
  231. data/grammars/source.json.json +1 -139
  232. data/grammars/source.jsoniq.json +1 -0
  233. data/grammars/source.jsonnet.json +1 -197
  234. data/grammars/source.julia.console.json +1 -51
  235. data/grammars/source.julia.json +1 -991
  236. data/grammars/source.kotlin.json +1 -704
  237. data/grammars/source.kusto.json +1 -0
  238. data/grammars/source.lark.json +1 -0
  239. data/grammars/source.lbnf.json +1 -0
  240. data/grammars/source.lcov.json +1 -398
  241. data/grammars/source.lean.json +1 -226
  242. data/grammars/source.lean.markdown.json +1 -2598
  243. data/grammars/source.lex.json +1 -232
  244. data/grammars/source.lex.regexp.json +1 -269
  245. data/grammars/source.lid.json +1 -19
  246. data/grammars/source.lilypond.json +1 -869
  247. data/grammars/source.lisp.json +1 -101
  248. data/grammars/source.litcoffee.json +1 -654
  249. data/grammars/source.livescript.json +1 -603
  250. data/grammars/source.llvm.json +1 -61
  251. data/grammars/source.logos.json +1 -24
  252. data/grammars/source.logtalk.json +1 -310
  253. data/grammars/source.loomscript.json +1 -208
  254. data/grammars/source.lsl.json +1 -241
  255. data/grammars/source.ltspice.symbol.json +1 -294
  256. data/grammars/source.lua.json +1 -275
  257. data/grammars/source.m2.json +1 -125
  258. data/grammars/source.m4.json +1 -229
  259. data/grammars/source.m68k.json +1 -412
  260. data/grammars/source.mailmap.json +1 -28
  261. data/grammars/source.makefile.json +1 -470
  262. data/grammars/source.makegen.json +1 -9
  263. data/grammars/source.man-conf.json +1 -153
  264. data/grammars/source.mask.json +1 -816
  265. data/grammars/source.mata.json +1 -125
  266. data/grammars/source.mathematica.json +1 -416
  267. data/grammars/source.matlab.json +1 -1096
  268. data/grammars/source.maxscript.json +1 -465
  269. data/grammars/source.mcfunction-snapshot.json +1 -24480
  270. data/grammars/source.mcfunction.json +1 -1354
  271. data/grammars/source.mercury.json +1 -246
  272. data/grammars/source.meson.json +1 -165
  273. data/grammars/source.meta-info.json +1 -146
  274. data/grammars/source.ml.json +1 -285
  275. data/grammars/source.mlir.json +1 -109
  276. data/grammars/source.modelica.json +1 -142
  277. data/grammars/source.modula-3.json +1 -88
  278. data/grammars/source.modula2.json +1 -94
  279. data/grammars/source.monkey.json +1 -694
  280. data/grammars/source.moonscript.json +1 -144
  281. data/grammars/source.mql5.json +1 -187
  282. data/grammars/source.msl.json +1 -755
  283. data/grammars/source.mupad.json +1 -131
  284. data/grammars/source.nanorc.json +1 -333
  285. data/grammars/source.nasl.json +1 -155
  286. data/grammars/source.ncl.json +1 -53
  287. data/grammars/source.ne.json +1 -105
  288. data/grammars/source.nemerle.json +1 -132
  289. data/grammars/source.neon.json +1 -381
  290. data/grammars/source.nesc.json +1 -21
  291. data/grammars/source.netlinx.erb.json +1 -34
  292. data/grammars/source.netlinx.json +1 -704
  293. data/grammars/source.nextflow-groovy.json +1 -1359
  294. data/grammars/source.nextflow.json +1 -94
  295. data/grammars/source.nginx.json +1 -815
  296. data/grammars/source.nim.comment.json +1 -82
  297. data/grammars/source.nim.json +1 -1083
  298. data/grammars/source.nim_filter.json +1 -113
  299. data/grammars/source.nimcfg.json +1 -103
  300. data/grammars/source.ninja.json +1 -248
  301. data/grammars/source.nit.json +1 -234
  302. data/grammars/source.nix.json +1 -1196
  303. data/grammars/source.nsis.json +1 -152
  304. data/grammars/source.nu.json +1 -516
  305. data/grammars/source.nunjucks.json +1 -0
  306. data/grammars/source.nut.json +1 -262
  307. data/grammars/source.objc++.json +1 -12
  308. data/grammars/source.objc.json +1 -910
  309. data/grammars/source.objc.platform.json +1 -842
  310. data/grammars/source.objectscript.json +1 -309
  311. data/grammars/source.objectscript_class.json +1 -674
  312. data/grammars/source.objectscript_csp.json +1 -19
  313. data/grammars/source.objectscript_macros.json +1 -226
  314. data/grammars/source.ocaml.json +1 -1418
  315. data/grammars/source.ocamllex.json +1 -298
  316. data/grammars/source.ocamlyacc.json +1 -339
  317. data/grammars/source.odin-ehr.json +1 -806
  318. data/grammars/source.odin.json +1 -402
  319. data/grammars/source.ooc.json +1 -685
  320. data/grammars/source.opa.json +1 -196
  321. data/grammars/source.opal.json +1 -410
  322. data/grammars/source.opalsysdefs.json +1 -66
  323. data/grammars/source.openbsd-pkg.contents.json +1 -128
  324. data/grammars/source.opencobol.json +1 -62
  325. data/grammars/source.opentype.json +1 -448
  326. data/grammars/source.opts.json +1 -108
  327. data/grammars/source.ox.json +1 -89
  328. data/grammars/source.oz.json +1 -77
  329. data/grammars/source.p4.json +1 -122
  330. data/grammars/source.paket.dependencies.json +1 -0
  331. data/grammars/source.paket.lock.json +1 -0
  332. data/grammars/source.pan.json +1 -706
  333. data/grammars/source.papyrus.skyrim.json +1 -1272
  334. data/grammars/source.parrot.pir.json +1 -145
  335. data/grammars/source.pascal.json +1 -143
  336. data/grammars/source.pawn.json +1 -1194
  337. data/grammars/source.pcb.board.json +1 -285
  338. data/grammars/source.pcb.schematic.json +1 -424
  339. data/grammars/source.pcb.sexp.json +1 -232
  340. data/grammars/source.pep8.json +1 -118
  341. data/grammars/source.perl.6.json +1 -309
  342. data/grammars/source.perl.json +1 -2519
  343. data/grammars/source.php.zephir.json +1 -353
  344. data/grammars/source.pic.json +1 -908
  345. data/grammars/source.pig_latin.json +1 -168
  346. data/grammars/source.pike.json +1 -49
  347. data/grammars/source.plist.json +1 -336
  348. data/grammars/source.po.json +1 -222
  349. data/grammars/source.pogoscript.json +1 -79
  350. data/grammars/source.pony.json +1 -245
  351. data/grammars/source.postcss.json +1 -370
  352. data/grammars/source.postscript.json +1 -477
  353. data/grammars/source.pov-ray sdl.json +1 -82
  354. data/grammars/source.powershell.json +1 -981
  355. data/grammars/source.prisma.json +1 -435
  356. data/grammars/source.processing.json +1 -872
  357. data/grammars/source.prolog.eclipse.json +1 -201
  358. data/grammars/source.prolog.json +1 -286
  359. data/grammars/source.protobuf.json +1 -471
  360. data/grammars/source.puppet.json +1 -433
  361. data/grammars/source.purescript.json +1 -861
  362. data/grammars/source.pyjade.json +1 -996
  363. data/grammars/source.python.django.json +1 -29
  364. data/grammars/source.python.json +1 -5292
  365. data/grammars/source.python.salt.json +1 -9
  366. data/grammars/source.q.json +1 -215
  367. data/grammars/source.q_output.json +1 -348
  368. data/grammars/source.qasm.json +1 -66
  369. data/grammars/source.ql.json +1 -1408
  370. data/grammars/source.qmake.json +1 -210
  371. data/grammars/source.qml.json +1 -174
  372. data/grammars/source.qsharp.json +1 -120
  373. data/grammars/source.quake.json +1 -44
  374. data/grammars/source.quoting.raku.json +1 -0
  375. data/grammars/source.r.json +1 -194
  376. data/grammars/source.racket.json +1 -98
  377. data/grammars/source.raku.json +1 -0
  378. data/grammars/source.rascal.json +1 -283
  379. data/grammars/source.reason.hover.type.json +1 -14
  380. data/grammars/source.reason.json +1 -3382
  381. data/grammars/source.rebol.json +1 -637
  382. data/grammars/source.record-jar.json +1 -0
  383. data/grammars/source.red.json +1 -644
  384. data/grammars/source.redirects.json +1 -0
  385. data/grammars/source.reg.json +1 -159
  386. data/grammars/source.regexp.extended.json +1 -558
  387. data/grammars/source.regexp.json +1 -1434
  388. data/grammars/source.regexp.posix.json +1 -0
  389. data/grammars/source.regexp.python.json +1 -490
  390. data/grammars/source.regexp.raku.json +1 -0
  391. data/grammars/source.regexp.spin.json +1 -179
  392. data/grammars/source.rego.json +1 -124
  393. data/grammars/source.renpy.json +1 -1948
  394. data/grammars/source.rescript.json +1 -0
  395. data/grammars/source.rexx.json +1 -52
  396. data/grammars/source.ring.json +1 -247
  397. data/grammars/source.rpm-spec.json +1 -765
  398. data/grammars/source.ruby.gemfile.json +1 -24
  399. data/grammars/source.ruby.json +1 -2605
  400. data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
  401. data/grammars/source.rust.json +1 -629
  402. data/grammars/source.sas.json +1 -286
  403. data/grammars/source.sass.json +1 -1089
  404. data/grammars/source.sassdoc.json +1 -346
  405. data/grammars/source.scad.json +1 -145
  406. data/grammars/source.scala.json +1 -1121
  407. data/grammars/source.scaml.json +1 -451
  408. data/grammars/source.scheme.json +1 -353
  409. data/grammars/source.scilab.json +1 -96
  410. data/grammars/source.sdbl.json +1 -90
  411. data/grammars/source.sed.json +1 -1520
  412. data/grammars/source.shaderlab.json +1 -198
  413. data/grammars/source.shell.json +1 -1272
  414. data/grammars/source.shen.json +1 -143
  415. data/grammars/source.sieve.json +1 -383
  416. data/grammars/source.singularity.json +1 -0
  417. data/grammars/source.slice.json +1 -2755
  418. data/grammars/source.smali.json +1 -1610
  419. data/grammars/source.smalltalk.json +1 -187
  420. data/grammars/source.smpl.json +1 -314
  421. data/grammars/source.smt.json +1 -158
  422. data/grammars/source.solidity.json +1 -189
  423. data/grammars/source.solution.json +1 -0
  424. data/grammars/source.sourcepawn.json +1 -651
  425. data/grammars/source.sparql.json +1 -18
  426. data/grammars/source.spin.json +1 -916
  427. data/grammars/source.sqf.json +1 -111
  428. data/grammars/source.sql.json +1 -459
  429. data/grammars/source.ssh-config.json +1 -97
  430. data/grammars/source.stan.json +1 -388
  431. data/grammars/source.stata.json +1 -197
  432. data/grammars/source.stdbez.json +1 -0
  433. data/grammars/source.string-template.json +1 -0
  434. data/grammars/source.strings.json +1 -49
  435. data/grammars/source.stylus.json +1 -1018
  436. data/grammars/source.supercollider.json +1 -93
  437. data/grammars/source.svelte.json +1 -827
  438. data/grammars/source.swift.json +1 -3134
  439. data/grammars/source.sy.json +1 -2954
  440. data/grammars/source.systemverilog.json +1 -1036
  441. data/grammars/source.tags.json +1 -266
  442. data/grammars/source.tcl.json +1 -260
  443. data/grammars/source.tea.json +1 -174
  444. data/grammars/source.terra.json +1 -138
  445. data/grammars/source.terraform.json +1 -694
  446. data/grammars/source.thrift.json +1 -698
  447. data/grammars/source.tl.json +1 -259
  448. data/grammars/source.tla.json +1 -140
  449. data/grammars/source.tnsaudit.json +1 -256
  450. data/grammars/source.toc.json +1 -52
  451. data/grammars/source.toml.json +1 -426
  452. data/grammars/source.ts.json +1 -5581
  453. data/grammars/source.tsql.json +1 -507
  454. data/grammars/source.tsx.json +1 -5834
  455. data/grammars/source.turing.json +1 -1553
  456. data/grammars/source.turtle.json +1 -489
  457. data/grammars/source.txl.json +1 -48
  458. data/grammars/source.ucd.nameslist.json +1 -444
  459. data/grammars/source.ucd.unidata.json +1 -570
  460. data/grammars/source.ucfconstraints.json +1 -67
  461. data/grammars/source.ur.json +1 -31
  462. data/grammars/source.v.json +1 -1010
  463. data/grammars/source.vala.json +1 -800
  464. data/grammars/source.varnish.vcl.json +1 -331
  465. data/grammars/source.vbnet.json +1 -239
  466. data/grammars/source.verilog.json +1 -296
  467. data/grammars/source.vhdl.json +1 -1374
  468. data/grammars/source.vim-snippet.json +1 -645
  469. data/grammars/source.viml.json +1 -1197
  470. data/grammars/source.vtt.json +1 -702
  471. data/grammars/source.vyper.json +1 -213
  472. data/grammars/source.wavefront.mtl.json +1 -1190
  473. data/grammars/source.wavefront.obj.json +1 -1341
  474. data/grammars/source.wdl.json +1 -220
  475. data/grammars/source.webassembly.json +1 -349
  476. data/grammars/source.webidl.json +1 -807
  477. data/grammars/source.wgetrc.json +1 -1640
  478. data/grammars/source.wollok.json +1 -100
  479. data/grammars/source.wsd.json +1 -781
  480. data/grammars/source.x10.json +1 -64
  481. data/grammars/source.x86.json +1 -299
  482. data/grammars/source.x86asm.json +1 -42
  483. data/grammars/source.xc.json +1 -371
  484. data/grammars/source.xlfd.json +1 -462
  485. data/grammars/source.xojo.json +1 -85
  486. data/grammars/source.xq.json +1 -230
  487. data/grammars/source.xtend.json +1 -724
  488. data/grammars/source.yacc.json +1 -626
  489. data/grammars/source.yaml.json +1 -443
  490. data/grammars/source.yaml.salt.json +1 -345
  491. data/grammars/source.yang.json +1 -78
  492. data/grammars/source.yara.json +1 -99
  493. data/grammars/source.yasnippet.json +1 -377
  494. data/grammars/source.zap.json +1 -260
  495. data/grammars/source.zeek.json +1 -412
  496. data/grammars/source.zenscript.json +1 -282
  497. data/grammars/source.zig.json +1 -547
  498. data/grammars/source.zil.json +1 -750
  499. data/grammars/text.bibtex.json +1 -246
  500. data/grammars/text.browserslist.json +1 -0
  501. data/grammars/text.cfml.basic.json +1 -735
  502. data/grammars/text.checksums.json +1 -0
  503. data/grammars/text.codeowners.json +1 -0
  504. data/grammars/text.conllu.json +1 -45
  505. data/grammars/text.dfy.dafny.json +1 -188
  506. data/grammars/text.elixir.json +1 -52
  507. data/grammars/text.eml.basic.json +1 -296
  508. data/grammars/text.error-list.json +1 -53
  509. data/grammars/text.find-refs.json +1 -926
  510. data/grammars/text.gherkin.feature.json +1 -127
  511. data/grammars/text.haml.json +1 -518
  512. data/grammars/text.hamlc.json +1 -219
  513. data/grammars/text.html.asciidoc.json +1 -478
  514. data/grammars/text.html.asdoc.json +1 -529
  515. data/grammars/text.html.asp.json +1 -53
  516. data/grammars/text.html.basic.json +1 -908
  517. data/grammars/text.html.cfm.json +1 -802
  518. data/grammars/text.html.creole.json +1 -317
  519. data/grammars/text.html.cshtml.json +1 -356
  520. data/grammars/text.html.django.json +1 -63
  521. data/grammars/text.html.ecr.json +1 -48
  522. data/grammars/text.html.elixir.json +1 -21
  523. data/grammars/text.html.erb.json +1 -150
  524. data/grammars/text.html.erlang.yaws.json +1 -67
  525. data/grammars/text.html.factor.json +1 -19
  526. data/grammars/text.html.ftl.json +1 -76
  527. data/grammars/text.html.handlebars.json +1 -845
  528. data/grammars/text.html.javadoc.json +1 -426
  529. data/grammars/text.html.js.json +1 -24
  530. data/grammars/text.html.jsp.json +1 -1196
  531. data/grammars/text.html.liquid.json +1 -25
  532. data/grammars/text.html.mako.json +1 -726
  533. data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
  534. data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
  535. data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
  536. data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
  537. data/grammars/text.html.mediawiki.json +1 -946
  538. data/grammars/text.html.nunjucks.json +1 -0
  539. data/grammars/text.html.php.blade.json +1 -3833
  540. data/grammars/text.html.php.json +1 -2507
  541. data/grammars/text.html.riot.json +1 -788
  542. data/grammars/text.html.slash.json +1 -307
  543. data/grammars/text.html.smarty.json +1 -232
  544. data/grammars/text.html.soy.json +1 -606
  545. data/grammars/text.html.ssp.json +1 -43
  546. data/grammars/text.html.tcl.json +1 -37
  547. data/grammars/text.html.twig.json +1 -1344
  548. data/grammars/text.html.vue.json +1 -963
  549. data/grammars/text.idl-idldoc.json +1 -10
  550. data/grammars/text.jade.json +1 -963
  551. data/grammars/text.junit-test-report.json +1 -89
  552. data/grammars/text.log.latex.json +1 -84
  553. data/grammars/text.marko.json +1 -1662
  554. data/grammars/text.muse.json +1 -1471
  555. data/grammars/text.openbsd-pkg.desc.json +1 -78
  556. data/grammars/text.plain.json +1 -18
  557. data/grammars/text.python.console.json +1 -21
  558. data/grammars/text.python.traceback.json +1 -43
  559. data/grammars/text.rdoc.json +1 -44
  560. data/grammars/text.restructuredtext.clean.json +1 -24
  561. data/grammars/text.restructuredtext.json +1 -1765
  562. data/grammars/text.robot.json +1 -63
  563. data/grammars/text.robots-txt.json +1 -0
  564. data/grammars/text.roff.json +1 -6927
  565. data/grammars/text.rtf.json +1 -148
  566. data/grammars/text.runoff.json +1 -308
  567. data/grammars/text.sfd.json +1 -292
  568. data/grammars/text.shell-session.json +1 -29
  569. data/grammars/text.slim.json +1 -527
  570. data/grammars/text.srt.json +1 -166
  571. data/grammars/text.tex.json +1 -264
  572. data/grammars/text.tex.latex.beamer.json +1 -57
  573. data/grammars/text.tex.latex.haskell.json +1 -1826
  574. data/grammars/text.tex.latex.json +1 -1003
  575. data/grammars/text.tex.latex.memoir.json +1 -129
  576. data/grammars/text.tex.latex.rd.json +1 -111
  577. data/grammars/text.texinfo.json +1 -1525
  578. data/grammars/text.vim-help.json +1 -383
  579. data/grammars/text.xml.ant.json +1 -195
  580. data/grammars/text.xml.flex-config.json +1 -2628
  581. data/grammars/text.xml.genshi.json +1 -28
  582. data/grammars/text.xml.json +1 -351
  583. data/grammars/text.xml.plist.json +1 -664
  584. data/grammars/text.xml.pom.json +1 -769
  585. data/grammars/text.xml.svg.json +1 -562
  586. data/grammars/text.xml.xsl.json +1 -88
  587. data/grammars/text.zone_file.json +1 -67
  588. data/grammars/version +1 -1
  589. data/lib/linguist/VERSION +1 -1
  590. data/lib/linguist/classifier.rb +9 -5
  591. data/lib/linguist/generated.rb +10 -0
  592. data/lib/linguist/generic.yml +18 -0
  593. data/lib/linguist/heuristics.yml +77 -20
  594. data/lib/linguist/language.rb +7 -17
  595. data/lib/linguist/languages.json +1 -1
  596. data/lib/linguist/languages.yml +271 -49
  597. data/lib/linguist/linguist.bundle +0 -0
  598. data/lib/linguist/samples.json +1 -1
  599. data/lib/linguist/samples.rb +2 -2
  600. data/lib/linguist/strategy/extension.rb +13 -5
  601. data/lib/linguist/strategy/modeline.rb +64 -32
  602. data/lib/linguist/vendor.yml +1 -1
  603. metadata +37 -13
  604. data/ext/linguist/strndup.c +0 -10
  605. data/grammars/source.cake.json +0 -13
  606. data/grammars/source.csx.json +0 -13
  607. data/grammars/source.js.css.json +0 -328
  608. data/grammars/source.js.jsx.json +0 -2488
  609. data/grammars/source.perl6fe.json +0 -2769
  610. data/grammars/source.quoting.perl6fe.json +0 -2369
  611. data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,2507 +1 @@
1
- {
2
- "name": "PHP",
3
- "scopeName": "text.html.php",
4
- "patterns": [
5
- {
6
- "include": "text.html.basic"
7
- }
8
- ],
9
- "repository": {
10
- "class-builtin": {
11
- "patterns": [
12
- {
13
- "name": "support.class.builtin.php",
14
- "match": "(?ix)\n\t\t\t\t\t\t(\\\\)?\\b\n\t\t\t\t\t\t(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\\\(BSON\\\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|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(RTime\\\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))\n\t\t\t\t\t\t|Ya(f_(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))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI\\-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\\\(Menu(Item)?|Size|Control(s\\\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\\\(Matrix|Brush(\\\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\\\(Font(\\\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|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))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\n\t\t\t\t\t\t\\b\n\t\t\t\t\t",
15
- "captures": {
16
- "1": {
17
- "name": "punctuation.separator.inheritance.php"
18
- }
19
- }
20
- }
21
- ]
22
- },
23
- "class-name": {
24
- "patterns": [
25
- {
26
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
27
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\]|\\z)",
28
- "patterns": [
29
- {
30
- "include": "#namespace"
31
- }
32
- ],
33
- "endCaptures": {
34
- "1": {
35
- "name": "support.class.php"
36
- }
37
- }
38
- },
39
- {
40
- "include": "#class-builtin"
41
- },
42
- {
43
- "begin": "(?=[\\\\a-zA-Z_])",
44
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\]|\\z)",
45
- "patterns": [
46
- {
47
- "include": "#namespace"
48
- }
49
- ],
50
- "endCaptures": {
51
- "1": {
52
- "name": "support.class.php"
53
- }
54
- }
55
- }
56
- ]
57
- },
58
- "comments": {
59
- "patterns": [
60
- {
61
- "name": "comment.block.documentation.phpdoc.php",
62
- "begin": "/\\*\\*(?:#@\\+)?\\s*$",
63
- "end": "\\*/",
64
- "patterns": [
65
- {
66
- "include": "#php_doc"
67
- }
68
- ],
69
- "captures": {
70
- "0": {
71
- "name": "punctuation.definition.comment.php"
72
- }
73
- }
74
- },
75
- {
76
- "name": "comment.block.php",
77
- "begin": "/\\*",
78
- "end": "\\*/",
79
- "captures": {
80
- "0": {
81
- "name": "punctuation.definition.comment.php"
82
- }
83
- }
84
- },
85
- {
86
- "begin": "(^[ \\t]+)?(?=//)",
87
- "end": "(?!\\G)",
88
- "patterns": [
89
- {
90
- "name": "comment.line.double-slash.php",
91
- "begin": "//",
92
- "end": "\\n|(?=\\?\u003e)",
93
- "beginCaptures": {
94
- "0": {
95
- "name": "punctuation.definition.comment.php"
96
- }
97
- }
98
- }
99
- ],
100
- "beginCaptures": {
101
- "1": {
102
- "name": "punctuation.whitespace.comment.leading.php"
103
- }
104
- }
105
- },
106
- {
107
- "begin": "(^[ \\t]+)?(?=#)",
108
- "end": "(?!\\G)",
109
- "patterns": [
110
- {
111
- "name": "comment.line.number-sign.php",
112
- "begin": "#",
113
- "end": "\\n|(?=\\?\u003e)",
114
- "beginCaptures": {
115
- "0": {
116
- "name": "punctuation.definition.comment.php"
117
- }
118
- }
119
- }
120
- ],
121
- "beginCaptures": {
122
- "1": {
123
- "name": "punctuation.whitespace.comment.leading.php"
124
- }
125
- }
126
- }
127
- ]
128
- },
129
- "constants": {
130
- "patterns": [
131
- {
132
- "begin": "(?xi)(?=\n\t\t\t (\n\t\t\t (\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)|\n\t\t\t ([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n\t\t\t )\n\t\t\t [^a-z_0-9\\\\])",
133
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
134
- "patterns": [
135
- {
136
- "include": "#namespace"
137
- }
138
- ],
139
- "endCaptures": {
140
- "1": {
141
- "name": "constant.other.php"
142
- }
143
- }
144
- },
145
- {
146
- "begin": "(?=\\\\?[a-zA-Z_\\x{7f}-\\x{ff}])",
147
- "end": "(?=[^\\\\a-zA-Z_\\x{7f}-\\x{ff}])",
148
- "patterns": [
149
- {
150
- "name": "constant.language.php",
151
- "match": "(?i)\\b(TRUE|FALSE|NULL|__(FILE|DIR|FUNCTION|CLASS|METHOD|LINE|NAMESPACE)__|ON|OFF|YES|NO|NL|BR|TAB)\\b"
152
- },
153
- {
154
- "name": "support.constant.core.php",
155
- "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",
156
- "captures": {
157
- "1": {
158
- "name": "punctuation.separator.inheritance.php"
159
- }
160
- }
161
- },
162
- {
163
- "name": "support.constant.std.php",
164
- "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",
165
- "captures": {
166
- "1": {
167
- "name": "punctuation.separator.inheritance.php"
168
- }
169
- }
170
- },
171
- {
172
- "name": "support.constant.ext.php",
173
- "match": "(?x)\n\t\t\t\t\t\t\t\t(\\\\)?\\b\n\t\t\t\t\t\t\t\t(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|\n\t\t\t\t\t\t\t\t\tDE(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\t\t\t\t\t\t\t\t\t|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))\n\t\t\t\t\t\t\t\\b\n\t\t\t\t\t\t\t",
174
- "captures": {
175
- "1": {
176
- "name": "punctuation.separator.inheritance.php"
177
- }
178
- }
179
- },
180
- {
181
- "name": "support.constant.parser-token.php",
182
- "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",
183
- "captures": {
184
- "1": {
185
- "name": "punctuation.separator.inheritance.php"
186
- }
187
- }
188
- },
189
- {
190
- "name": "constant.other.php",
191
- "match": "[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*"
192
- }
193
- ]
194
- }
195
- ]
196
- },
197
- "function-arguments": {
198
- "patterns": [
199
- {
200
- "include": "#comments"
201
- },
202
- {
203
- "name": "meta.function.argment.php",
204
- "begin": "(?ix)\n\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t\t\t\t\t# Optional\n\t\t\t\t\t\t\t(\\?)?\n\t\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t\t(array|bool|float|int|string)\t\t\t\t\t# scalar-type\n\t\t\t\t\t\t\t | (callable|iterable)\t\t\t\t\t\t\t\t# base-type-declaration\n\t\t\t\t\t\t\t | ([a-z_0-9\\\\]*[a-z_][a-z_0-9]*)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\\s+\n\t\t\t\t\t\t)?\n\t\t\t\t\t\t(?:(\u0026)\\s*)?\t\t\t\t\t\t\t\t\t\t\t\t# Reference\n\t\t\t\t\t\t((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\t\t# Variable name\n\t\t\t\t\t",
205
- "end": "(?=,|\\)|/[/*]|\\#)",
206
- "patterns": [
207
- {
208
- "begin": "\\s*(=)",
209
- "end": "(?=,|\\)|/[/*]|\\#)",
210
- "patterns": [
211
- {
212
- "include": "#parameter-default-types"
213
- }
214
- ],
215
- "beginCaptures": {
216
- "1": {
217
- "name": "keyword.operator.assignment.php"
218
- }
219
- }
220
- },
221
- {
222
- "name": "invalid.illegal.character-not-allowed-here.php",
223
- "match": "\\S"
224
- }
225
- ],
226
- "beginCaptures": {
227
- "1": {
228
- "name": "storage.modifier.nullable.php"
229
- },
230
- "2": {
231
- "name": "storage.type.$2.php"
232
- },
233
- "3": {
234
- "name": "storage.modifier.$3.php"
235
- },
236
- "4": {
237
- "patterns": [
238
- {
239
- "include": "#class-name"
240
- }
241
- ]
242
- },
243
- "5": {
244
- "name": "storage.modifier.reference.php"
245
- },
246
- "6": {
247
- "name": "variable.other.php"
248
- },
249
- "7": {
250
- "name": "punctuation.definition.variable.php"
251
- }
252
- }
253
- }
254
- ]
255
- },
256
- "function-call": {
257
- "patterns": [
258
- {
259
- "begin": "(?i)(?=\\\\?[a-z_0-9\\\\]+\\\\[a-z_][a-z0-9_]*\\s*\\()",
260
- "end": "(?=\\s*\\()",
261
- "patterns": [
262
- {
263
- "include": "#user-function-call"
264
- }
265
- ]
266
- },
267
- {
268
- "name": "support.function.construct.php",
269
- "match": "(?i)\\b(print|echo)\\b"
270
- },
271
- {
272
- "begin": "(?i)(\\\\)?(?=\\b[a-z_][a-z_0-9]*\\s*\\()",
273
- "end": "(?=\\s*\\()",
274
- "patterns": [
275
- {
276
- "name": "support.function.construct.php",
277
- "match": "(?i)\\b(isset|unset|e(val|mpty)|list)(?=\\s*\\()"
278
- },
279
- {
280
- "include": "#support"
281
- },
282
- {
283
- "include": "#user-function-call"
284
- }
285
- ],
286
- "beginCaptures": {
287
- "1": {
288
- "name": "punctuation.separator.inheritance.php"
289
- }
290
- }
291
- }
292
- ]
293
- },
294
- "heredoc": {
295
- "patterns": [
296
- {
297
- "name": "string.unquoted.heredoc.php",
298
- "begin": "(?=\u003c\u003c\u003c\\s*(\"?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$)",
299
- "end": "(?!\\G)",
300
- "patterns": [
301
- {
302
- "include": "#heredoc_interior"
303
- }
304
- ],
305
- "injections": {
306
- "*": {
307
- "patterns": [
308
- {
309
- "include": "#interpolation"
310
- }
311
- ]
312
- }
313
- }
314
- },
315
- {
316
- "name": "string.unquoted.heredoc.nowdoc.php",
317
- "begin": "(?=\u003c\u003c\u003c\\s*('?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$)",
318
- "end": "(?!\\G)",
319
- "patterns": [
320
- {
321
- "include": "#heredoc_interior"
322
- }
323
- ]
324
- }
325
- ],
326
- "repository": {
327
- "heredoc_interior": {
328
- "patterns": [
329
- {
330
- "name": "meta.embedded.html",
331
- "contentName": "text.html",
332
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(HTML)(\\2)\\s*$\\n?",
333
- "end": "^(\\3)\\b",
334
- "patterns": [
335
- {
336
- "include": "text.html.basic"
337
- }
338
- ],
339
- "beginCaptures": {
340
- "0": {
341
- "name": "punctuation.section.embedded.begin.php"
342
- },
343
- "1": {
344
- "name": "punctuation.definition.string.php"
345
- },
346
- "3": {
347
- "name": "keyword.operator.heredoc.php"
348
- }
349
- },
350
- "endCaptures": {
351
- "0": {
352
- "name": "punctuation.section.embedded.end.php"
353
- },
354
- "1": {
355
- "name": "keyword.operator.heredoc.php"
356
- }
357
- }
358
- },
359
- {
360
- "name": "meta.embedded.xml",
361
- "contentName": "text.xml",
362
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(XML)(\\2)\\s*$\\n?",
363
- "end": "^(\\3)\\b",
364
- "patterns": [
365
- {
366
- "include": "text.xml"
367
- }
368
- ],
369
- "beginCaptures": {
370
- "0": {
371
- "name": "punctuation.section.embedded.begin.php"
372
- },
373
- "1": {
374
- "name": "punctuation.definition.string.php"
375
- },
376
- "3": {
377
- "name": "keyword.operator.heredoc.php"
378
- }
379
- },
380
- "endCaptures": {
381
- "0": {
382
- "name": "punctuation.section.embedded.end.php"
383
- },
384
- "1": {
385
- "name": "keyword.operator.heredoc.php"
386
- }
387
- }
388
- },
389
- {
390
- "name": "meta.embedded.sql",
391
- "contentName": "source.sql",
392
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(SQL)(\\2)\\s*$\\n?",
393
- "end": "^(\\3)\\b",
394
- "patterns": [
395
- {
396
- "include": "source.sql"
397
- }
398
- ],
399
- "beginCaptures": {
400
- "0": {
401
- "name": "punctuation.section.embedded.begin.php"
402
- },
403
- "1": {
404
- "name": "punctuation.definition.string.php"
405
- },
406
- "3": {
407
- "name": "keyword.operator.heredoc.php"
408
- }
409
- },
410
- "endCaptures": {
411
- "0": {
412
- "name": "punctuation.section.embedded.end.php"
413
- },
414
- "1": {
415
- "name": "keyword.operator.heredoc.php"
416
- }
417
- }
418
- },
419
- {
420
- "name": "meta.embedded.js",
421
- "contentName": "source.js",
422
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(JAVASCRIPT)(\\2)\\s*$\\n?",
423
- "end": "^(\\3)\\b",
424
- "patterns": [
425
- {
426
- "include": "source.js"
427
- }
428
- ],
429
- "beginCaptures": {
430
- "0": {
431
- "name": "punctuation.section.embedded.begin.php"
432
- },
433
- "1": {
434
- "name": "punctuation.definition.string.php"
435
- },
436
- "3": {
437
- "name": "keyword.operator.heredoc.php"
438
- }
439
- },
440
- "endCaptures": {
441
- "0": {
442
- "name": "punctuation.section.embedded.end.php"
443
- },
444
- "1": {
445
- "name": "keyword.operator.heredoc.php"
446
- }
447
- }
448
- },
449
- {
450
- "name": "meta.embedded.json",
451
- "contentName": "source.json",
452
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(JSON)(\\2)\\s*$\\n?",
453
- "end": "^(\\3)\\b",
454
- "patterns": [
455
- {
456
- "include": "source.json"
457
- }
458
- ],
459
- "beginCaptures": {
460
- "0": {
461
- "name": "punctuation.section.embedded.begin.php"
462
- },
463
- "1": {
464
- "name": "punctuation.definition.string.php"
465
- },
466
- "3": {
467
- "name": "keyword.operator.heredoc.php"
468
- }
469
- },
470
- "endCaptures": {
471
- "0": {
472
- "name": "punctuation.section.embedded.end.php"
473
- },
474
- "1": {
475
- "name": "keyword.operator.heredoc.php"
476
- }
477
- }
478
- },
479
- {
480
- "name": "meta.embedded.css",
481
- "contentName": "source.css",
482
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(CSS)(\\2)\\s*$\\n?",
483
- "end": "^(\\3)\\b",
484
- "patterns": [
485
- {
486
- "include": "source.css"
487
- }
488
- ],
489
- "beginCaptures": {
490
- "0": {
491
- "name": "punctuation.section.embedded.begin.php"
492
- },
493
- "1": {
494
- "name": "punctuation.definition.string.php"
495
- },
496
- "3": {
497
- "name": "keyword.operator.heredoc.php"
498
- }
499
- },
500
- "endCaptures": {
501
- "0": {
502
- "name": "punctuation.section.embedded.end.php"
503
- },
504
- "1": {
505
- "name": "keyword.operator.heredoc.php"
506
- }
507
- }
508
- },
509
- {
510
- "contentName": "string.regexp.heredoc.php",
511
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)(REGEX)(\\2)\\s*$\\n?",
512
- "end": "^(\\3)\\b",
513
- "patterns": [
514
- {
515
- "name": "constant.character.escape.regex.php",
516
- "match": "(\\\\){1,2}[.$^\\[\\]{}]"
517
- },
518
- {
519
- "name": "string.regexp.arbitrary-repitition.php",
520
- "match": "(\\{)\\d+(,\\d+)?(\\})",
521
- "captures": {
522
- "1": {
523
- "name": "punctuation.definition.arbitrary-repitition.php"
524
- },
525
- "3": {
526
- "name": "punctuation.definition.arbitrary-repitition.php"
527
- }
528
- }
529
- },
530
- {
531
- "name": "string.regexp.character-class.php",
532
- "begin": "\\[(?:\\^?\\])?",
533
- "end": "\\]",
534
- "patterns": [
535
- {
536
- "name": "constant.character.escape.php",
537
- "match": "\\\\[\\\\'\\[\\]]"
538
- }
539
- ],
540
- "captures": {
541
- "0": {
542
- "name": "punctuation.definition.character-class.php"
543
- }
544
- }
545
- },
546
- {
547
- "name": "keyword.operator.regexp.php",
548
- "match": "[$^+*]"
549
- },
550
- {
551
- "name": "comment.line.number-sign.php",
552
- "begin": "(?\u003c=^|\\s)(#)\\s(?=[[a-zA-Z0-9,. \\t?!-][^\\x{00}-\\x{7F}]]*$)",
553
- "end": "$\\n?",
554
- "beginCaptures": {
555
- "1": {
556
- "name": "punctuation.definition.comment.php"
557
- }
558
- },
559
- "endCaptures": {
560
- "0": {
561
- "name": "punctuation.definition.comment.php"
562
- }
563
- }
564
- }
565
- ],
566
- "beginCaptures": {
567
- "0": {
568
- "name": "punctuation.section.embedded.begin.php"
569
- },
570
- "1": {
571
- "name": "punctuation.definition.string.php"
572
- },
573
- "3": {
574
- "name": "keyword.operator.heredoc.php"
575
- }
576
- },
577
- "endCaptures": {
578
- "0": {
579
- "name": "punctuation.section.embedded.end.php"
580
- },
581
- "1": {
582
- "name": "keyword.operator.heredoc.php"
583
- }
584
- }
585
- },
586
- {
587
- "begin": "(\u003c\u003c\u003c)\\s*(['\"]?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\2)",
588
- "end": "^(\\3)\\b",
589
- "beginCaptures": {
590
- "1": {
591
- "name": "punctuation.definition.string.php"
592
- },
593
- "3": {
594
- "name": "keyword.operator.heredoc.php"
595
- }
596
- },
597
- "endCaptures": {
598
- "1": {
599
- "name": "keyword.operator.heredoc.php"
600
- }
601
- }
602
- }
603
- ]
604
- }
605
- }
606
- },
607
- "instantiation": {
608
- "begin": "(?i)(new)\\s+",
609
- "end": "(?i)(?=[^$a-z0-9_\\\\])",
610
- "patterns": [
611
- {
612
- "name": "storage.type.php",
613
- "match": "(parent|static|self)(?=[^a-z0-9_])"
614
- },
615
- {
616
- "include": "#class-name"
617
- },
618
- {
619
- "include": "#variable-name"
620
- }
621
- ],
622
- "beginCaptures": {
623
- "1": {
624
- "name": "keyword.other.new.php"
625
- }
626
- }
627
- },
628
- "interpolation": {
629
- "patterns": [
630
- {
631
- "name": "constant.numeric.octal.php",
632
- "match": "\\\\[0-7]{1,3}"
633
- },
634
- {
635
- "name": "constant.numeric.hex.php",
636
- "match": "\\\\x[0-9A-Fa-f]{1,2}"
637
- },
638
- {
639
- "name": "constant.character.escape.php",
640
- "match": "\\\\[enrt\\\\\\$\\\"]"
641
- },
642
- {
643
- "begin": "(\\{)(?=\\$.*?\\})",
644
- "end": "(\\})",
645
- "patterns": [
646
- {
647
- "include": "#language"
648
- }
649
- ],
650
- "beginCaptures": {
651
- "1": {
652
- "name": "punctuation.definition.variable.php"
653
- }
654
- },
655
- "endCaptures": {
656
- "1": {
657
- "name": "punctuation.definition.variable.php"
658
- }
659
- }
660
- },
661
- {
662
- "include": "#variable-name"
663
- }
664
- ]
665
- },
666
- "invoke-call": {
667
- "name": "meta.function-call.invoke.php",
668
- "match": "(?i)(\\$+)([a-z_][a-z_0-9]*)(?=\\s*\\()",
669
- "captures": {
670
- "1": {
671
- "name": "punctuation.definition.variable.php"
672
- },
673
- "2": {
674
- "name": "variable.other.php"
675
- }
676
- }
677
- },
678
- "language": {
679
- "patterns": [
680
- {
681
- "include": "#comments"
682
- },
683
- {
684
- "name": "punctuation.section.scope.begin.php",
685
- "match": "\\{"
686
- },
687
- {
688
- "name": "punctuation.section.scope.end.php",
689
- "match": "\\}"
690
- },
691
- {
692
- "name": "meta.interface.php",
693
- "begin": "(?i)^\\s*(interface)\\s+([a-z0-9_]+)\\s*(extends)?\\s*",
694
- "end": "((?:[a-zA-Z0-9_]+\\s*,\\s*)*)([a-zA-Z0-9_]+)?\\s*(?:(?=\\{)|$)",
695
- "patterns": [
696
- {
697
- "include": "#namespace"
698
- }
699
- ],
700
- "beginCaptures": {
701
- "1": {
702
- "name": "storage.type.interface.php"
703
- },
704
- "2": {
705
- "name": "entity.name.type.interface.php"
706
- },
707
- "3": {
708
- "name": "storage.modifier.extends.php"
709
- }
710
- },
711
- "endCaptures": {
712
- "1": {
713
- "patterns": [
714
- {
715
- "name": "entity.other.inherited-class.php",
716
- "match": "[a-zA-Z0-9_]+"
717
- },
718
- {
719
- "name": "punctuation.separator.classes.php",
720
- "match": ","
721
- }
722
- ]
723
- },
724
- "2": {
725
- "name": "entity.other.inherited-class.php"
726
- }
727
- }
728
- },
729
- {
730
- "name": "meta.namespace.php",
731
- "contentName": "entity.name.type.namespace.php",
732
- "begin": "(?i)(?:^|(?\u003c=\u003c\\?php))\\s*(namespace)\\b\\s+(?=([a-z0-9_\\\\]+\\s*($|[;{]|(\\/[\\/*])))|$)",
733
- "end": "(?i)(?=\\s*$|[^a-z0-9_\\\\])",
734
- "patterns": [
735
- {
736
- "name": "punctuation.separator.inheritance.php",
737
- "match": "\\\\"
738
- }
739
- ],
740
- "beginCaptures": {
741
- "1": {
742
- "name": "keyword.other.namespace.php"
743
- }
744
- }
745
- },
746
- {
747
- "name": "meta.use.php",
748
- "begin": "(?i)\\s*\\b(use)\\s+(?:((const)|(function))\\s+)?",
749
- "end": "(?=;|(?:^\\s*$))",
750
- "patterns": [
751
- {
752
- "include": "#comments"
753
- },
754
- {
755
- "begin": "(?i)\\s*(?=[a-z_0-9\\\\])",
756
- "end": "(?xi)(?:\n \t\t\t (?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))\n \t\t\t |(?=,|;|$)\n \t\t\t )",
757
- "patterns": [
758
- {
759
- "include": "#class-builtin"
760
- },
761
- {
762
- "name": "support.other.namespace.use.php",
763
- "begin": "(?i)\\s*(?=[\\\\a-z_0-9])",
764
- "end": "$|(?=[\\s,;])",
765
- "patterns": [
766
- {
767
- "name": "punctuation.separator.inheritance.php",
768
- "match": "\\\\"
769
- }
770
- ]
771
- }
772
- ],
773
- "endCaptures": {
774
- "1": {
775
- "name": "keyword.other.use-as.php"
776
- },
777
- "2": {
778
- "name": "support.other.namespace.use-as.php"
779
- }
780
- }
781
- },
782
- {
783
- "match": "\\s*,\\s*"
784
- }
785
- ],
786
- "beginCaptures": {
787
- "1": {
788
- "name": "keyword.other.use.php"
789
- },
790
- "3": {
791
- "name": "storage.type.const.php"
792
- },
793
- "4": {
794
- "name": "storage.type.function.php"
795
- }
796
- }
797
- },
798
- {
799
- "name": "meta.trait.php",
800
- "begin": "(?i)^\\s*(trait)\\s+([a-zA-Z0-9_]+)",
801
- "end": "(?=\\{)",
802
- "beginCaptures": {
803
- "1": {
804
- "name": "storage.type.trait.php"
805
- },
806
- "2": {
807
- "name": "entity.name.type.trait.php"
808
- }
809
- }
810
- },
811
- {
812
- "name": "meta.class.php",
813
- "begin": "(?i)^\\s*(abstract|final)?\\s*(class)\\s+([a-z0-9_]+)\\s*",
814
- "end": "(?=[;{])",
815
- "patterns": [
816
- {
817
- "include": "#comments"
818
- },
819
- {
820
- "contentName": "meta.other.inherited-class.php",
821
- "begin": "(?i)(extends)\\s+",
822
- "end": "(?i)(?=[^a-z_0-9\\\\])",
823
- "patterns": [
824
- {
825
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
826
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
827
- "patterns": [
828
- {
829
- "include": "#namespace"
830
- }
831
- ],
832
- "endCaptures": {
833
- "1": {
834
- "name": "entity.other.inherited-class.php"
835
- }
836
- }
837
- },
838
- {
839
- "include": "#class-builtin"
840
- },
841
- {
842
- "include": "#namespace"
843
- },
844
- {
845
- "name": "entity.other.inherited-class.php",
846
- "match": "(?i)[a-z_][a-z_0-9]*"
847
- }
848
- ],
849
- "beginCaptures": {
850
- "1": {
851
- "name": "storage.modifier.extends.php"
852
- }
853
- }
854
- },
855
- {
856
- "begin": "(?i)(implements)\\s+",
857
- "end": "(?i)(?=[;{])",
858
- "patterns": [
859
- {
860
- "include": "#comments"
861
- },
862
- {
863
- "contentName": "meta.other.inherited-class.php",
864
- "begin": "(?i)(?=[a-z0-9_\\\\]+)",
865
- "end": "(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\\\\\s]))\\s*)",
866
- "patterns": [
867
- {
868
- "begin": "(?i)(?=\\\\?[a-z_0-9]+\\\\)",
869
- "end": "(?i)([a-z_][a-z_0-9]*)?(?=[^a-z0-9_\\\\])",
870
- "patterns": [
871
- {
872
- "include": "#namespace"
873
- }
874
- ],
875
- "endCaptures": {
876
- "1": {
877
- "name": "entity.other.inherited-class.php"
878
- }
879
- }
880
- },
881
- {
882
- "include": "#class-builtin"
883
- },
884
- {
885
- "include": "#namespace"
886
- },
887
- {
888
- "name": "entity.other.inherited-class.php",
889
- "match": "(?i)[a-z_][a-z_0-9]*"
890
- }
891
- ]
892
- }
893
- ],
894
- "beginCaptures": {
895
- "1": {
896
- "name": "storage.modifier.implements.php"
897
- }
898
- }
899
- }
900
- ],
901
- "beginCaptures": {
902
- "1": {
903
- "name": "storage.modifier.abstract.php"
904
- },
905
- "2": {
906
- "name": "storage.type.class.php"
907
- },
908
- "3": {
909
- "name": "entity.name.type.class.php"
910
- }
911
- }
912
- },
913
- {
914
- "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|yield))\\b",
915
- "captures": {
916
- "1": {
917
- "name": "keyword.control.php"
918
- }
919
- }
920
- },
921
- {
922
- "name": "meta.include.php",
923
- "begin": "(?i)\\b((?:require|include)(?:_once)?)\\b\\s*",
924
- "end": "(?=\\s|;|$)",
925
- "patterns": [
926
- {
927
- "include": "#language"
928
- }
929
- ],
930
- "beginCaptures": {
931
- "1": {
932
- "name": "keyword.control.import.include.php"
933
- }
934
- }
935
- },
936
- {
937
- "name": "meta.catch.php",
938
- "begin": "\\b(catch)\\b\\s*\\(\\s*",
939
- "end": "([A-Za-z_][A-Za-z_0-9]*)\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*\\)",
940
- "patterns": [
941
- {
942
- "include": "#namespace"
943
- }
944
- ],
945
- "beginCaptures": {
946
- "1": {
947
- "name": "keyword.control.exception.catch.php"
948
- }
949
- },
950
- "endCaptures": {
951
- "1": {
952
- "name": "support.class.exception.php"
953
- },
954
- "2": {
955
- "name": "variable.other.php"
956
- },
957
- "3": {
958
- "name": "punctuation.definition.variable.php"
959
- }
960
- }
961
- },
962
- {
963
- "name": "keyword.control.exception.php",
964
- "match": "\\b(catch|try|throw|exception|finally)\\b"
965
- },
966
- {
967
- "name": "meta.function.closure.php",
968
- "begin": "(?i)\\b(function)\\s*(\u0026\\s*)?(?=\\()",
969
- "end": "\\{",
970
- "patterns": [
971
- {
972
- "contentName": "meta.function.arguments.php",
973
- "begin": "(\\()",
974
- "end": "(\\))",
975
- "patterns": [
976
- {
977
- "include": "#function-arguments"
978
- }
979
- ],
980
- "beginCaptures": {
981
- "1": {
982
- "name": "punctuation.definition.parameters.begin.php"
983
- }
984
- },
985
- "endCaptures": {
986
- "1": {
987
- "name": "punctuation.definition.parameters.end.php"
988
- }
989
- }
990
- },
991
- {
992
- "begin": "(?i)(use)\\s*(\\()",
993
- "end": "(\\))",
994
- "patterns": [
995
- {
996
- "name": "meta.function.closure.use.php",
997
- "match": "(?:\\s*(\u0026))?\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*(?=,|\\))",
998
- "captures": {
999
- "1": {
1000
- "name": "storage.modifier.reference.php"
1001
- },
1002
- "2": {
1003
- "name": "variable.other.php"
1004
- },
1005
- "3": {
1006
- "name": "punctuation.definition.variable.php"
1007
- }
1008
- }
1009
- }
1010
- ],
1011
- "beginCaptures": {
1012
- "1": {
1013
- "name": "keyword.other.function.use.php"
1014
- },
1015
- "2": {
1016
- "name": "punctuation.definition.parameters.begin.php"
1017
- }
1018
- },
1019
- "endCaptures": {
1020
- "1": {
1021
- "name": "punctuation.definition.parameters.end.php"
1022
- }
1023
- }
1024
- }
1025
- ],
1026
- "beginCaptures": {
1027
- "1": {
1028
- "name": "storage.type.function.php"
1029
- },
1030
- "2": {
1031
- "name": "storage.modifier.reference.php"
1032
- }
1033
- }
1034
- },
1035
- {
1036
- "name": "meta.function.php",
1037
- "contentName": "meta.function.arguments.php",
1038
- "begin": "(?x)\\s*\n\t\t\t\t\t ((?:(?:final|abstract|public|private|protected|static)\\s+)*)\n\t\t\t\t (function)\n\t\t\t\t (?:\\s+|(\\s*\u0026\\s*))\n\t\t\t\t (?:\n\t\t\t\t (__(?:call|construct|debugInfo|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic))\n\t\t\t\t |([a-zA-Z0-9_]+)\n\t\t\t\t )\n\t\t\t\t \\s*\n\t\t\t\t (\\()",
1039
- "end": "(?ix)\n\t\t\t\t\t\t(\\))\t\t\t\t\t\t\t\t\t\t\t# Close arguments\n\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t\t\t# Optional return type\n\t\t\t\t\t\t\t\\s*(:)\\s*\n\t\t\t\t\t\t\t(\\?)?\n\t\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t\t(array|bool|float|int|string)\t\t\t# scalar-type\n\t\t\t\t\t\t\t | (callable|iterable)\t\t\t\t\t\t# base-type-declaration\n\t\t\t\t\t\t\t | (void)\n\t\t\t\t\t\t\t | ([a-z_0-9\\\\]*[a-z_][a-z_0-9]*)\t\t\t# qualified-name\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)?\n\t\t\t\t\t",
1040
- "patterns": [
1041
- {
1042
- "include": "#function-arguments"
1043
- }
1044
- ],
1045
- "beginCaptures": {
1046
- "1": {
1047
- "patterns": [
1048
- {
1049
- "name": "storage.modifier.php",
1050
- "match": "final|abstract|public|private|protected|static"
1051
- }
1052
- ]
1053
- },
1054
- "2": {
1055
- "name": "storage.type.function.php"
1056
- },
1057
- "3": {
1058
- "name": "storage.modifier.reference.php"
1059
- },
1060
- "4": {
1061
- "name": "support.function.magic.php"
1062
- },
1063
- "5": {
1064
- "name": "entity.name.function.php"
1065
- },
1066
- "6": {
1067
- "name": "punctuation.definition.parameters.begin.php"
1068
- }
1069
- },
1070
- "endCaptures": {
1071
- "1": {
1072
- "name": "punctuation.definition.parameters.end.php"
1073
- },
1074
- "2": {
1075
- "name": "punctuation.separator.return-type.php"
1076
- },
1077
- "3": {
1078
- "name": "storage.modifier.nullable.php"
1079
- },
1080
- "4": {
1081
- "name": "storage.type.$4.php"
1082
- },
1083
- "5": {
1084
- "name": "storage.modifier.$5.php"
1085
- },
1086
- "6": {
1087
- "name": "storage.type.void.php"
1088
- },
1089
- "7": {
1090
- "patterns": [
1091
- {
1092
- "include": "#class-name"
1093
- }
1094
- ]
1095
- }
1096
- }
1097
- },
1098
- {
1099
- "include": "#invoke-call"
1100
- },
1101
- {
1102
- "begin": "(?xi)\\s*(?=\n\t\t\t\t [a-z_0-9$\\\\]+(::)\n (?:\n \t\t\t\t ([a-z_][a-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t |\n \t\t\t\t ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?\n\t\t\t\t )",
1103
- "end": "(?x)(::)\n (?:\n \t\t\t\t ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t |\n \t\t\t\t ([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?",
1104
- "patterns": [
1105
- {
1106
- "name": "storage.type.php",
1107
- "match": "(self|static|parent)\\b"
1108
- },
1109
- {
1110
- "include": "#class-name"
1111
- },
1112
- {
1113
- "include": "#variable-name"
1114
- }
1115
- ],
1116
- "endCaptures": {
1117
- "1": {
1118
- "name": "keyword.operator.class.php"
1119
- },
1120
- "2": {
1121
- "name": "meta.function-call.static.php"
1122
- },
1123
- "3": {
1124
- "name": "variable.other.class.php"
1125
- },
1126
- "4": {
1127
- "name": "punctuation.definition.variable.php"
1128
- },
1129
- "5": {
1130
- "name": "constant.other.class.php"
1131
- }
1132
- }
1133
- },
1134
- {
1135
- "include": "#variables"
1136
- },
1137
- {
1138
- "include": "#strings"
1139
- },
1140
- {
1141
- "name": "meta.array.empty.php",
1142
- "match": "(array)(\\()(\\))",
1143
- "captures": {
1144
- "1": {
1145
- "name": "support.function.construct.php"
1146
- },
1147
- "2": {
1148
- "name": "punctuation.definition.array.begin.php"
1149
- },
1150
- "3": {
1151
- "name": "punctuation.definition.array.end.php"
1152
- }
1153
- }
1154
- },
1155
- {
1156
- "name": "meta.array.php",
1157
- "begin": "(array)(\\()",
1158
- "end": "\\)",
1159
- "patterns": [
1160
- {
1161
- "include": "#language"
1162
- }
1163
- ],
1164
- "beginCaptures": {
1165
- "1": {
1166
- "name": "support.function.construct.php"
1167
- },
1168
- "2": {
1169
- "name": "punctuation.definition.array.begin.php"
1170
- }
1171
- },
1172
- "endCaptures": {
1173
- "0": {
1174
- "name": "punctuation.definition.array.end.php"
1175
- }
1176
- }
1177
- },
1178
- {
1179
- "match": "(?i)\\s*\\(\\s*(array|real|double|float|int(eger)?|bool(ean)?|string|object|binary|unset)\\s*\\)",
1180
- "captures": {
1181
- "1": {
1182
- "name": "storage.type.php"
1183
- }
1184
- }
1185
- },
1186
- {
1187
- "name": "storage.type.php",
1188
- "match": "(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|parent|self|object)\\b"
1189
- },
1190
- {
1191
- "name": "storage.modifier.php",
1192
- "match": "(?i)\\b(global|abstract|const|extends|implements|final|p(r(ivate|otected)|ublic)|static)\\b"
1193
- },
1194
- {
1195
- "include": "#object"
1196
- },
1197
- {
1198
- "name": "punctuation.terminator.expression.php",
1199
- "match": ";"
1200
- },
1201
- {
1202
- "include": "#heredoc"
1203
- },
1204
- {
1205
- "name": "keyword.operator.string.php",
1206
- "match": "\\.=?"
1207
- },
1208
- {
1209
- "name": "keyword.operator.key.php",
1210
- "match": "=\u003e"
1211
- },
1212
- {
1213
- "match": "(?:(\\=)(\u0026))|(\u0026(?=[$A-Za-z_]))",
1214
- "captures": {
1215
- "1": {
1216
- "name": "keyword.operator.assignment.php"
1217
- },
1218
- "2": {
1219
- "name": "storage.modifier.reference.php"
1220
- },
1221
- "3": {
1222
- "name": "storage.modifier.reference.php"
1223
- }
1224
- }
1225
- },
1226
- {
1227
- "name": "keyword.operator.error-control.php",
1228
- "match": "(@)"
1229
- },
1230
- {
1231
- "name": "keyword.operator.increment-decrement.php",
1232
- "match": "(\\-\\-|\\+\\+)"
1233
- },
1234
- {
1235
- "name": "keyword.operator.arithmetic.php",
1236
- "match": "(\\-|\\+|\\*|/|%)"
1237
- },
1238
- {
1239
- "name": "keyword.operator.logical.php",
1240
- "match": "(?i)(!|\u0026\u0026|\\|\\|)|\\b(and|or|xor|as)\\b"
1241
- },
1242
- {
1243
- "include": "#function-call"
1244
- },
1245
- {
1246
- "name": "keyword.operator.bitwise.php",
1247
- "match": "\u003c\u003c|\u003e\u003e|~|\\^|\u0026|\\|"
1248
- },
1249
- {
1250
- "name": "keyword.operator.comparison.php",
1251
- "match": "(===|==|!==|!=|\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"
1252
- },
1253
- {
1254
- "name": "keyword.operator.assignment.php",
1255
- "match": "="
1256
- },
1257
- {
1258
- "begin": "(?i)\\b(instanceof)\\b\\s+(?=[\\\\$a-z_])",
1259
- "end": "(?=[^\\\\$A-Za-z_0-9])",
1260
- "patterns": [
1261
- {
1262
- "include": "#class-name"
1263
- },
1264
- {
1265
- "include": "#variable-name"
1266
- }
1267
- ],
1268
- "beginCaptures": {
1269
- "1": {
1270
- "name": "keyword.operator.type.php"
1271
- }
1272
- }
1273
- },
1274
- {
1275
- "include": "#numbers"
1276
- },
1277
- {
1278
- "include": "#instantiation"
1279
- },
1280
- {
1281
- "match": "(?i)(goto)\\s+([a-z_][a-z_0-9]*)",
1282
- "captures": {
1283
- "1": {
1284
- "name": "keyword.control.goto.php"
1285
- },
1286
- "2": {
1287
- "name": "support.other.php"
1288
- }
1289
- }
1290
- },
1291
- {
1292
- "match": "(?i)^\\s*([a-z_][a-z_0-9]*)\\s*:",
1293
- "captures": {
1294
- "1": {
1295
- "name": "entity.name.goto-label.php"
1296
- }
1297
- }
1298
- },
1299
- {
1300
- "include": "#string-backtick"
1301
- },
1302
- {
1303
- "begin": "\\[",
1304
- "end": "\\]",
1305
- "patterns": [
1306
- {
1307
- "include": "#language"
1308
- }
1309
- ],
1310
- "beginCaptures": {
1311
- "0": {
1312
- "name": "punctuation.section.array.begin.php"
1313
- }
1314
- },
1315
- "endCaptures": {
1316
- "0": {
1317
- "name": "punctuation.section.array.end.php"
1318
- }
1319
- }
1320
- },
1321
- {
1322
- "include": "#constants"
1323
- }
1324
- ]
1325
- },
1326
- "namespace": {
1327
- "name": "support.other.namespace.php",
1328
- "begin": "(?i)(?:(namespace)|[a-z0-9_]+)?(\\\\)(?=.*?([^a-z0-9_\\\\]|\\z))",
1329
- "end": "(?i)(?=[a-z0-9_]*([^a-z0-9_\\\\]|\\z))",
1330
- "patterns": [
1331
- {
1332
- "match": "(?i)(\\\\)",
1333
- "captures": {
1334
- "1": {
1335
- "name": "punctuation.separator.inheritance.php"
1336
- }
1337
- }
1338
- }
1339
- ],
1340
- "beginCaptures": {
1341
- "1": {
1342
- "name": "variable.language.namespace.php"
1343
- },
1344
- "2": {
1345
- "name": "punctuation.separator.inheritance.php"
1346
- }
1347
- }
1348
- },
1349
- "numbers": {
1350
- "name": "constant.numeric.php",
1351
- "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)\\b"
1352
- },
1353
- "object": {
1354
- "patterns": [
1355
- {
1356
- "begin": "(-\u003e)(\\$?\\{)",
1357
- "end": "(\\})",
1358
- "patterns": [
1359
- {
1360
- "include": "#language"
1361
- }
1362
- ],
1363
- "beginCaptures": {
1364
- "1": {
1365
- "name": "keyword.operator.class.php"
1366
- },
1367
- "2": {
1368
- "name": "punctuation.definition.variable.php"
1369
- }
1370
- },
1371
- "endCaptures": {
1372
- "1": {
1373
- "name": "punctuation.definition.variable.php"
1374
- }
1375
- }
1376
- },
1377
- {
1378
- "match": "(?x)(-\u003e)\n \t\t\t\t(?:\n \t\t\t\t ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?",
1379
- "captures": {
1380
- "1": {
1381
- "name": "keyword.operator.class.php"
1382
- },
1383
- "2": {
1384
- "name": "meta.function-call.object.php"
1385
- },
1386
- "3": {
1387
- "name": "variable.other.property.php"
1388
- },
1389
- "4": {
1390
- "name": "punctuation.definition.variable.php"
1391
- }
1392
- }
1393
- }
1394
- ]
1395
- },
1396
- "parameter-default-types": {
1397
- "patterns": [
1398
- {
1399
- "include": "#strings"
1400
- },
1401
- {
1402
- "include": "#numbers"
1403
- },
1404
- {
1405
- "include": "#string-backtick"
1406
- },
1407
- {
1408
- "include": "#variables"
1409
- },
1410
- {
1411
- "name": "keyword.operator.key.php",
1412
- "match": "=\u003e"
1413
- },
1414
- {
1415
- "name": "keyword.operator.assignment.php",
1416
- "match": "="
1417
- },
1418
- {
1419
- "name": "storage.modifier.reference.php",
1420
- "match": "\u0026(?=\\s*\\$)"
1421
- },
1422
- {
1423
- "name": "meta.array.php",
1424
- "begin": "(array)\\s*(\\()",
1425
- "end": "\\)",
1426
- "patterns": [
1427
- {
1428
- "include": "#parameter-default-types"
1429
- }
1430
- ],
1431
- "beginCaptures": {
1432
- "1": {
1433
- "name": "support.function.construct.php"
1434
- },
1435
- "2": {
1436
- "name": "punctuation.definition.array.begin.php"
1437
- }
1438
- },
1439
- "endCaptures": {
1440
- "0": {
1441
- "name": "punctuation.definition.array.end.php"
1442
- }
1443
- }
1444
- },
1445
- {
1446
- "include": "#instantiation"
1447
- },
1448
- {
1449
- "begin": "(?xi)\\s*(?=\n\t\t\t\t [a-z_0-9\\\\]+(::)\n \t\t\t\t ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n\t\t\t\t )",
1450
- "end": "(?i)(::)([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?",
1451
- "patterns": [
1452
- {
1453
- "include": "#class-name"
1454
- }
1455
- ],
1456
- "endCaptures": {
1457
- "1": {
1458
- "name": "keyword.operator.class.php"
1459
- },
1460
- "2": {
1461
- "name": "constant.other.class.php"
1462
- }
1463
- }
1464
- },
1465
- {
1466
- "include": "#constants"
1467
- }
1468
- ]
1469
- },
1470
- "php_doc": {
1471
- "patterns": [
1472
- {
1473
- "name": "invalid.illegal.missing-asterisk.phpdoc.php",
1474
- "match": "^(?!\\s*\\*).*$\\n?"
1475
- },
1476
- {
1477
- "match": "^\\s*\\*\\s*(@access)\\s+((public|private|protected)|(.+))\\s*$",
1478
- "captures": {
1479
- "1": {
1480
- "name": "keyword.other.phpdoc.php"
1481
- },
1482
- "3": {
1483
- "name": "storage.modifier.php"
1484
- },
1485
- "4": {
1486
- "name": "invalid.illegal.wrong-access-type.phpdoc.php"
1487
- }
1488
- }
1489
- },
1490
- {
1491
- "match": "(@xlink)\\s+(.+)\\s*$",
1492
- "captures": {
1493
- "1": {
1494
- "name": "keyword.other.phpdoc.php"
1495
- },
1496
- "2": {
1497
- "name": "markup.underline.link.php"
1498
- }
1499
- }
1500
- },
1501
- {
1502
- "name": "keyword.other.phpdoc.php",
1503
- "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"
1504
- },
1505
- {
1506
- "name": "meta.tag.inline.phpdoc.php",
1507
- "match": "\\{(@(link)).+?\\}",
1508
- "captures": {
1509
- "1": {
1510
- "name": "keyword.other.phpdoc.php"
1511
- }
1512
- }
1513
- }
1514
- ]
1515
- },
1516
- "regex-double-quoted": {
1517
- "name": "string.regexp.double-quoted.php",
1518
- "begin": "(?x)\"/ (?= (\\\\.|[^\"/])++/[imsxeADSUXu]*\" )",
1519
- "end": "(/)([imsxeADSUXu]*)(\")",
1520
- "patterns": [
1521
- {
1522
- "name": "constant.character.escape.regex.php",
1523
- "match": "(\\\\){1,2}[.$^\\[\\]{}]"
1524
- },
1525
- {
1526
- "include": "#interpolation"
1527
- },
1528
- {
1529
- "name": "string.regexp.arbitrary-repitition.php",
1530
- "match": "(\\{)\\d+(,\\d+)?(\\})",
1531
- "captures": {
1532
- "1": {
1533
- "name": "punctuation.definition.arbitrary-repitition.php"
1534
- },
1535
- "3": {
1536
- "name": "punctuation.definition.arbitrary-repitition.php"
1537
- }
1538
- }
1539
- },
1540
- {
1541
- "name": "string.regexp.character-class.php",
1542
- "begin": "\\[(?:\\^?\\])?",
1543
- "end": "\\]",
1544
- "patterns": [
1545
- {
1546
- "include": "#interpolation"
1547
- }
1548
- ],
1549
- "captures": {
1550
- "0": {
1551
- "name": "punctuation.definition.character-class.php"
1552
- }
1553
- }
1554
- },
1555
- {
1556
- "name": "keyword.operator.regexp.php",
1557
- "match": "[$^+*]"
1558
- }
1559
- ],
1560
- "beginCaptures": {
1561
- "0": {
1562
- "name": "punctuation.definition.string.begin.php"
1563
- }
1564
- },
1565
- "endCaptures": {
1566
- "0": {
1567
- "name": "punctuation.definition.string.end.php"
1568
- }
1569
- }
1570
- },
1571
- "regex-single-quoted": {
1572
- "name": "string.regexp.single-quoted.php",
1573
- "begin": "(?x)'/ (?= ( \\\\ (?: \\\\ (?: \\\\ [\\\\']? | [^'] ) | . ) | [^'/] )++/[imsxeADSUXu]*' )",
1574
- "end": "(/)([imsxeADSUXu]*)(')",
1575
- "patterns": [
1576
- {
1577
- "name": "string.regexp.arbitrary-repitition.php",
1578
- "match": "(\\{)\\d+(,\\d+)?(\\})",
1579
- "captures": {
1580
- "1": {
1581
- "name": "punctuation.definition.arbitrary-repitition.php"
1582
- },
1583
- "3": {
1584
- "name": "punctuation.definition.arbitrary-repitition.php"
1585
- }
1586
- }
1587
- },
1588
- {
1589
- "name": "string.regexp.character-class.php",
1590
- "begin": "\\[(?:\\^?\\])?",
1591
- "end": "\\]",
1592
- "patterns": [
1593
- {
1594
- "include": "#single_quote_regex_escape"
1595
- }
1596
- ],
1597
- "captures": {
1598
- "0": {
1599
- "name": "punctuation.definition.character-class.php"
1600
- }
1601
- }
1602
- },
1603
- {
1604
- "name": "keyword.operator.regexp.php",
1605
- "match": "[$^+*]"
1606
- },
1607
- {
1608
- "include": "#single_quote_regex_escape"
1609
- }
1610
- ],
1611
- "beginCaptures": {
1612
- "0": {
1613
- "name": "punctuation.definition.string.begin.php"
1614
- }
1615
- },
1616
- "endCaptures": {
1617
- "0": {
1618
- "name": "punctuation.definition.string.end.php"
1619
- }
1620
- },
1621
- "repository": {
1622
- "single_quote_regex_escape": {
1623
- "name": "constant.character.escape.php",
1624
- "match": "(?x) \\\\ (?: \\\\ (?: \\\\ [\\\\']? | [^'] ) | . )"
1625
- }
1626
- }
1627
- },
1628
- "sql-string-double-quoted": {
1629
- "name": "string.quoted.double.sql.php",
1630
- "contentName": "source.sql.embedded.php",
1631
- "begin": "\"\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)",
1632
- "end": "\"",
1633
- "patterns": [
1634
- {
1635
- "name": "comment.line.number-sign.sql",
1636
- "match": "#(\\\\\"|[^\"])*(?=\"|$\\n?)"
1637
- },
1638
- {
1639
- "name": "comment.line.double-dash.sql",
1640
- "match": "--(\\\\\"|[^\"])*(?=\"|$\\n?)"
1641
- },
1642
- {
1643
- "name": "constant.character.escape.php",
1644
- "match": "\\\\[\\\\\"`']"
1645
- },
1646
- {
1647
- "name": "string.quoted.single.unclosed.sql",
1648
- "match": "'(?=((\\\\')|[^'\"])*(\"|$))"
1649
- },
1650
- {
1651
- "name": "string.quoted.other.backtick.unclosed.sql",
1652
- "match": "`(?=((\\\\`)|[^`\"])*(\"|$))"
1653
- },
1654
- {
1655
- "name": "string.quoted.single.sql",
1656
- "begin": "'",
1657
- "end": "'",
1658
- "patterns": [
1659
- {
1660
- "include": "#interpolation"
1661
- }
1662
- ]
1663
- },
1664
- {
1665
- "name": "string.quoted.other.backtick.sql",
1666
- "begin": "`",
1667
- "end": "`",
1668
- "patterns": [
1669
- {
1670
- "include": "#interpolation"
1671
- }
1672
- ]
1673
- },
1674
- {
1675
- "include": "#interpolation"
1676
- },
1677
- {
1678
- "include": "source.sql"
1679
- }
1680
- ],
1681
- "beginCaptures": {
1682
- "0": {
1683
- "name": "punctuation.definition.string.begin.php"
1684
- }
1685
- },
1686
- "endCaptures": {
1687
- "0": {
1688
- "name": "punctuation.definition.string.end.php"
1689
- }
1690
- }
1691
- },
1692
- "sql-string-single-quoted": {
1693
- "name": "string.quoted.single.sql.php",
1694
- "contentName": "source.sql.embedded.php",
1695
- "begin": "'\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER)\\b)",
1696
- "end": "'",
1697
- "patterns": [
1698
- {
1699
- "name": "comment.line.number-sign.sql",
1700
- "match": "#(\\\\'|[^'])*(?='|$\\n?)"
1701
- },
1702
- {
1703
- "name": "comment.line.double-dash.sql",
1704
- "match": "--(\\\\'|[^'])*(?='|$\\n?)"
1705
- },
1706
- {
1707
- "name": "constant.character.escape.php",
1708
- "match": "\\\\[\\\\'`\"]"
1709
- },
1710
- {
1711
- "name": "string.quoted.other.backtick.unclosed.sql",
1712
- "match": "`(?=((\\\\`)|[^`'])*('|$))"
1713
- },
1714
- {
1715
- "name": "string.quoted.double.unclosed.sql",
1716
- "match": "\"(?=((\\\\\")|[^\"'])*('|$))"
1717
- },
1718
- {
1719
- "include": "source.sql"
1720
- }
1721
- ],
1722
- "beginCaptures": {
1723
- "0": {
1724
- "name": "punctuation.definition.string.begin.php"
1725
- }
1726
- },
1727
- "endCaptures": {
1728
- "0": {
1729
- "name": "punctuation.definition.string.end.php"
1730
- }
1731
- }
1732
- },
1733
- "string-backtick": {
1734
- "name": "string.interpolated.php",
1735
- "begin": "`",
1736
- "end": "`",
1737
- "patterns": [
1738
- {
1739
- "name": "constant.character.escape.php",
1740
- "match": "\\\\."
1741
- },
1742
- {
1743
- "include": "#interpolation"
1744
- }
1745
- ],
1746
- "beginCaptures": {
1747
- "0": {
1748
- "name": "punctuation.definition.string.begin.php"
1749
- }
1750
- },
1751
- "endCaptures": {
1752
- "0": {
1753
- "name": "punctuation.definition.string.end.php"
1754
- }
1755
- }
1756
- },
1757
- "string-double-quoted": {
1758
- "name": "string.quoted.double.php",
1759
- "contentName": "meta.string-contents.quoted.double.php",
1760
- "begin": "\"",
1761
- "end": "\"",
1762
- "patterns": [
1763
- {
1764
- "include": "#interpolation"
1765
- }
1766
- ],
1767
- "beginCaptures": {
1768
- "0": {
1769
- "name": "punctuation.definition.string.begin.php"
1770
- }
1771
- },
1772
- "endCaptures": {
1773
- "0": {
1774
- "name": "punctuation.definition.string.end.php"
1775
- }
1776
- }
1777
- },
1778
- "string-single-quoted": {
1779
- "name": "string.quoted.single.php",
1780
- "contentName": "meta.string-contents.quoted.single.php",
1781
- "begin": "'",
1782
- "end": "'",
1783
- "patterns": [
1784
- {
1785
- "name": "constant.character.escape.php",
1786
- "match": "\\\\[\\\\']"
1787
- }
1788
- ],
1789
- "beginCaptures": {
1790
- "0": {
1791
- "name": "punctuation.definition.string.begin.php"
1792
- }
1793
- },
1794
- "endCaptures": {
1795
- "0": {
1796
- "name": "punctuation.definition.string.end.php"
1797
- }
1798
- }
1799
- },
1800
- "strings": {
1801
- "patterns": [
1802
- {
1803
- "include": "#regex-double-quoted"
1804
- },
1805
- {
1806
- "include": "#sql-string-double-quoted"
1807
- },
1808
- {
1809
- "include": "#string-double-quoted"
1810
- },
1811
- {
1812
- "include": "#regex-single-quoted"
1813
- },
1814
- {
1815
- "include": "#sql-string-single-quoted"
1816
- },
1817
- {
1818
- "include": "#string-single-quoted"
1819
- }
1820
- ]
1821
- },
1822
- "support": {
1823
- "patterns": [
1824
- {
1825
- "name": "support.function.apc.php",
1826
- "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"
1827
- },
1828
- {
1829
- "name": "support.function.apcu.php",
1830
- "match": "(?i)\\bapcu_(s(tore|ma_info)|c(lear_cache|a(s|che_info))|inc|de(c|lete)|e(ntry|xists)|fetch|add)\\b"
1831
- },
1832
- {
1833
- "name": "support.function.array.php",
1834
- "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(_exists)?|rsort)|list|a(sort|r(sort|ray(_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|lumn|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"
1835
- },
1836
- {
1837
- "name": "support.function.basic_functions.php",
1838
- "match": "(?i)\\b(s(how_source|ys_getloadavg|leep)|highlight_(string|file)|con(stant|nection_(status|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"
1839
- },
1840
- {
1841
- "name": "support.function.bcmath.php",
1842
- "match": "(?i)\\bbc(s(cale|ub|qrt)|comp|div|pow(mod)?|add|m(od|ul))\\b"
1843
- },
1844
- {
1845
- "name": "support.function.blenc.php",
1846
- "match": "(?i)\\bblenc_encrypt\\b"
1847
- },
1848
- {
1849
- "name": "support.function.bson.php",
1850
- "match": "(?i)\\bMongoDB\\\\BSON\\\\(to(JSON|PHP)|from(JSON|PHP))\\b"
1851
- },
1852
- {
1853
- "name": "support.function.bz2.php",
1854
- "match": "(?i)\\bbz(c(ompress|lose)|open|decompress|err(str|no|or)|flush|write|read)\\b"
1855
- },
1856
- {
1857
- "name": "support.function.calendar.php",
1858
- "match": "(?i)\\b(cal_(to_jd|info|days_in_month|from_jd)|unixtojd|j(d(to(unix|j(ulian|ewish)|french|gregorian)|dayofweek|monthname)|uliantojd|ewishtojd)|easter_da(ys|te)|frenchtojd|gregoriantojd)\\b"
1859
- },
1860
- {
1861
- "name": "support.function.classobj.php",
1862
- "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"
1863
- },
1864
- {
1865
- "name": "support.function.com.php",
1866
- "match": "(?i)\\b(com_(create_guid|print_typeinfo|event_sink|load_typelib|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"
1867
- },
1868
- {
1869
- "name": "support.function.csprng.php",
1870
- "match": "(?i)\\brandom_(int|bytes)\\b"
1871
- },
1872
- {
1873
- "name": "support.function.ctype.php",
1874
- "match": "(?i)\\bctype_(space|cntrl|digit|upper|p(unct|rint)|lower|al(num|pha)|graph|xdigit)\\b"
1875
- },
1876
- {
1877
- "name": "support.function.curl.php",
1878
- "match": "(?i)\\bcurl_(s(hare_(setopt|close|init)|trerror|etopt(_array)?)|c(opy_handle|lose)|init|unescape|pause|e(scape|rr(no|or)|xec)|version|file_create|reset|getinfo|multi_(s(trerror|e(topt|lect))|close|in(it|fo_read)|exec|add_handle|remove_handle|getcontent))\\b"
1879
- },
1880
- {
1881
- "name": "support.function.datetime.php",
1882
- "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(_(immutable(_from_format)?|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"
1883
- },
1884
- {
1885
- "name": "support.function.dba.php",
1886
- "match": "(?i)\\bdba_(sync|handlers|nextkey|close|insert|op(timize|en)|delete|popen|exists|key_split|f(irstkey|etch)|list|replace)\\b"
1887
- },
1888
- {
1889
- "name": "support.function.dbx.php",
1890
- "match": "(?i)\\bdbx_(sort|c(o(nnect|mpare)|lose)|e(scape_string|rror)|query|fetch_row)\\b"
1891
- },
1892
- {
1893
- "name": "support.function.dir.php",
1894
- "match": "(?i)\\b(scandir|c(h(dir|root)|losedir)|opendir|dir|re(winddir|addir)|getcwd)\\b"
1895
- },
1896
- {
1897
- "name": "support.function.eio.php",
1898
- "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"
1899
- },
1900
- {
1901
- "name": "support.function.enchant.php",
1902
- "match": "(?i)\\benchant_(dict_(s(tore_replacement|uggest)|check|is_in_session|describe|quick_check|add_to_(session|personal)|get_error)|broker_(set_(ordering|dict_path)|init|d(ict_exists|escribe)|free(_dict)?|list_dicts|request_(dict|pwl_dict)|get_(dict_path|error)))\\b"
1903
- },
1904
- {
1905
- "name": "support.function.ereg.php",
1906
- "match": "(?i)\\b(s(plit(i)?|ql_regcase)|ereg(i(_replace)?|_replace)?)\\b"
1907
- },
1908
- {
1909
- "name": "support.function.errorfunc.php",
1910
- "match": "(?i)\\b(set_e(rror_handler|xception_handler)|trigger_error|debug_(print_backtrace|backtrace)|user_error|error_(clear_last|log|reporting|get_last)|restore_e(rror_handler|xception_handler))\\b"
1911
- },
1912
- {
1913
- "name": "support.function.exec.php",
1914
- "match": "(?i)\\b(s(hell_exec|ystem)|p(assthru|roc_(nice|close|terminate|open|get_status))|e(scapeshell(cmd|arg)|xec))\\b"
1915
- },
1916
- {
1917
- "name": "support.function.exif.php",
1918
- "match": "(?i)\\b(exif_(t(humbnail|agname)|imagetype|read_data)|read_exif_data)\\b"
1919
- },
1920
- {
1921
- "name": "support.function.fann.php",
1922
- "match": "(?i)\\bfann_(s(huffle_train_data|cale_(train(_data)?|input(_train_data)?|output(_train_data)?)|ubset_train_data|et_(s(caling_params|arprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift))|ca(scade_(num_candidate_groups|candidate_(stagnation_epochs|change_fraction|limit)|output_(stagnation_epochs|change_fraction)|weight_multiplier|activation_(steepnesses|functions)|m(in_(cand_epochs|out_epochs)|ax_(cand_epochs|out_epochs)))|llback)|train(ing_algorithm|_(stop_function|error_function))|input_scaling_params|output_scaling_params|error_log|quickprop_(decay|mu)|weight(_array)?|learning_(rate|momentum)|activation_(steepness(_(hidden|output|layer))?|function(_(hidden|output|layer))?)|rprop_(increase_factor|de(crease_factor|lta_(zero|m(in|ax))))|bit_fail_limit)|ave(_train)?)|num_(input_train_data|output_train_data)|c(opy|lear_scaling_params|ascadetrain_on_(data|file)|reate_(s(hortcut(_array)?|tandard(_array)?|parse(_array)?)|train(_from_callback)?|from_file))|t(est(_data)?|rain(_(on_(data|file)|epoch))?)|init_weights|d(uplicate_train_data|es(cale_(train|input|output)|troy(_train)?))|print_error|length_train_data|r(un|e(set_(MSE|err(str|no))|ad_train_from_file)|andomize_weights)|get_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|n(um_(input|output|layers)|etwork_type)|MSE|c(onnection_(array|rate)|ascade_(num_candidate(s|_groups)|candidate_(stagnation_epochs|change_fraction|limit)|output_(stagnation_epochs|change_fraction)|weight_multiplier|activation_(steepnesses(_count)?|functions(_count)?)|m(in_(cand_epochs|out_epochs)|ax_(cand_epochs|out_epochs))))|t(otal_(neurons|connections)|rain(ing_algorithm|_(stop_function|error_function)))|err(str|no)|quickprop_(decay|mu)|l(earning_(rate|momentum)|ayer_array)|activation_(steepness|function)|rprop_(increase_factor|de(crease_factor|lta_(zero|m(in|ax))))|bi(t_fail(_limit)?|as_array))|merge_train_data)\\b"
1923
- },
1924
- {
1925
- "name": "support.function.file.php",
1926
- "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"
1927
- },
1928
- {
1929
- "name": "support.function.fileinfo.php",
1930
- "match": "(?i)\\b(finfo_(set_flags|close|open|file|buffer)|mime_content_type)\\b"
1931
- },
1932
- {
1933
- "name": "support.function.filter.php",
1934
- "match": "(?i)\\bfilter_(has_var|i(nput(_array)?|d)|var(_array)?|list)\\b"
1935
- },
1936
- {
1937
- "name": "support.function.fpm.php",
1938
- "match": "(?i)\\bfastcgi_finish_request\\b"
1939
- },
1940
- {
1941
- "name": "support.function.funchand.php",
1942
- "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"
1943
- },
1944
- {
1945
- "name": "support.function.gettext.php",
1946
- "match": "(?i)\\b(ngettext|textdomain|d(ngettext|c(ngettext|gettext)|gettext)|gettext|bind(textdomain|_textdomain_codeset))\\b"
1947
- },
1948
- {
1949
- "name": "support.function.gmp.php",
1950
- "match": "(?i)\\bgmp_(s(can(1|0)|trval|ign|ub|etbit|qrt(rem)?)|hamdist|ne(g|xtprime)|c(om|lrbit|mp)|testbit|i(n(tval|it|vert)|mport)|or|div(_(q(r)?|r)|exact)?|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|export|fact|legendre|a(nd|dd|bs)|r(oot(rem)?|andom(_(seed|range|bits))?)|gcd(ext)?|xor|m(od|ul))\\b"
1951
- },
1952
- {
1953
- "name": "support.function.hash.php",
1954
- "match": "(?i)\\bhash(_(h(kdf|mac(_file)?)|copy|init|update(_(stream|file))?|pbkdf2|equals|fi(nal|le)|algos))?\\b"
1955
- },
1956
- {
1957
- "name": "support.function.iconv.php",
1958
- "match": "(?i)\\b(iconv(_(s(tr(pos|len|rpos)|ubstr|et_encoding)|get_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\\b"
1959
- },
1960
- {
1961
- "name": "support.function.iisfunc.php",
1962
- "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"
1963
- },
1964
- {
1965
- "name": "support.function.image.php",
1966
- "match": "(?i)\\b(i(ptc(parse|embed)|mage(s(y|cale|tring(up)?|et(style|clip|t(hickness|ile)|interpolation|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))|r(op(auto)?|eate(truecolor|from(string|jpeg|png|w(ebp|bmp)|g(if|d(2(part)?)?)|x(pm|bm)|bmp))?))|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|openpolygon|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alette(copy|totruecolor))|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width)|lip)|w(ebp|bmp)|l(ine|oadfont|ayereffect)|a(ntialias|ffine(matrix(concat|get))?|lphablending|rc)|r(otate|e(solution|ctangle))|g(if|d(2)?|etclip|ammacorrect|rab(screen|window))|xbm|bmp))|jpeg2wbmp|png2wbmp|g(d_info|etimagesize(fromstring)?))\\b"
1967
- },
1968
- {
1969
- "name": "support.function.info.php",
1970
- "match": "(?i)\\b(s(ys_get_temp_dir|et_(time_limit|include_path|magic_quotes_runtime))|cli_(set_process_title|get_process_title)|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)?|mem_caches)|et(opt|_(c(urrent_user|fg_var)|include(d_files|_path)|defined_constants|extension_funcs|loaded_extensions|re(sources|quired_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"
1971
- },
1972
- {
1973
- "name": "support.function.interbase.php",
1974
- "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"
1975
- },
1976
- {
1977
- "name": "support.function.intl.php",
1978
- "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(cal_get_error_(code|message)|tz_get_error_(code|message)|_(is_failure|error_name|get_error_(code|message)))|dn_to_(utf8|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|c(ompose|anonicalize)|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"
1979
- },
1980
- {
1981
- "name": "support.function.json.php",
1982
- "match": "(?i)\\bjson_(decode|encode|last_error(_msg)?)\\b"
1983
- },
1984
- {
1985
- "name": "support.function.ldap.php",
1986
- "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(scape|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(_batch)?|_(del|add|replace))|bind)\\b"
1987
- },
1988
- {
1989
- "name": "support.function.libxml.php",
1990
- "match": "(?i)\\blibxml_(set_(streams_context|external_entity_loader)|clear_errors|disable_entity_loader|use_internal_errors|get_(errors|last_error))\\b"
1991
- },
1992
- {
1993
- "name": "support.function.mail.php",
1994
- "match": "(?i)\\b(ezmlm_hash|mail)\\b"
1995
- },
1996
- {
1997
- "name": "support.function.math.php",
1998
- "match": "(?i)\\b(s(in(h)?|qrt|rand)|h(ypot|exdec)|c(os(h)?|eil)|tan(h)?|i(s_(nan|infinite|finite)|ntdiv)|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"
1999
- },
2000
- {
2001
- "name": "support.function.mbstring.php",
2002
- "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"
2003
- },
2004
- {
2005
- "name": "support.function.mcrypt.php",
2006
- "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"
2007
- },
2008
- {
2009
- "name": "support.function.memcache.php",
2010
- "match": "(?i)\\bmemcache_debug\\b"
2011
- },
2012
- {
2013
- "name": "support.function.mhash.php",
2014
- "match": "(?i)\\bmhash(_(count|keygen_s2k|get_(hash_name|block_size)))?\\b"
2015
- },
2016
- {
2017
- "name": "support.function.mongo.php",
2018
- "match": "(?i)\\b(log_(cmd_(insert|delete|update)|killcursor|write_batch|reply|getmore)|bson_(decode|encode))\\b"
2019
- },
2020
- {
2021
- "name": "support.function.mysql.php",
2022
- "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"
2023
- },
2024
- {
2025
- "name": "support.function.mysqli.php",
2026
- "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|avepoint)|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|lease_savepoint|a(p_async_query|l_(connect|escape_string|query))))|get_(c(harset|onnection_stats|lient_(stats|info|version)|ache_stats)|warnings|links_stats|metadata)|m(ore_results|ulti_query|aster_query)|b(ind_(param|result)|egin_transaction))\\b"
2027
- },
2028
- {
2029
- "name": "support.function.mysqlnd-memcache.php",
2030
- "match": "(?i)\\bmysqlnd_memcache_(set|get_config)\\b"
2031
- },
2032
- {
2033
- "name": "support.function.mysqlnd-ms.php",
2034
- "match": "(?i)\\bmysqlnd_ms_(set_(user_pick_server|qos)|dump_servers|query_is_select|fabric_select_(shard|global)|get_(stats|last_(used_connection|gtid))|xa_(commit|rollback|gc|begin)|match_wild)\\b"
2035
- },
2036
- {
2037
- "name": "support.function.mysqlnd-qc.php",
2038
- "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"
2039
- },
2040
- {
2041
- "name": "support.function.mysqlnd-uh.php",
2042
- "match": "(?i)\\bmysqlnd_uh_(set_(statement_proxy|connection_proxy)|convert_to_mysqlnd)\\b"
2043
- },
2044
- {
2045
- "name": "support.function.network.php",
2046
- "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"
2047
- },
2048
- {
2049
- "name": "support.function.nsapi.php",
2050
- "match": "(?i)\\bnsapi_(virtual|re(sponse_headers|quest_headers))\\b"
2051
- },
2052
- {
2053
- "name": "support.function.oci8.php",
2054
- "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|d(isable_taf_callback|efine_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|e(sult|gister_taf_callback))|get_implicit_resultset|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"
2055
- },
2056
- {
2057
- "name": "support.function.opcache.php",
2058
- "match": "(?i)\\bopcache_(compile_file|i(s_script_cached|nvalidate)|reset|get_(status|configuration))\\b"
2059
- },
2060
- {
2061
- "name": "support.function.openssl.php",
2062
- "match": "(?i)\\bopenssl_(s(ign|pki_(new|export(_challenge)?|verify)|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)|bkdf2)|e(ncrypt|rror_string)|verify|free_key|random_pseudo_bytes|get_(c(ipher_methods|ert_locations)|p(ublickey|rivatekey)|md_methods)|x509_(check(_private_key|purpose)|parse|export(_to_file)?|f(ingerprint|ree)|read))\\b"
2063
- },
2064
- {
2065
- "name": "support.function.output.php",
2066
- "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"
2067
- },
2068
- {
2069
- "name": "support.function.password.php",
2070
- "match": "(?i)\\bpassword_(hash|needs_rehash|verify|get_info)\\b"
2071
- },
2072
- {
2073
- "name": "support.function.pcntl.php",
2074
- "match": "(?i)\\bpcntl_(s(trerror|ig(nal(_(dispatch|get_handler))?|timedwait|procmask|waitinfo)|etpriority)|e(rrno|xec)|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|get(_last_error|priority))\\b"
2075
- },
2076
- {
2077
- "name": "support.function.pgsql.php",
2078
- "match": "(?i)\\bpg_(s(ocket|e(nd_(prepare|execute|query(_params)?)|t_(client_encoding|error_verbosity)|lect))|host|num_(fields|rows)|c(o(n(sume_input|nect(ion_(status|reset|busy)|_poll)?|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))|lush|ree_result)|l(o_(seek|c(lose|reate)|t(ell|runcate)|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"
2079
- },
2080
- {
2081
- "name": "support.function.php_apache.php",
2082
- "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"
2083
- },
2084
- {
2085
- "name": "support.function.php_dom.php",
2086
- "match": "(?i)\\bdom_import_simplexml\\b"
2087
- },
2088
- {
2089
- "name": "support.function.php_ftp.php",
2090
- "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"
2091
- },
2092
- {
2093
- "name": "support.function.php_imap.php",
2094
- "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"
2095
- },
2096
- {
2097
- "name": "support.function.php_mssql.php",
2098
- "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"
2099
- },
2100
- {
2101
- "name": "support.function.php_odbc.php",
2102
- "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"
2103
- },
2104
- {
2105
- "name": "support.function.php_pcre.php",
2106
- "match": "(?i)\\bpreg_(split|quote|filter|last_error|replace(_callback(_array)?)?|grep|match(_all)?)\\b"
2107
- },
2108
- {
2109
- "name": "support.function.php_spl.php",
2110
- "match": "(?i)\\b(spl_(classes|object_hash|autoload(_(call|unregister|extensions|functions|register))?)|class_(implements|uses|parents)|iterator_(count|to_array|apply))\\b"
2111
- },
2112
- {
2113
- "name": "support.function.php_zip.php",
2114
- "match": "(?i)\\bzip_(close|open|entry_(name|c(ompress(ionmethod|edsize)|lose)|open|filesize|read)|read)\\b"
2115
- },
2116
- {
2117
- "name": "support.function.posix.php",
2118
- "match": "(?i)\\bposix_(s(trerror|et(sid|uid|pgid|e(uid|gid)|rlimit|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"
2119
- },
2120
- {
2121
- "name": "support.function.proctitle.php",
2122
- "match": "(?i)\\bset(threadtitle|proctitle)\\b"
2123
- },
2124
- {
2125
- "name": "support.function.pspell.php",
2126
- "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"
2127
- },
2128
- {
2129
- "name": "support.function.readline.php",
2130
- "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"
2131
- },
2132
- {
2133
- "name": "support.function.recode.php",
2134
- "match": "(?i)\\brecode(_(string|file))?\\b"
2135
- },
2136
- {
2137
- "name": "support.function.rrd.php",
2138
- "match": "(?i)\\brrd(c_disconnect|_(create|tune|info|update|error|version|f(irst|etch)|last(update)?|restore|graph|xport))\\b"
2139
- },
2140
- {
2141
- "name": "support.function.sem.php",
2142
- "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"
2143
- },
2144
- {
2145
- "name": "support.function.session.php",
2146
- "match": "(?i)\\bsession_(s(ta(tus|rt)|et_(save_handler|cookie_params)|ave_path)|name|c(ommit|ache_(expire|limiter)|reate_id)|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|abort|re(set|g(ister(_shutdown)?|enerate_id))|g(c|et_cookie_params)|module_name)\\b"
2147
- },
2148
- {
2149
- "name": "support.function.shmop.php",
2150
- "match": "(?i)\\bshmop_(size|close|open|delete|write|read)\\b"
2151
- },
2152
- {
2153
- "name": "support.function.simplexml.php",
2154
- "match": "(?i)\\bsimplexml_(import_dom|load_(string|file))\\b"
2155
- },
2156
- {
2157
- "name": "support.function.snmp.php",
2158
- "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"
2159
- },
2160
- {
2161
- "name": "support.function.soap.php",
2162
- "match": "(?i)\\b(is_soap_fault|use_soap_error_handler)\\b"
2163
- },
2164
- {
2165
- "name": "support.function.sockets.php",
2166
- "match": "(?i)\\bsocket_(s(hutdown|trerror|e(nd(to|msg)?|t(opt|_(nonblock|option|block))|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?|msg_space)|import_stream|write|l(isten|ast_error)|accept|re(cv(from|msg)?|ad)|get(sockname|opt|_option|peername)|bind)\\b"
2167
- },
2168
- {
2169
- "name": "support.function.sqlite.php",
2170
- "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"
2171
- },
2172
- {
2173
- "name": "support.function.sqlsrv.php",
2174
- "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"
2175
- },
2176
- {
2177
- "name": "support.function.stats.php",
2178
- "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"
2179
- },
2180
- {
2181
- "name": "support.function.streamsfuncs.php",
2182
- "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"
2183
- },
2184
- {
2185
- "name": "support.function.string.php",
2186
- "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"
2187
- },
2188
- {
2189
- "name": "support.function.sybase.php",
2190
- "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"
2191
- },
2192
- {
2193
- "name": "support.function.taint.php",
2194
- "match": "(?i)\\b(taint|is_tainted|untaint)\\b"
2195
- },
2196
- {
2197
- "name": "support.function.tidy.php",
2198
- "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"
2199
- },
2200
- {
2201
- "name": "support.function.tokenizer.php",
2202
- "match": "(?i)\\btoken_(name|get_all)\\b"
2203
- },
2204
- {
2205
- "name": "support.function.trader.php",
2206
- "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"
2207
- },
2208
- {
2209
- "name": "support.function.ui.php",
2210
- "match": "(?i)\\bUI\\\\(Draw\\\\Text\\\\Font\\\\fontFamilies|quit|run)\\b"
2211
- },
2212
- {
2213
- "name": "support.function.uopz.php",
2214
- "match": "(?i)\\buopz_(co(py|mpose)|implement|overload|delete|undefine|extend|f(unction|lags)|re(store|name|define)|backup)\\b"
2215
- },
2216
- {
2217
- "name": "support.function.url.php",
2218
- "match": "(?i)\\b(http_build_query|url(decode|encode)|parse_url|rawurl(decode|encode)|get_(headers|meta_tags)|base64_(decode|encode))\\b"
2219
- },
2220
- {
2221
- "name": "support.function.var.php",
2222
- "match": "(?i)\\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|i(nt(eger)?|terable)|object|double|float|long|array|re(source|al)|bool))|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"
2223
- },
2224
- {
2225
- "name": "support.function.wddx.php",
2226
- "match": "(?i)\\bwddx_(serialize_va(lue|rs)|deserialize|packet_(start|end)|add_vars)\\b"
2227
- },
2228
- {
2229
- "name": "support.function.xhprof.php",
2230
- "match": "(?i)\\bxhprof_(sample_(disable|enable)|disable|enable)\\b"
2231
- },
2232
- {
2233
- "name": "support.function.xml.php",
2234
- "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"
2235
- },
2236
- {
2237
- "name": "support.function.xmlrpc.php",
2238
- "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"
2239
- },
2240
- {
2241
- "name": "support.function.xmlwriter.php",
2242
- "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"
2243
- },
2244
- {
2245
- "name": "support.function.zlib.php",
2246
- "match": "(?i)\\b(inflate_(init|add)|zlib_(decode|encode|get_coding_type)|deflate_(init|add)|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"
2247
- },
2248
- {
2249
- "name": "support.function.alias.php",
2250
- "match": "(?i)\\bis_int(eger)?\\b"
2251
- }
2252
- ]
2253
- },
2254
- "user-function-call": {
2255
- "name": "meta.function-call.php",
2256
- "begin": "(?i)(?=[a-z_0-9\\\\]*[a-z_][a-z0-9_]*\\s*\\()",
2257
- "end": "(?i)[a-z_][a-z_0-9]*(?=\\s*\\()",
2258
- "patterns": [
2259
- {
2260
- "include": "#namespace"
2261
- }
2262
- ]
2263
- },
2264
- "var_basic": {
2265
- "patterns": [
2266
- {
2267
- "name": "variable.other.php",
2268
- "match": "(?x)\n \t\t\t (\\$+)[a-zA-Z_\\x{7f}-\\x{ff}]\n \t\t\t [a-zA-Z0-9_\\x{7f}-\\x{ff}]*?\\b",
2269
- "captures": {
2270
- "1": {
2271
- "name": "punctuation.definition.variable.php"
2272
- }
2273
- }
2274
- }
2275
- ]
2276
- },
2277
- "var_global": {
2278
- "name": "variable.other.global.php",
2279
- "match": "(\\$)((_(COOKIE|FILES|GET|POST|REQUEST))|arg(v|c))\\b",
2280
- "captures": {
2281
- "1": {
2282
- "name": "punctuation.definition.variable.php"
2283
- }
2284
- }
2285
- },
2286
- "var_global_safer": {
2287
- "name": "variable.other.global.safer.php",
2288
- "match": "(\\$)((GLOBALS|_(ENV|SERVER|SESSION)))",
2289
- "captures": {
2290
- "1": {
2291
- "name": "punctuation.definition.variable.php"
2292
- }
2293
- }
2294
- },
2295
- "variable-name": {
2296
- "patterns": [
2297
- {
2298
- "include": "#var_global"
2299
- },
2300
- {
2301
- "include": "#var_global_safer"
2302
- },
2303
- {
2304
- "match": "(?x)\n\t\t\t\t\t\t((\\$)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))\n\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t(-\u003e)(\\g\u003cname\u003e)\n\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t(\\[)\n\t\t\t\t\t\t\t\t(?:(\\d+)|((\\$)\\g\u003cname\u003e)|(\\w+))\n\t\t\t\t\t\t\t(\\])\n\t\t\t\t\t\t)?\n\t\t\t\t\t\t",
2305
- "captures": {
2306
- "1": {
2307
- "name": "variable.other.php"
2308
- },
2309
- "10": {
2310
- "name": "string.unquoted.index.php"
2311
- },
2312
- "11": {
2313
- "name": "punctuation.section.array.end.php"
2314
- },
2315
- "2": {
2316
- "name": "punctuation.definition.variable.php"
2317
- },
2318
- "4": {
2319
- "name": "keyword.operator.class.php"
2320
- },
2321
- "5": {
2322
- "name": "variable.other.property.php"
2323
- },
2324
- "6": {
2325
- "name": "punctuation.section.array.begin.php"
2326
- },
2327
- "7": {
2328
- "name": "constant.numeric.index.php"
2329
- },
2330
- "8": {
2331
- "name": "variable.other.index.php"
2332
- },
2333
- "9": {
2334
- "name": "punctuation.definition.variable.php"
2335
- }
2336
- }
2337
- },
2338
- {
2339
- "match": "(?x)\n\t\t\t\t\t\t((\\$\\{)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\}))\n\t\t\t\t\t\t",
2340
- "captures": {
2341
- "1": {
2342
- "name": "variable.other.php"
2343
- },
2344
- "2": {
2345
- "name": "punctuation.definition.variable.php"
2346
- },
2347
- "4": {
2348
- "name": "punctuation.definition.variable.php"
2349
- }
2350
- }
2351
- }
2352
- ]
2353
- },
2354
- "variables": {
2355
- "patterns": [
2356
- {
2357
- "include": "#var_global"
2358
- },
2359
- {
2360
- "include": "#var_global_safer"
2361
- },
2362
- {
2363
- "include": "#var_basic"
2364
- },
2365
- {
2366
- "begin": "(\\$\\{)(?=.*?\\})",
2367
- "end": "(\\})",
2368
- "patterns": [
2369
- {
2370
- "include": "#language"
2371
- }
2372
- ],
2373
- "beginCaptures": {
2374
- "1": {
2375
- "name": "punctuation.definition.variable.php"
2376
- }
2377
- },
2378
- "endCaptures": {
2379
- "1": {
2380
- "name": "punctuation.definition.variable.php"
2381
- }
2382
- }
2383
- }
2384
- ]
2385
- }
2386
- },
2387
- "injections": {
2388
- "^text.html - (meta.embedded | meta.tag), L:^text.html meta.tag, L:text.html.php source.js": {
2389
- "patterns": [
2390
- {
2391
- "begin": "(^\\s*)(?=\u003c\\?(?![^?]*\\?\u003e))",
2392
- "end": "(?!\\G)(\\s*$\\n)?",
2393
- "patterns": [
2394
- {
2395
- "name": "meta.embedded.block.php",
2396
- "contentName": "source.php",
2397
- "begin": "\u003c\\?(?i:php|=)?",
2398
- "end": "(\\?)\u003e",
2399
- "patterns": [
2400
- {
2401
- "include": "#language"
2402
- }
2403
- ],
2404
- "beginCaptures": {
2405
- "0": {
2406
- "name": "punctuation.section.embedded.begin.php"
2407
- }
2408
- },
2409
- "endCaptures": {
2410
- "0": {
2411
- "name": "punctuation.section.embedded.end.php"
2412
- },
2413
- "1": {
2414
- "name": "source.php"
2415
- }
2416
- }
2417
- }
2418
- ],
2419
- "beginCaptures": {
2420
- "0": {
2421
- "name": "punctuation.whitespace.embedded.leading.php"
2422
- }
2423
- },
2424
- "endCaptures": {
2425
- "0": {
2426
- "name": "punctuation.whitespace.embedded.trailing.php"
2427
- }
2428
- }
2429
- },
2430
- {
2431
- "name": "meta.embedded.block.php",
2432
- "contentName": "source.php",
2433
- "begin": "\u003c\\?(?i:php|=)?(?![^?]*\\?\u003e)",
2434
- "end": "(\\?)\u003e",
2435
- "patterns": [
2436
- {
2437
- "include": "#language"
2438
- }
2439
- ],
2440
- "beginCaptures": {
2441
- "0": {
2442
- "name": "punctuation.section.embedded.begin.php"
2443
- }
2444
- },
2445
- "endCaptures": {
2446
- "0": {
2447
- "name": "punctuation.section.embedded.end.php"
2448
- },
2449
- "1": {
2450
- "name": "source.php"
2451
- }
2452
- }
2453
- },
2454
- {
2455
- "name": "meta.embedded.line.php",
2456
- "begin": "\u003c\\?(?i:php|=)?",
2457
- "end": "\u003e",
2458
- "patterns": [
2459
- {
2460
- "name": "meta.special.empty-tag.php",
2461
- "match": "\\G(\\s*)((\\?))(?=\u003e)",
2462
- "captures": {
2463
- "1": {
2464
- "name": "source.php"
2465
- },
2466
- "2": {
2467
- "name": "punctuation.section.embedded.end.php"
2468
- },
2469
- "3": {
2470
- "name": "source.php"
2471
- }
2472
- }
2473
- },
2474
- {
2475
- "contentName": "source.php",
2476
- "begin": "\\G",
2477
- "end": "(\\?)(?=\u003e)",
2478
- "patterns": [
2479
- {
2480
- "include": "#language"
2481
- }
2482
- ],
2483
- "endCaptures": {
2484
- "0": {
2485
- "name": "punctuation.section.embedded.end.php"
2486
- },
2487
- "1": {
2488
- "name": "source.php"
2489
- }
2490
- }
2491
- }
2492
- ],
2493
- "beginCaptures": {
2494
- "0": {
2495
- "name": "punctuation.section.embedded.begin.php"
2496
- }
2497
- },
2498
- "endCaptures": {
2499
- "0": {
2500
- "name": "punctuation.section.embedded.end.php"
2501
- }
2502
- }
2503
- }
2504
- ]
2505
- }
2506
- }
2507
- }
1
+ {"name":"PHP","scopeName":"text.html.php","patterns":[{"include":"text.html.basic"}],"repository":{"class-builtin":{"patterns":[{"name":"support.class.builtin.php","match":"(?ix)\n\t\t\t\t\t\t(\\\\)?\\b\n\t\t\t\t\t\t(st(dClass|reamWrapper)|R(RD(Graph|Creator|Updater)|untimeException|e(sourceBundle|cursive(RegexIterator|Ca(chingIterator|llbackFilterIterator)|TreeIterator|Iterator(Iterator)?|DirectoryIterator|FilterIterator|ArrayIterator)|flect(ion(Generator|Method|Class|Type|ZendExtension|Object|P(arameter|roperty)|Extension|Function(Abstract)?)?|or)|gexIterator)|angeException)|G(ender\\\\Gender|lobIterator|magick(Draw|Pixel)?)|X(sltProcessor|ML(Reader|Diff\\\\(Memory|Base|DOM|File)|Writer)|SLTProcessor)|M(ysqlndUh(Connection|PreparedStatement)|ongo(Re(sultException|gex)|Grid(fsFile|FS(Cursor|File)?)|BinData|C(o(de|llection|mmandCursor)|ursor(Interface|Exception)?|lient)|Timestamp|I(n(sertBatch|t(32|64))|d)|D(B(Ref|\\\\(BSON\\\\(Regex|M(inKey|axKey)|Binary|Serializable|Timestamp|ObjectID|Decimal128|U(nserializable|TCDateTime)|Javascript)|Driver\\\\(Read(Concern|Preference)|Manager|BulkWrite|Server|C(ommand|ursor(Id)?)|Exception\\\\WriteException|Query|Write(Result|Concern(Error)?|Error))))?|eleteBatch|ate)|UpdateBatch|Pool|Write(Batch|ConcernException)|Log)?|u(tex|ltipleIterator)|e(ssageFormatter|mcache(d)?))|Bad(MethodCallException|FunctionCallException)|tidy(Node)?|S(ync(ReaderWriter|Mutex|S(haredMemory|emaphore)|Event)|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(RTime\\\\(StopWatch|PerformanceCounter)|aru(Image|Outline|D(oc|estination)|Page|Encoder|Font|Annotation))\n\t\t\t\t\t\t|Ya(f_(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))|r_(Server(_Exception)?|C(oncurrent_Client|lient(_Exception)?)))|N(o(RewindIterator|rmalizer)|umberFormatter)|C(o(nd|untable|ll(ectable|ator))|URLFile|a(chingIterator|llbackFilterIterator))|T(hread(ed)?|okyoTyrant(Table|Iterator|Query)?|ra(nsliterator|versable))|I(n(tl(RuleBasedBreakIterator|BreakIterator|C(har|odePointBreakIterator|alendar)|TimeZone|Iterator|DateFormatter|PartsIterator)|validArgumentException|finiteIterator)|terator(Iterator|Aggregate)?|magick(Draw|Pixel(Iterator)?|Kernel)?)|php_user_filter|Z(MQ(Socket|Context|Device|Poll)?|ipArchive|ookeeper)|O(CI\\-(Collection|Lob)|ut(erIterator|Of(RangeException|BoundsException))|verflowException)|D(s\\\\(Map|S(tack|e(t|quence))|Hashable|Collection|Deque|P(air|riorityQueue)|Vector|Queue)|irectory(Iterator)?|omainException|OM(XPath|N(ode(list)?|amedNodeMap)|C(haracterData|omment|dataSection)|Text|Implementation|Document(Fragment)?|ProcessingInstruction|E(ntityReference|lement)|Attr)|ate(Time(I(nterface|mmutable)|Zone)?|Interval|Period))|U(n(derflowException|expectedValueException)|Converter|I\\\\(Menu(Item)?|Size|Control(s\\\\(Radio|Gr(id|oup)|MultilineEntry|B(ox|utton)|S(pin|eparator|lider)|C(heck|o(lorButton|mbo))|Tab|P(icker|rogress)|E(ntry|ditableCombo)|Form|Label))?|Draw\\\\(Matrix|Brush(\\\\(RadialGradient|Gradient|LinearGradient))?|Stroke|Color|Text\\\\(Font(\\\\Descriptor)?|Layout)|P(en|ath))|Point|Executor|Window|Area))|JsonSerializable|finfo|P(har(Data|FileInfo)?|ool|DO(Statement)?|arentIterator)|E(v(S(tat|ignal)|Ch(ild|eck)|Timer|I(o|dle)|ent(B(uffer(Event)?|ase)|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?|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))|F(il(terIterator|esystemIterator)|ANNConnection)|mysqli(_(stmt|driver|warning|result))?|W(orker|eak(Map|ref))|L(imitIterator|o(cale|gicException)|ua(Closure)?|engthException|apack)|A(ppendIterator|PC(Iterator|UIterator)|rray(Iterator|Object|Access)))\n\t\t\t\t\t\t\\b\n\t\t\t\t\t","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_\\\\]|\\z)","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_\\\\]|\\z)","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\t\t\t (\n\t\t\t (\\\\[a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)|\n\t\t\t ([a-z_][a-z_0-9]*\\\\[a-z_][a-z_0-9\\\\]*)\n\t\t\t )\n\t\t\t [^a-z_0-9\\\\])","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)__|ON|OFF|YES|NO|NL|BR|TAB)\\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":"(?x)\n\t\t\t\t\t\t\t\t(\\\\)?\\b\n\t\t\t\t\t\t\t\t(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|\n\t\t\t\t\t\t\t\t\tDE(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\t\t\t\t\t\t\t\t\t|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))\n\t\t\t\t\t\t\t\\b\n\t\t\t\t\t\t\t","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"},{"name":"meta.function.argment.php","begin":"(?ix)\n\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t\t\t\t\t# Optional\n\t\t\t\t\t\t\t(\\?)?\n\t\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t\t(array|bool|float|int|string)\t\t\t\t\t# scalar-type\n\t\t\t\t\t\t\t | (callable|iterable)\t\t\t\t\t\t\t\t# base-type-declaration\n\t\t\t\t\t\t\t | ([a-z_0-9\\\\]*[a-z_][a-z_0-9]*)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\\s+\n\t\t\t\t\t\t)?\n\t\t\t\t\t\t(?:(\u0026)\\s*)?\t\t\t\t\t\t\t\t\t\t\t\t# Reference\n\t\t\t\t\t\t((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\t\t# Variable name\n\t\t\t\t\t","end":"(?=,|\\)|/[/*]|\\#)","patterns":[{"begin":"\\s*(=)","end":"(?=,|\\)|/[/*]|\\#)","patterns":[{"include":"#parameter-default-types"}],"beginCaptures":{"1":{"name":"keyword.operator.assignment.php"}}},{"name":"invalid.illegal.character-not-allowed-here.php","match":"\\S"}],"beginCaptures":{"1":{"name":"storage.modifier.nullable.php"},"2":{"name":"storage.type.$2.php"},"3":{"name":"storage.modifier.$3.php"},"4":{"patterns":[{"include":"#class-name"}]},"5":{"name":"storage.modifier.reference.php"},"6":{"name":"variable.other.php"},"7":{"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"}}}]},"heredoc":{"patterns":[{"name":"string.unquoted.heredoc.php","begin":"(?=\u003c\u003c\u003c\\s*(\"?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$)","end":"(?!\\G)","patterns":[{"include":"#heredoc_interior"}],"injections":{"*":{"patterns":[{"include":"#interpolation"}]}}},{"name":"string.unquoted.heredoc.nowdoc.php","begin":"(?=\u003c\u003c\u003c\\s*('?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\1)\\s*$)","end":"(?!\\G)","patterns":[{"include":"#heredoc_interior"}]}],"repository":{"heredoc_interior":{"patterns":[{"name":"meta.embedded.html","contentName":"text.html","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(HTML)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"text.html.basic"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"meta.embedded.xml","contentName":"text.xml","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(XML)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"text.xml"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"meta.embedded.sql","contentName":"source.sql","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(SQL)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"source.sql"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"meta.embedded.js","contentName":"source.js","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(JAVASCRIPT)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"source.js"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"meta.embedded.json","contentName":"source.json","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(JSON)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"source.json"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"name":"meta.embedded.css","contentName":"source.css","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(CSS)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"include":"source.css"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"contentName":"string.regexp.heredoc.php","begin":"(\u003c\u003c\u003c)\\s*(['\"]?)(REGEX)(\\2)\\s*$\\n?","end":"^(\\3)\\b","patterns":[{"name":"constant.character.escape.regex.php","match":"(\\\\){1,2}[.$^\\[\\]{}]"},{"name":"string.regexp.arbitrary-repitition.php","match":"(\\{)\\d+(,\\d+)?(\\})","captures":{"1":{"name":"punctuation.definition.arbitrary-repitition.php"},"3":{"name":"punctuation.definition.arbitrary-repitition.php"}}},{"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":"[$^+*]"},{"name":"comment.line.number-sign.php","begin":"(?\u003c=^|\\s)(#)\\s(?=[[a-zA-Z0-9,. \\t?!-][^\\x{00}-\\x{7F}]]*$)","end":"$\\n?","beginCaptures":{"1":{"name":"punctuation.definition.comment.php"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.php"}}}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"},"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"keyword.operator.heredoc.php"}}},{"begin":"(\u003c\u003c\u003c)\\s*(['\"]?)([a-zA-Z_]+[a-zA-Z0-9_]*)(\\2)","end":"^(\\3)\\b","beginCaptures":{"1":{"name":"punctuation.definition.string.php"},"3":{"name":"keyword.operator.heredoc.php"}},"endCaptures":{"1":{"name":"keyword.operator.heredoc.php"}}}]}}},"instantiation":{"begin":"(?i)(new)\\s+","end":"(?i)(?=[^$a-z0-9_\\\\])","patterns":[{"name":"storage.type.php","match":"(parent|static|self)(?=[^a-z0-9_])"},{"include":"#class-name"},{"include":"#variable-name"}],"beginCaptures":{"1":{"name":"keyword.other.new.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":"\\\\[enrt\\\\\\$\\\"]"},{"begin":"(\\{)(?=\\$.*?\\})","end":"(\\})","patterns":[{"include":"#language"}],"beginCaptures":{"1":{"name":"punctuation.definition.variable.php"}},"endCaptures":{"1":{"name":"punctuation.definition.variable.php"}}},{"include":"#variable-name"}]},"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"},{"name":"punctuation.section.scope.begin.php","match":"\\{"},{"name":"punctuation.section.scope.end.php","match":"\\}"},{"name":"meta.interface.php","begin":"(?i)^\\s*(interface)\\s+([a-z0-9_]+)\\s*(extends)?\\s*","end":"((?:[a-zA-Z0-9_]+\\s*,\\s*)*)([a-zA-Z0-9_]+)?\\s*(?:(?=\\{)|$)","patterns":[{"include":"#namespace"}],"beginCaptures":{"1":{"name":"storage.type.interface.php"},"2":{"name":"entity.name.type.interface.php"},"3":{"name":"storage.modifier.extends.php"}},"endCaptures":{"1":{"patterns":[{"name":"entity.other.inherited-class.php","match":"[a-zA-Z0-9_]+"},{"name":"punctuation.separator.classes.php","match":","}]},"2":{"name":"entity.other.inherited-class.php"}}},{"name":"meta.namespace.php","contentName":"entity.name.type.namespace.php","begin":"(?i)(?:^|(?\u003c=\u003c\\?php))\\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+(?:((const)|(function))\\s+)?","end":"(?=;|(?:^\\s*$))","patterns":[{"include":"#comments"},{"begin":"(?i)\\s*(?=[a-z_0-9\\\\])","end":"(?xi)(?:\n \t\t\t (?:\\s*(as)\\b\\s*([a-z_0-9]*)\\s*(?=,|;|$))\n \t\t\t |(?=,|;|$)\n \t\t\t )","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"},"3":{"name":"storage.type.const.php"},"4":{"name":"storage.type.function.php"}}},{"name":"meta.trait.php","begin":"(?i)^\\s*(trait)\\s+([a-zA-Z0-9_]+)","end":"(?=\\{)","beginCaptures":{"1":{"name":"storage.type.trait.php"},"2":{"name":"entity.name.type.trait.php"}}},{"name":"meta.class.php","begin":"(?i)^\\s*(abstract|final)?\\s*(class)\\s+([a-z0-9_]+)\\s*","end":"(?=[;{])","patterns":[{"include":"#comments"},{"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"}}},{"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"}}}],"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|yield))\\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)\\b\\s*\\(\\s*","end":"([A-Za-z_][A-Za-z_0-9]*)\\s*((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\\s*\\)","patterns":[{"include":"#namespace"}],"beginCaptures":{"1":{"name":"keyword.control.exception.catch.php"}},"endCaptures":{"1":{"name":"support.class.exception.php"},"2":{"name":"variable.other.php"},"3":{"name":"punctuation.definition.variable.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","contentName":"meta.function.arguments.php","begin":"(?x)\\s*\n\t\t\t\t\t ((?:(?:final|abstract|public|private|protected|static)\\s+)*)\n\t\t\t\t (function)\n\t\t\t\t (?:\\s+|(\\s*\u0026\\s*))\n\t\t\t\t (?:\n\t\t\t\t (__(?:call|construct|debugInfo|destruct|get|set|isset|unset|tostring|clone|set_state|sleep|wakeup|autoload|invoke|callStatic))\n\t\t\t\t |([a-zA-Z0-9_]+)\n\t\t\t\t )\n\t\t\t\t \\s*\n\t\t\t\t (\\()","end":"(?ix)\n\t\t\t\t\t\t(\\))\t\t\t\t\t\t\t\t\t\t\t# Close arguments\n\t\t\t\t\t\t(?:\t\t\t\t\t\t\t\t\t\t\t\t# Optional return type\n\t\t\t\t\t\t\t\\s*(:)\\s*\n\t\t\t\t\t\t\t(\\?)?\n\t\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t\t(array|bool|float|int|string)\t\t\t# scalar-type\n\t\t\t\t\t\t\t | (callable|iterable)\t\t\t\t\t\t# base-type-declaration\n\t\t\t\t\t\t\t | (void)\n\t\t\t\t\t\t\t | ([a-z_0-9\\\\]*[a-z_][a-z_0-9]*)\t\t\t# qualified-name\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)?\n\t\t\t\t\t","patterns":[{"include":"#function-arguments"}],"beginCaptures":{"1":{"patterns":[{"name":"storage.modifier.php","match":"final|abstract|public|private|protected|static"}]},"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":"punctuation.definition.parameters.begin.php"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.php"},"2":{"name":"punctuation.separator.return-type.php"},"3":{"name":"storage.modifier.nullable.php"},"4":{"name":"storage.type.$4.php"},"5":{"name":"storage.modifier.$5.php"},"6":{"name":"storage.type.void.php"},"7":{"patterns":[{"include":"#class-name"}]}}},{"include":"#invoke-call"},{"begin":"(?xi)\\s*(?=\n\t\t\t\t [a-z_0-9$\\\\]+(::)\n (?:\n \t\t\t\t ([a-z_][a-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)[a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t |\n \t\t\t\t ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?\n\t\t\t\t )","end":"(?x)(::)\n (?:\n \t\t\t\t ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t |\n \t\t\t\t ([a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?","patterns":[{"name":"storage.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)\\s*\\)","captures":{"1":{"name":"storage.type.php"}}},{"name":"storage.type.php","match":"(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|parent|self|object)\\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"},{"match":"(?:(\\=)(\u0026))|(\u0026(?=[$A-Za-z_]))","captures":{"1":{"name":"keyword.operator.assignment.php"},"2":{"name":"storage.modifier.reference.php"},"3":{"name":"storage.modifier.reference.php"}}},{"name":"keyword.operator.error-control.php","match":"(@)"},{"name":"keyword.operator.increment-decrement.php","match":"(\\-\\-|\\+\\+)"},{"name":"keyword.operator.arithmetic.php","match":"(\\-|\\+|\\*|/|%)"},{"name":"keyword.operator.logical.php","match":"(?i)(!|\u0026\u0026|\\|\\|)|\\b(and|or|xor|as)\\b"},{"include":"#function-call"},{"name":"keyword.operator.bitwise.php","match":"\u003c\u003c|\u003e\u003e|~|\\^|\u0026|\\|"},{"name":"keyword.operator.comparison.php","match":"(===|==|!==|!=|\u003c=|\u003e=|\u003c\u003e|\u003c|\u003e)"},{"name":"keyword.operator.assignment.php","match":"="},{"begin":"(?i)\\b(instanceof)\\b\\s+(?=[\\\\$a-z_])","end":"(?=[^\\\\$A-Za-z_0-9])","patterns":[{"include":"#class-name"},{"include":"#variable-name"}],"beginCaptures":{"1":{"name":"keyword.operator.type.php"}}},{"include":"#numbers"},{"include":"#instantiation"},{"match":"(?i)(goto)\\s+([a-z_][a-z_0-9]*)","captures":{"1":{"name":"keyword.control.goto.php"},"2":{"name":"support.other.php"}}},{"match":"(?i)^\\s*([a-z_][a-z_0-9]*)\\s*:","captures":{"1":{"name":"entity.name.goto-label.php"}}},{"include":"#string-backtick"},{"begin":"\\[","end":"\\]","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.php"}}},{"include":"#constants"}]},"namespace":{"name":"support.other.namespace.php","begin":"(?i)(?:(namespace)|[a-z0-9_]+)?(\\\\)(?=.*?([^a-z0-9_\\\\]|\\z))","end":"(?i)(?=[a-z0-9_]*([^a-z0-9_\\\\]|\\z))","patterns":[{"match":"(?i)(\\\\)","captures":{"1":{"name":"punctuation.separator.inheritance.php"}}}],"beginCaptures":{"1":{"name":"variable.language.namespace.php"},"2":{"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)(-\u003e)\n \t\t\t\t(?:\n \t\t\t\t ([A-Za-z_][A-Za-z_0-9]*)\\s*\\(\n \t\t\t\t |\n \t\t\t\t ((\\$+)?[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)\n \t\t\t\t)?","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":"#string-backtick"},{"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)\\s*(?=\n\t\t\t\t [a-z_0-9\\\\]+(::)\n \t\t\t\t ([a-z_\\x{7f}-\\x{ff}][a-z0-9_\\x{7f}-\\x{ff}]*)?\n\t\t\t\t )","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)\"/ (?= (\\\\.|[^\"/])++/[imsxeADSUXu]*\" )","end":"(/)([imsxeADSUXu]*)(\")","patterns":[{"name":"constant.character.escape.regex.php","match":"(\\\\){1,2}[.$^\\[\\]{}]"},{"include":"#interpolation"},{"name":"string.regexp.arbitrary-repitition.php","match":"(\\{)\\d+(,\\d+)?(\\})","captures":{"1":{"name":"punctuation.definition.arbitrary-repitition.php"},"3":{"name":"punctuation.definition.arbitrary-repitition.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)'/ (?= ( \\\\ (?: \\\\ (?: \\\\ [\\\\']? | [^'] ) | . ) | [^'/] )++/[imsxeADSUXu]*' )","end":"(/)([imsxeADSUXu]*)(')","patterns":[{"name":"string.regexp.arbitrary-repitition.php","match":"(\\{)\\d+(,\\d+)?(\\})","captures":{"1":{"name":"punctuation.definition.arbitrary-repitition.php"},"3":{"name":"punctuation.definition.arbitrary-repitition.php"}}},{"name":"string.regexp.character-class.php","begin":"\\[(?:\\^?\\])?","end":"\\]","patterns":[{"include":"#single_quote_regex_escape"}],"captures":{"0":{"name":"punctuation.definition.character-class.php"}}},{"name":"keyword.operator.regexp.php","match":"[$^+*]"},{"include":"#single_quote_regex_escape"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.php"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.php"}},"repository":{"single_quote_regex_escape":{"name":"constant.character.escape.php","match":"(?x) \\\\ (?: \\\\ (?: \\\\ [\\\\']? | [^'] ) | . )"}}},"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":"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":"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-backtick":{"name":"string.interpolated.php","begin":"`","end":"`","patterns":[{"name":"constant.character.escape.php","match":"\\\\."},{"include":"#interpolation"}],"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.apcu.php","match":"(?i)\\bapcu_(s(tore|ma_info)|c(lear_cache|a(s|che_info))|inc|de(c|lete)|e(ntry|xists)|fetch|add)\\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(_exists)?|rsort)|list|a(sort|r(sort|ray(_(s(hift|um|plice|earch|lice)|c(h(unk|ange_key_case)|o(unt_values|lumn|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|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.blenc.php","match":"(?i)\\bblenc_encrypt\\b"},{"name":"support.function.bson.php","match":"(?i)\\bMongoDB\\\\BSON\\\\(to(JSON|PHP)|from(JSON|PHP))\\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(cal_(to_jd|info|days_in_month|from_jd)|unixtojd|j(d(to(unix|j(ulian|ewish)|french|gregorian)|dayofweek|monthname)|uliantojd|ewishtojd)|easter_da(ys|te)|frenchtojd|gregoriantojd)\\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_(create_guid|print_typeinfo|event_sink|load_typelib|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.csprng.php","match":"(?i)\\brandom_(int|bytes)\\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_(s(hare_(setopt|close|init)|trerror|etopt(_array)?)|c(opy_handle|lose)|init|unescape|pause|e(scape|rr(no|or)|xec)|version|file_create|reset|getinfo|multi_(s(trerror|e(topt|lect))|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(_(immutable(_from_format)?|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.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|dict_path)|init|d(ict_exists|escribe)|free(_dict)?|list_dicts|request_(dict|pwl_dict)|get_(dict_path|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_(clear_last|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.fann.php","match":"(?i)\\bfann_(s(huffle_train_data|cale_(train(_data)?|input(_train_data)?|output(_train_data)?)|ubset_train_data|et_(s(caling_params|arprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift))|ca(scade_(num_candidate_groups|candidate_(stagnation_epochs|change_fraction|limit)|output_(stagnation_epochs|change_fraction)|weight_multiplier|activation_(steepnesses|functions)|m(in_(cand_epochs|out_epochs)|ax_(cand_epochs|out_epochs)))|llback)|train(ing_algorithm|_(stop_function|error_function))|input_scaling_params|output_scaling_params|error_log|quickprop_(decay|mu)|weight(_array)?|learning_(rate|momentum)|activation_(steepness(_(hidden|output|layer))?|function(_(hidden|output|layer))?)|rprop_(increase_factor|de(crease_factor|lta_(zero|m(in|ax))))|bit_fail_limit)|ave(_train)?)|num_(input_train_data|output_train_data)|c(opy|lear_scaling_params|ascadetrain_on_(data|file)|reate_(s(hortcut(_array)?|tandard(_array)?|parse(_array)?)|train(_from_callback)?|from_file))|t(est(_data)?|rain(_(on_(data|file)|epoch))?)|init_weights|d(uplicate_train_data|es(cale_(train|input|output)|troy(_train)?))|print_error|length_train_data|r(un|e(set_(MSE|err(str|no))|ad_train_from_file)|andomize_weights)|get_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|n(um_(input|output|layers)|etwork_type)|MSE|c(onnection_(array|rate)|ascade_(num_candidate(s|_groups)|candidate_(stagnation_epochs|change_fraction|limit)|output_(stagnation_epochs|change_fraction)|weight_multiplier|activation_(steepnesses(_count)?|functions(_count)?)|m(in_(cand_epochs|out_epochs)|ax_(cand_epochs|out_epochs))))|t(otal_(neurons|connections)|rain(ing_algorithm|_(stop_function|error_function)))|err(str|no)|quickprop_(decay|mu)|l(earning_(rate|momentum)|ayer_array)|activation_(steepness|function)|rprop_(increase_factor|de(crease_factor|lta_(zero|m(in|ax))))|bi(t_fail(_limit)?|as_array))|merge_train_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.fpm.php","match":"(?i)\\bfastcgi_finish_request\\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|i(n(tval|it|vert)|mport)|or|div(_(q(r)?|r)|exact)?|jacobi|p(o(pcount|w(m)?)|erfect_square|rob_prime)|export|fact|legendre|a(nd|dd|bs)|r(oot(rem)?|andom(_(seed|range|bits))?)|gcd(ext)?|xor|m(od|ul))\\b"},{"name":"support.function.hash.php","match":"(?i)\\bhash(_(h(kdf|mac(_file)?)|copy|init|update(_(stream|file))?|pbkdf2|equals|fi(nal|le)|algos))?\\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|cale|tring(up)?|et(style|clip|t(hickness|ile)|interpolation|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))|r(op(auto)?|eate(truecolor|from(string|jpeg|png|w(ebp|bmp)|g(if|d(2(part)?)?)|x(pm|bm)|bmp))?))|t(ypes|tf(text|bbox)|ruecolortopalette)|i(struecolor|nterlace)|2wbmp|openpolygon|d(estroy|ashedline)|jpeg|_type_to_(extension|mime_type)|p(s(slantfont|text|e(ncodefont|xtendfont)|freefont|loadfont|bbox)|ng|olygon|alette(copy|totruecolor))|ellipse|f(t(text|bbox)|il(ter|l(toborder|ed(polygon|ellipse|arc|rectangle))?)|ont(height|width)|lip)|w(ebp|bmp)|l(ine|oadfont|ayereffect)|a(ntialias|ffine(matrix(concat|get))?|lphablending|rc)|r(otate|e(solution|ctangle))|g(if|d(2)?|etclip|ammacorrect|rab(screen|window))|xbm|bmp))|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))|cli_(set_process_title|get_process_title)|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)?|mem_caches)|et(opt|_(c(urrent_user|fg_var)|include(d_files|_path)|defined_constants|extension_funcs|loaded_extensions|re(sources|quired_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(cal_get_error_(code|message)|tz_get_error_(code|message)|_(is_failure|error_name|get_error_(code|message)))|dn_to_(utf8|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|c(ompose|anonicalize)|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(_msg)?)\\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(scape|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(_batch)?|_(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)?|i(s_(nan|infinite|finite)|ntdiv)|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)\\b(log_(cmd_(insert|delete|update)|killcursor|write_batch|reply|getmore)|bson_(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|avepoint)|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|lease_savepoint|a(p_async_query|l_(connect|escape_string|query))))|get_(c(harset|onnection_stats|lient_(stats|info|version)|ache_stats)|warnings|links_stats|metadata)|m(ore_results|ulti_query|aster_query)|b(ind_(param|result)|egin_transaction))\\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)|dump_servers|query_is_select|fabric_select_(shard|global)|get_(stats|last_(used_connection|gtid))|xa_(commit|rollback|gc|begin)|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.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|d(isable_taf_callback|efine_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|e(sult|gister_taf_callback))|get_implicit_resultset|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.opcache.php","match":"(?i)\\bopcache_(compile_file|i(s_script_cached|nvalidate)|reset|get_(status|configuration))\\b"},{"name":"support.function.openssl.php","match":"(?i)\\bopenssl_(s(ign|pki_(new|export(_challenge)?|verify)|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)|bkdf2)|e(ncrypt|rror_string)|verify|free_key|random_pseudo_bytes|get_(c(ipher_methods|ert_locations)|p(ublickey|rivatekey)|md_methods)|x509_(check(_private_key|purpose)|parse|export(_to_file)?|f(ingerprint|ree)|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(trerror|ig(nal(_(dispatch|get_handler))?|timedwait|procmask|waitinfo)|etpriority)|e(rrno|xec)|fork|w(stopsig|termsig|if(s(topped|ignaled)|exited)|exitstatus|ait(pid)?)|alarm|get(_last_error|priority))\\b"},{"name":"support.function.pgsql.php","match":"(?i)\\bpg_(s(ocket|e(nd_(prepare|execute|query(_params)?)|t_(client_encoding|error_verbosity)|lect))|host|num_(fields|rows)|c(o(n(sume_input|nect(ion_(status|reset|busy)|_poll)?|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))|lush|ree_result)|l(o_(seek|c(lose|reate)|t(ell|runcate)|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(_array)?)?|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)|rlimit|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(c_disconnect|_(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)|reate_id)|i(s_registered|d)|de(stroy|code)|un(set|register)|encode|write_close|abort|re(set|g(ister(_shutdown)?|enerate_id))|g(c|et_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|msg)?|t(opt|_(nonblock|option|block))|lect))|c(onnect|l(ose|ear_error)|reate(_(pair|listen))?|msg_space)|import_stream|write|l(isten|ast_error)|accept|re(cv(from|msg)?|ad)|get(sockname|opt|_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.ui.php","match":"(?i)\\bUI\\\\(Draw\\\\Text\\\\Font\\\\fontFamilies|quit|run)\\b"},{"name":"support.function.uopz.php","match":"(?i)\\buopz_(co(py|mpose)|implement|overload|delete|undefine|extend|f(unction|lags)|re(store|name|define)|backup)\\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|i(nt(eger)?|terable)|object|double|float|long|array|re(source|al)|bool))|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.zlib.php","match":"(?i)\\b(inflate_(init|add)|zlib_(decode|encode|get_coding_type)|deflate_(init|add)|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"}]},"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"}]},"var_basic":{"patterns":[{"name":"variable.other.php","match":"(?x)\n \t\t\t (\\$+)[a-zA-Z_\\x{7f}-\\x{ff}]\n \t\t\t [a-zA-Z0-9_\\x{7f}-\\x{ff}]*?\\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\t\t\t\t\t\t((\\$)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*))\n\t\t\t\t\t\t(?:\n\t\t\t\t\t\t\t(-\u003e)(\\g\u003cname\u003e)\n\t\t\t\t\t\t\t|\n\t\t\t\t\t\t\t(\\[)\n\t\t\t\t\t\t\t\t(?:(\\d+)|((\\$)\\g\u003cname\u003e)|(\\w+))\n\t\t\t\t\t\t\t(\\])\n\t\t\t\t\t\t)?\n\t\t\t\t\t\t","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\t\t\t\t\t\t((\\$\\{)(?\u003cname\u003e[a-zA-Z_\\x{7f}-\\x{ff}][a-zA-Z0-9_\\x{7f}-\\x{ff}]*)(\\}))\n\t\t\t\t\t\t","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"}}}]}},"injections":{"^text.html - (meta.embedded | meta.tag), L:^text.html meta.tag, L:text.html.php source.js":{"patterns":[{"begin":"(^\\s*)(?=\u003c\\?(?![^?]*\\?\u003e))","end":"(?!\\G)(\\s*$\\n)?","patterns":[{"name":"meta.embedded.block.php","contentName":"source.php","begin":"\u003c\\?(?i:php|=)?","end":"(\\?)\u003e","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"source.php"}}}],"beginCaptures":{"0":{"name":"punctuation.whitespace.embedded.leading.php"}},"endCaptures":{"0":{"name":"punctuation.whitespace.embedded.trailing.php"}}},{"name":"meta.embedded.block.php","contentName":"source.php","begin":"\u003c\\?(?i:php|=)?(?![^?]*\\?\u003e)","end":"(\\?)\u003e","patterns":[{"include":"#language"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"source.php"}}},{"name":"meta.embedded.line.php","begin":"\u003c\\?(?i:php|=)?","end":"\u003e","patterns":[{"name":"meta.special.empty-tag.php","match":"\\G(\\s*)((\\?))(?=\u003e)","captures":{"1":{"name":"source.php"},"2":{"name":"punctuation.section.embedded.end.php"},"3":{"name":"source.php"}}},{"contentName":"source.php","begin":"\\G","end":"(\\?)(?=\u003e)","patterns":[{"include":"#language"}],"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"},"1":{"name":"source.php"}}}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.php"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.php"}}}]}}}