@kong-ui-public/documentation 0.3.42 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Tableau10-GLA_9iAD-BMurskAd.js +9 -0
- package/dist/arc-BSRpyMf3-C5dasNo_.js +86 -0
- package/dist/array-CqVTtuYm-fKLgkG2b.js +6 -0
- package/dist/astro-mwoSwJnq-CNh-xuM0.js +27 -0
- package/dist/blockDiagram-6b2b5046-D02VCbQO-CPmGy0xX.js +1224 -0
- package/dist/c-eDnjw9rh-eDnjw9rh.js +87 -0
- package/dist/c4Diagram-b947cdbb-gYcL5VzP-DIDY83e1.js +1578 -0
- package/dist/channel-DHTQ8Ynn-7OPGex2S.js +5 -0
- package/dist/classDiagram-35230388-JdSKLSZv-D2crBRy-.js +217 -0
- package/dist/classDiagram-v2-412acd34-DFFRHXE_-B6aCxlD1.js +200 -0
- package/dist/clone-p6h9XXNm-3JQ-HRC6.js +8 -0
- package/dist/coffee-CRlSxcc3-CY091_1T.js +108 -0
- package/dist/cpp-DizfY48B-CA38N4Mn.js +208 -0
- package/dist/createText-423428c9-LivTKT7b-BXNfjcdp.js +2964 -0
- package/dist/csharp-uGDiXTZn-uGDiXTZn.js +762 -0
- package/dist/css-CAzixsid-CEpuX1HY.js +511 -0
- package/dist/csv-D4BoHddH-D4BoHddH.js +7 -0
- package/dist/diff-Bo5iyMQ2-Bo5iyMQ2.js +7 -0
- package/dist/docker-B10O2enb-B10O2enb.js +7 -0
- package/dist/documentation.es.js +5 -3130
- package/dist/documentation.umd.js +10152 -50
- package/dist/edges-d417c7a0-C1ggiwWz-Aj0OUf7e.js +1082 -0
- package/dist/erDiagram-0ea73325-mz0Z_-DA-Dr01LsTB.js +924 -0
- package/dist/flowDb-d35e309a-CPyxEMIt-lofeyUuw.js +1126 -0
- package/dist/flowDiagram-d949d7c1-DqCa0HNN-BK5wNO9Z.js +782 -0
- package/dist/flowDiagram-v2-49332944-UMosz1sZ-BG39AuNP.js +17 -0
- package/dist/flowchart-elk-definition-27cc417a-D2UKpS6N-r2p34307.js +48387 -0
- package/dist/ganttDiagram-5c869e3b-CVBHw4pG-CaG9QXQM.js +2490 -0
- package/dist/git-commit-CWf81VOF-DtOZSoIU.js +9 -0
- package/dist/git-rebase-sR-yVH_J-D5M2oE9O.js +9 -0
- package/dist/gitGraphDiagram-b9d81de9-BGm3fU0n-CbCpf-4j.js +1262 -0
- package/dist/go-BCCWZWY1-BCCWZWY1.js +7 -0
- package/dist/graph-4FyIWFHN-774TpNLL.js +870 -0
- package/dist/graphql-CT32SSoq-1pBWfpcR.js +18 -0
- package/dist/haml-8RvrfhLO-Bbc4xoLP.js +19 -0
- package/dist/handlebars-Cr5ro0bH-CLcCNLtV.js +15 -0
- package/dist/haskell-BfFu8DD8-BmkPJdLL.js +565 -0
- package/dist/html-BZB5lEhh-B74zAnWx.js +84 -0
- package/dist/html-derivative-0y7sV5Qc-D8-muTWn.js +9 -0
- package/dist/index-8fae9850-_CN7MNjP-Cq-s0PmS.js +373 -0
- package/dist/index-B-5DuDrq.js +29996 -0
- package/dist/infoDiagram-db7b18fc-V446j9uR-GSa8bniv.js +319 -0
- package/dist/ini-BsUFIxsI-BsUFIxsI.js +7 -0
- package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
- package/dist/java-Bk2JzfKB-Bk2JzfKB.js +74 -0
- package/dist/javascript-DqVBMyXe-DqVBMyXe.js +705 -0
- package/dist/journeyDiagram-d5636530-CFiu7dnV-DJMu6A22.js +803 -0
- package/dist/json-B12k4-6m-B12k4-6m.js +31 -0
- package/dist/json5-CvqQZK9I-CvqQZK9I.js +23 -0
- package/dist/jsonc-v2qGKRJY-v2qGKRJY.js +31 -0
- package/dist/jsonl-izxnMeZX-izxnMeZX.js +31 -0
- package/dist/jsx-aDp7j9_Z-aDp7j9_Z.js +705 -0
- package/dist/kotlin-NOMOielb-NOMOielb.js +7 -0
- package/dist/latex-Bw_ghldO-BlUAi6pB.js +339 -0
- package/dist/layout-2-aEcfuw-BqqWy5wB.js +1524 -0
- package/dist/less-CW2GmQHL-CW2GmQHL.js +165 -0
- package/dist/line-nVq5kEiy-DtZd3PHZ.js +34 -0
- package/dist/linear-Bz4oRFvQ-C869GXbm.js +447 -0
- package/dist/liquid-DJ2rh7oT-FwZwa67Y.js +28 -0
- package/dist/lua-5TZ-G8Be-CogscVHC.js +9 -0
- package/dist/make-whncTQWE-whncTQWE.js +7 -0
- package/dist/markdown-DYKdIx5--DYKdIx5-.js +135 -0
- package/dist/material-theme-lighter-BRE1Bis3-BRE1Bis3.js +769 -0
- package/dist/material-theme-palenight-Dhz61Tee-Dhz61Tee.js +769 -0
- package/dist/mdc-D0DPLwil-BfE3hy8_.js +88 -0
- package/dist/mdx-CKDMxEaL-CKDMxEaL.js +7 -0
- package/dist/mermaid-BxNM-z-u-BxNM-z-u.js +7 -0
- package/dist/mindmap-definition-377f8f1f-C2vFYDMs-B71SGbvx.js +19078 -0
- package/dist/nginx-C082G13W-vryM9k1W.js +9 -0
- package/dist/objective-c-BVtzkNiv-BVtzkNiv.js +115 -0
- package/dist/onig-BonMD2gC-BonMD2gC.js +4 -0
- package/dist/ordinal-MUacOSdK-B1MUT0BL.js +65 -0
- package/dist/pascal-CrvtytWS-CrvtytWS.js +7 -0
- package/dist/path-Crsf9Nsj-SiSjwXsf.js +91 -0
- package/dist/perl-D29UPKP6-Dez6-HRy.js +17 -0
- package/dist/php-D7Tl-iS7-BtPFrDEt.js +789 -0
- package/dist/pieDiagram-b0208e96-DhA_SoTh-CfDd9YdA.js +501 -0
- package/dist/plsql-8SPzZKaa-8SPzZKaa.js +7 -0
- package/dist/postcss-Cz2vjx_4-Cz2vjx_4.js +7 -0
- package/dist/powershell-B0buHCuS-B0buHCuS.js +7 -0
- package/dist/proto-6YaU_lta-6YaU_lta.js +7 -0
- package/dist/pug-DbFO7359-duYD8LVa.js +21 -0
- package/dist/python-BQXev0_W-BQXev0_W.js +524 -0
- package/dist/quadrantDiagram-0332be45-C8q96Ohm-DMblaqnx.js +903 -0
- package/dist/r-DU7Q70f1-DU7Q70f1.js +7 -0
- package/dist/reg-DoGLEyFr-DoGLEyFr.js +7 -0
- package/dist/requirementDiagram-bf7890df-D30zCZjB-B_JBC9RM.js +767 -0
- package/dist/rst-Bm1i8IkK-C9EaDq6g.js +26 -0
- package/dist/ruby-CZZKXaz8-BxaDEkRP.js +102 -0
- package/dist/rust-CIl6NRUt-CIl6NRUt.js +7 -0
- package/dist/sankeyDiagram-0acdec17-B4vNjMaS-Bauvtonp.js +816 -0
- package/dist/sass-LqXmC1Fh-LqXmC1Fh.js +8 -0
- package/dist/scss-DjxgF7f7-DGTzny6p.js +98 -0
- package/dist/sequenceDiagram-c18d009d-BniqGSPK-DuYYUmiZ.js +2201 -0
- package/dist/shellscript-CUUTQKn5-CUUTQKn5.js +7 -0
- package/dist/shellsession-BIPXtZci-D6avbCwN.js +9 -0
- package/dist/splunk-C0K00wNV-C0K00wNV.js +7 -0
- package/dist/sql-DkzN59UV-DkzN59UV.js +27 -0
- package/dist/ssh-config-BbWAW6SY-BbWAW6SY.js +7 -0
- package/dist/stateDiagram-43596fc0-F0V9suMd-L2Ywe-J_.js +266 -0
- package/dist/stateDiagram-v2-2ead4f9c-DUgJH8tF-BVo1q2i1.js +184 -0
- package/dist/style.css +1 -1
- package/dist/styles-6860f46c-Dflmq0ac-BRNSwis6.js +1089 -0
- package/dist/styles-7383a064-Dg7mXkpq-C4bItohl.js +430 -0
- package/dist/styles-b2c874b6-HpcOhE4Y-Bj0upXzO.js +960 -0
- package/dist/stylus-CAHdVuhm-CAHdVuhm.js +21 -0
- package/dist/svelte-DAxjO8Sh-D0e501jC.js +29 -0
- package/dist/svgDrawCommon-0ee1b4e9-CNkCfzsJ-Bz_doYLk.js +64 -0
- package/dist/swift-x2DVyVjN-Bz5PC9YM.js +550 -0
- package/dist/timeline-definition-d977decf-Cl38e_0g-D_Dlqa-R.js +794 -0
- package/dist/toml-Dbtbfmwk-Dbtbfmwk.js +75 -0
- package/dist/tsx-BmwsDeeh-BmwsDeeh.js +705 -0
- package/dist/twig-B_Gr-ODl-Cl9Q0GWo.js +58 -0
- package/dist/types/components/DocumentationContent.vue.d.ts +8 -1
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts +5 -1
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts +1 -1
- package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -1
- package/dist/types/composables/useI18n.d.ts +4 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -1
- package/dist/typescript-AEg-ehu7-AEg-ehu7.js +672 -0
- package/dist/v-BuvBsUKm-BuvBsUKm.js +7 -0
- package/dist/vb-cqjo5dul-cqjo5dul.js +7 -0
- package/dist/viml-h3ATW6He-h3ATW6He.js +7 -0
- package/dist/vue-Dz-azHaT-B9qBHMZi.js +71 -0
- package/dist/vue-html-DIGKAAs4-BeHSIJcx.js +11 -0
- package/dist/wasm-xOGcJ9Ts-xOGcJ9Ts.js +7 -0
- package/dist/wgsl-hGLOfCya-hGLOfCya.js +7 -0
- package/dist/xml-CfRpfi_B-BH3JRQfc.js +9 -0
- package/dist/xsl-BAqhSCYL-BTKPZRNQ.js +9 -0
- package/dist/xychartDiagram-e50adddc-JdLmRUgg-HmDalTeo.js +1282 -0
- package/dist/yaml-PGla5xPP-HJurM_FJ.js +206 -0
- package/package.json +13 -13
- package/dist/prism-bash.min-DDo5CyRs-DihCfXgx.js +0 -7
- package/dist/prism-css.min-BrrzZC7b-BrrzZC7b.js +0 -7
- package/dist/prism-docker.min-DnIEokC3-D0v8IWN_.js +0 -22
- package/dist/prism-go.min-C7UmK6TW-C7UmK6TW.js +0 -1
- package/dist/prism-http.min-CsU3-jB8-CQ8PCDXl.js +0 -23
- package/dist/prism-javascript.min-CEqHqgbm-CEqHqgbm.js +0 -8
- package/dist/prism-jq.min-Q555vXZm-Q555vXZm.js +0 -8
- package/dist/prism-json.min-B1GJqK1k-B1GJqK1k.js +0 -1
- package/dist/prism-log.min-SDopTpKN-SDopTpKN.js +0 -1
- package/dist/prism-lua.min-DwRnUVfS-DwRnUVfS.js +0 -1
- package/dist/prism-makefile.min-DyutknhE-DyutknhE.js +0 -1
- package/dist/prism-markdown.min-B7US-xc7-DB9aF_ZA.js +0 -63
- package/dist/prism-python.min-BIfpAh5K-BIfpAh5K.js +0 -1
- package/dist/prism-regex.min-f8DNqi8X-f8DNqi8X.js +0 -4
- package/dist/prism-rest.min-B6veHRJF-B6veHRJF.js +0 -1
- package/dist/prism-rust.min-Cb-Mi-h0-Cb-Mi-h0.js +0 -9
- package/dist/prism-scss.min-B0csyGJo-B0csyGJo.js +0 -1
- package/dist/prism-sql.min-BHXzX-c_-BHXzX-c_.js +0 -1
- package/dist/prism-typescript.min-oSVeWCAd-oSVeWCAd.js +0 -5
- package/dist/prism-xml-doc.min-yj0YzRGe-KgTQx-dc.js +0 -7
- package/dist/prism-yaml.min-CTetcdKA-C1YzP_OY.js +0 -28
|
@@ -0,0 +1,789 @@
|
|
|
1
|
+
import e from "./html-BZB5lEhh-B74zAnWx.js";
|
|
2
|
+
import t from "./xml-CfRpfi_B-BH3JRQfc.js";
|
|
3
|
+
import n from "./sql-DkzN59UV-DkzN59UV.js";
|
|
4
|
+
import a from "./javascript-DqVBMyXe-DqVBMyXe.js";
|
|
5
|
+
import r from "./json-B12k4-6m-B12k4-6m.js";
|
|
6
|
+
import i from "./css-CAzixsid-CEpuX1HY.js";
|
|
7
|
+
const p = Object.freeze({ displayName: "PHP", name: "php", patterns: [{ include: "#attribute" }, { include: "#comments" }, { captures: { 1: { name: "keyword.other.namespace.php" }, 2: { name: "entity.name.type.namespace.php", patterns: [{ match: "\\\\", name: "punctuation.separator.inheritance.php" }] } }, match: "(?i)(?:^|(?<=<\\?php))\\s*(namespace)\\s+([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)(?=\\s*;)", name: "meta.namespace.php" }, { begin: "(?i)(?:^|(?<=<\\?php))\\s*(namespace)\\s+", beginCaptures: { 1: { name: "keyword.other.namespace.php" } }, end: "(?<=})|(?=\\?>)", name: "meta.namespace.php", patterns: [{ include: "#comments" }, { captures: { 0: { patterns: [{ match: "\\\\", name: "punctuation.separator.inheritance.php" }] } }, match: "(?i)[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+", name: "entity.name.type.namespace.php" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.namespace.begin.bracket.curly.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.namespace.end.bracket.curly.php" } }, patterns: [{ include: "$self" }] }, { match: "[^\\s]+", name: "invalid.illegal.identifier.php" }] }, { match: "\\s+(?=use\\b)" }, { begin: "(?i)\\buse\\b", beginCaptures: { 0: { name: "keyword.other.use.php" } }, end: "(?<=})|(?=;)|(?=\\?>)", name: "meta.use.php", patterns: [{ match: "\\b(const|function)\\b", name: "storage.type.${1:/downcase}.php" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.use.begin.bracket.curly.php" } }, end: "}", endCaptures: { 0: { name: "punctuation.definition.use.end.bracket.curly.php" } }, patterns: [{ include: "#scope-resolution" }, { captures: { 1: { name: "keyword.other.use-as.php" }, 2: { name: "storage.modifier.php" }, 3: { name: "entity.other.alias.php" } }, match: `(?xi)
|
|
8
|
+
\\b(as)
|
|
9
|
+
\\s+(final|abstract|public|private|protected|static)
|
|
10
|
+
\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)` }, { captures: { 1: { name: "keyword.other.use-as.php" }, 2: { patterns: [{ match: "^(?:final|abstract|public|private|protected|static)$", name: "storage.modifier.php" }, { match: ".+", name: "entity.other.alias.php" }] } }, match: `(?xi)
|
|
11
|
+
\\b(as)
|
|
12
|
+
\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)` }, { captures: { 1: { name: "keyword.other.use-insteadof.php" }, 2: { name: "support.class.php" } }, match: "(?i)\\b(insteadof)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" }, { match: ";", name: "punctuation.terminator.expression.php" }, { include: "#use-inner" }] }, { include: "#use-inner" }] }, { begin: `(?ix)
|
|
13
|
+
\\b(trait)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)`, beginCaptures: { 1: { name: "storage.type.trait.php" }, 2: { name: "entity.name.type.trait.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.trait.end.bracket.curly.php" } }, name: "meta.trait.php", patterns: [{ include: "#comments" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.trait.begin.bracket.curly.php" } }, contentName: "meta.trait.body.php", end: "(?=}|\\?>)", patterns: [{ include: "$self" }] }] }, { begin: `(?ix)
|
|
14
|
+
\\b(interface)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)`, beginCaptures: { 1: { name: "storage.type.interface.php" }, 2: { name: "entity.name.type.interface.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.interface.end.bracket.curly.php" } }, name: "meta.interface.php", patterns: [{ include: "#comments" }, { include: "#interface-extends" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.interface.begin.bracket.curly.php" } }, contentName: "meta.interface.body.php", end: "(?=}|\\?>)", patterns: [{ include: "#class-constant" }, { include: "$self" }] }] }, { begin: `(?ix)
|
|
15
|
+
\\b(enum)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
16
|
+
(?: \\s* (:) \\s* (int | string) \\b )?`, beginCaptures: { 1: { name: "storage.type.enum.php" }, 2: { name: "entity.name.type.enum.php" }, 3: { name: "keyword.operator.return-value.php" }, 4: { name: "keyword.other.type.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.enum.end.bracket.curly.php" } }, name: "meta.enum.php", patterns: [{ include: "#comments" }, { include: "#class-implements" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.enum.begin.bracket.curly.php" } }, contentName: "meta.enum.body.php", end: "(?=}|\\?>)", patterns: [{ captures: { 1: { name: "storage.modifier.php" }, 2: { name: "constant.enum.php" } }, match: "(?i)\\b(case)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" }, { include: "#class-constant" }, { include: "$self" }] }] }, { begin: `(?ix)
|
|
17
|
+
(?:
|
|
18
|
+
\\b((?:(?:final|abstract|readonly)\\s+)*)(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
19
|
+
|\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*(?:(readonly)\\s+)?\\b(class)\\b
|
|
20
|
+
)`, beginCaptures: { 1: { patterns: [{ match: "final|abstract", name: "storage.modifier.${0:/downcase}.php" }, { match: "readonly", name: "storage.modifier.php" }] }, 2: { name: "storage.type.class.php" }, 3: { name: "entity.name.type.class.php" }, 4: { name: "keyword.other.new.php" }, 5: { patterns: [{ include: "#attribute" }] }, 6: { name: "storage.modifier.php" }, 7: { name: "storage.type.class.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.class.end.bracket.curly.php" } }, name: "meta.class.php", patterns: [{ begin: "(?<=class)\\s*(\\()", beginCaptures: { 1: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, name: "meta.function-call.php", patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { include: "#comments" }, { include: "#class-extends" }, { include: "#class-implements" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.class.begin.bracket.curly.php" } }, contentName: "meta.class.body.php", end: "(?=}|\\?>)", patterns: [{ include: "#class-constant" }, { include: "$self" }] }] }, { include: "#match_statement" }, { include: "#switch_statement" }, { captures: { 1: { name: "keyword.control.yield-from.php" } }, match: "\\s*\\b(yield\\s+from)\\b" }, { captures: { 1: { name: "keyword.control.${1:/downcase}.php" } }, match: `(?x)
|
|
21
|
+
\\b(
|
|
22
|
+
break|case|continue|declare|default|die|do|
|
|
23
|
+
else(if)?|end(declare|for(each)?|if|switch|while)|exit|
|
|
24
|
+
for(each)?|if|return|switch|use|while|yield
|
|
25
|
+
)\\b` }, { begin: "(?i)\\b((?:require|include)(?:_once)?)(\\s+|(?=\\())", beginCaptures: { 1: { name: "keyword.control.import.include.php" } }, end: "(?=\\s|;|$|\\?>)", name: "meta.include.php", patterns: [{ include: "$self" }] }, { begin: "\\b(catch)\\s*(\\()", beginCaptures: { 1: { name: "keyword.control.exception.catch.php" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.php" } }, name: "meta.catch.php", patterns: [{ captures: { 1: { patterns: [{ match: "\\|", name: "punctuation.separator.delimiter.php" }, { begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])", end: `(?xi)
|
|
26
|
+
( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )
|
|
27
|
+
(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])`, endCaptures: { 1: { name: "support.class.exception.php" } }, patterns: [{ include: "#namespace" }] }] }, 2: { name: "variable.other.php" }, 3: { name: "punctuation.definition.variable.php" } }, match: `(?xi)
|
|
28
|
+
([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ (?: \\s*\\|\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)*)
|
|
29
|
+
\\s*
|
|
30
|
+
((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?` }] }, { match: "\\b(catch|try|throw|exception|finally)\\b", name: "keyword.control.exception.php" }, { begin: "(?i)\\b(function)\\s*(?=&?\\s*\\()", beginCaptures: { 1: { name: "storage.type.function.php" } }, end: "(?=\\s*{)", name: "meta.function.closure.php", patterns: [{ include: "#comments" }, { begin: "(&)?\\s*(\\()", beginCaptures: { 1: { name: "storage.modifier.reference.php" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, contentName: "meta.function.parameters.php", end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.php" } }, patterns: [{ include: "#function-parameters" }] }, { begin: "(?i)(use)\\s*(\\()", beginCaptures: { 1: { name: "keyword.other.function.use.php" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.php" } }, name: "meta.function.closure.use.php", patterns: [{ match: ",", name: "punctuation.separator.delimiter.php" }, { captures: { 1: { name: "variable.other.php" }, 2: { name: "storage.modifier.reference.php" }, 3: { name: "punctuation.definition.variable.php" } }, match: "(?i)((?:(&)\\s*)?(\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(?=,|\\))" }] }, { captures: { 1: { name: "keyword.operator.return-value.php" }, 2: { patterns: [{ include: "#php-types" }] } }, match: `(?xi)
|
|
31
|
+
(:)\\s*
|
|
32
|
+
(
|
|
33
|
+
|
|
34
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
35
|
+
|
|
36
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
37
|
+
(?: \\s*[|&]\\s*
|
|
38
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
39
|
+
)+
|
|
40
|
+
)
|
|
41
|
+
(?=\\s*(?:{|/[/*]|\\#|$))` }] }, { begin: "(?i)\\b(fn)\\s*(?=&?\\s*\\()", beginCaptures: { 1: { name: "storage.type.function.php" } }, end: "=>", endCaptures: { 0: { name: "punctuation.definition.arrow.php" } }, name: "meta.function.closure.php", patterns: [{ begin: "(?:(&)\\s*)?(\\()", beginCaptures: { 1: { name: "storage.modifier.reference.php" }, 2: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, contentName: "meta.function.parameters.php", end: "\\)", endCaptures: { 0: { name: "punctuation.definition.parameters.end.bracket.round.php" } }, patterns: [{ include: "#function-parameters" }] }, { captures: { 1: { name: "keyword.operator.return-value.php" }, 2: { patterns: [{ include: "#php-types" }] } }, match: `(?xi)
|
|
42
|
+
(:)\\s*
|
|
43
|
+
(
|
|
44
|
+
|
|
45
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
46
|
+
|
|
47
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
48
|
+
(?: \\s*[|&]\\s*
|
|
49
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
50
|
+
)+
|
|
51
|
+
)
|
|
52
|
+
(?=\\s*(?:=>|/[/*]|\\#|$))` }] }, { begin: `(?x)
|
|
53
|
+
((?:(?:final|abstract|public|private|protected)\\s+)*)
|
|
54
|
+
(function)\\s+(__construct)
|
|
55
|
+
\\s*(\\()`, beginCaptures: { 1: { patterns: [{ match: "final|abstract|public|private|protected", name: "storage.modifier.php" }] }, 2: { name: "storage.type.function.php" }, 3: { name: "support.function.constructor.php" }, 4: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, contentName: "meta.function.parameters.php", end: `(?xi)
|
|
56
|
+
(\\)) \\s* ( : \\s*
|
|
57
|
+
(?:\\?\\s*)? (?!\\s) [a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s\\|&()]+ (?<!\\s)
|
|
58
|
+
)?
|
|
59
|
+
(?=\\s*(?:{|/[/*]|\\#|$|;))`, endCaptures: { 1: { name: "punctuation.definition.parameters.end.bracket.round.php" }, 2: { name: "invalid.illegal.return-type.php" } }, name: "meta.function.php", patterns: [{ include: "#comments" }, { match: ",", name: "punctuation.separator.delimiter.php" }, { begin: `(?xi)
|
|
60
|
+
((?:(?:public|private|protected|readonly)(?:\\s+|(?=\\?)))++)
|
|
61
|
+
(?: (
|
|
62
|
+
|
|
63
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
64
|
+
|
|
65
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
66
|
+
(?: \\s*[|&]\\s*
|
|
67
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
68
|
+
)+
|
|
69
|
+
) \\s+ )?
|
|
70
|
+
((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)`, beginCaptures: { 1: { patterns: [{ match: "public|private|protected|readonly", name: "storage.modifier.php" }] }, 2: { patterns: [{ include: "#php-types" }] }, 3: { name: "variable.other.php" }, 4: { name: "storage.modifier.reference.php" }, 5: { name: "punctuation.definition.variable.php" } }, end: "(?=\\s*(?:,|\\)|/[/*]|\\#))", name: "meta.function.parameter.promoted-property.php", patterns: [{ begin: "=", beginCaptures: { 0: { name: "keyword.operator.assignment.php" } }, end: "(?=\\s*(?:,|\\)|/[/*]|\\#))", patterns: [{ include: "#parameter-default-types" }] }] }, { include: "#function-parameters" }] }, { begin: `(?x)
|
|
71
|
+
((?:(?:final|abstract|public|private|protected|static)\\s+)*)
|
|
72
|
+
(function)\\s+
|
|
73
|
+
(?i:
|
|
74
|
+
(__(?:call|construct|debugInfo|destruct|get|set|isset|unset|toString|
|
|
75
|
+
clone|set_state|sleep|wakeup|autoload|invoke|callStatic|serialize|unserialize))
|
|
76
|
+
|(?:(&)?\\s*([a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*))
|
|
77
|
+
)
|
|
78
|
+
\\s*(\\()`, beginCaptures: { 1: { patterns: [{ match: "final|abstract|public|private|protected|static", name: "storage.modifier.php" }] }, 2: { name: "storage.type.function.php" }, 3: { name: "support.function.magic.php" }, 4: { name: "storage.modifier.reference.php" }, 5: { name: "entity.name.function.php" }, 6: { name: "punctuation.definition.parameters.begin.bracket.round.php" } }, contentName: "meta.function.parameters.php", end: `(?xi)
|
|
79
|
+
(\\)) (?: \\s* (:) \\s* (
|
|
80
|
+
|
|
81
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
82
|
+
|
|
83
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
84
|
+
(?: \\s*[|&]\\s*
|
|
85
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
86
|
+
)+
|
|
87
|
+
) )?
|
|
88
|
+
(?=\\s*(?:{|/[/*]|\\#|$|;))`, endCaptures: { 1: { name: "punctuation.definition.parameters.end.bracket.round.php" }, 2: { name: "keyword.operator.return-value.php" }, 3: { patterns: [{ match: "\\b(static)\\b", name: "storage.type.php" }, { match: "\\b(never)\\b", name: "keyword.other.type.never.php" }, { include: "#php-types" }] } }, name: "meta.function.php", patterns: [{ include: "#function-parameters" }] }, { captures: { 1: { patterns: [{ match: "public|private|protected|static|readonly", name: "storage.modifier.php" }] }, 2: { patterns: [{ include: "#php-types" }] }, 3: { name: "variable.other.php" }, 4: { name: "punctuation.definition.variable.php" } }, match: `(?xi)
|
|
89
|
+
((?:(?:public|private|protected|static|readonly)(?:\\s+|(?=\\?)))++)
|
|
90
|
+
(
|
|
91
|
+
|
|
92
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
93
|
+
|
|
94
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
95
|
+
(?: \\s*[|&]\\s*
|
|
96
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
97
|
+
)+
|
|
98
|
+
)?
|
|
99
|
+
\\s+ ((\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)` }, { include: "#invoke-call" }, { include: "#scope-resolution" }, { include: "#variables" }, { include: "#strings" }, { captures: { 1: { name: "support.function.construct.php" }, 2: { name: "punctuation.definition.array.begin.bracket.round.php" }, 3: { name: "punctuation.definition.array.end.bracket.round.php" } }, match: "(array)(\\()(\\))", name: "meta.array.empty.php" }, { begin: "(array)\\s*(\\()", beginCaptures: { 1: { name: "support.function.construct.php" }, 2: { name: "punctuation.definition.array.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.array.end.bracket.round.php" } }, name: "meta.array.php", patterns: [{ include: "$self" }] }, { captures: { 1: { name: "punctuation.definition.storage-type.begin.bracket.round.php" }, 2: { name: "storage.type.php" }, 3: { name: "punctuation.definition.storage-type.end.bracket.round.php" } }, match: "(?i)(\\()\\s*(array|real|double|float|int(?:eger)?|bool(?:ean)?|string|object|binary|unset)\\s*(\\))" }, { match: "(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|var|function|interface|trait|parent|self|object|mixed)\\b", name: "storage.type.php" }, { match: "(?i)\\b(global|abstract|const|final|private|protected|public|static)\\b", name: "storage.modifier.php" }, { include: "#object" }, { match: ";", name: "punctuation.terminator.expression.php" }, { match: ":", name: "punctuation.terminator.statement.php" }, { include: "#heredoc" }, { include: "#numbers" }, { match: "(?i)\\bclone\\b", name: "keyword.other.clone.php" }, { match: "\\.\\.\\.", name: "keyword.operator.spread.php" }, { match: "\\.=?", name: "keyword.operator.string.php" }, { match: "=>", name: "keyword.operator.key.php" }, { captures: { 1: { name: "keyword.operator.assignment.php" }, 2: { name: "storage.modifier.reference.php" }, 3: { name: "storage.modifier.reference.php" } }, match: "(?i)(\\=)(&)|(&)(?=[$a-z_])" }, { match: "@", name: "keyword.operator.error-control.php" }, { match: "===|==|!==|!=|<>", name: "keyword.operator.comparison.php" }, { match: "=|\\+=|\\-=|\\*\\*?=|/=|%=|&=|\\|=|\\^=|<<=|>>=|\\?\\?=", name: "keyword.operator.assignment.php" }, { match: "<=>|<=|>=|<|>", name: "keyword.operator.comparison.php" }, { match: "\\-\\-|\\+\\+", name: "keyword.operator.increment-decrement.php" }, { match: "\\-|\\+|\\*\\*?|/|%", name: "keyword.operator.arithmetic.php" }, { match: "(?i)(!|&&|\\|\\|)|\\b(and|or|xor|as)\\b", name: "keyword.operator.logical.php" }, { include: "#function-call" }, { match: "<<|>>|~|\\^|&|\\|", name: "keyword.operator.bitwise.php" }, { begin: "(?i)\\b(instanceof)\\s+(?=[\\\\$a-z_])", beginCaptures: { 1: { name: "keyword.operator.type.php" } }, end: "(?i)(?=[^\\\\$a-z0-9_\\x{7f}-\\x{10ffff}])", patterns: [{ include: "#class-name" }, { include: "#variable-name" }] }, { include: "#instantiation" }, { captures: { 1: { name: "keyword.control.goto.php" }, 2: { name: "support.other.php" } }, match: "(?i)(goto)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" }, { captures: { 1: { name: "entity.name.goto-label.php" } }, match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*(?<!default))\\s*:(?!:)" }, { include: "#string-backtick" }, { include: "#ternary_shorthand" }, { include: "#null_coalescing" }, { include: "#ternary_expression" }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.begin.bracket.curly.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.end.bracket.curly.php" } }, patterns: [{ include: "$self" }] }, { begin: "\\[", beginCaptures: { 0: { name: "punctuation.section.array.begin.php" } }, end: "\\]|(?=\\?>)", endCaptures: { 0: { name: "punctuation.section.array.end.php" } }, patterns: [{ include: "$self" }] }, { begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.end.bracket.round.php" } }, patterns: [{ include: "$self" }] }, { include: "#constants" }, { match: ",", name: "punctuation.separator.delimiter.php" }], repository: { attribute: { begin: "\\#\\[", end: "\\]", name: "meta.attribute.php", patterns: [{ match: ",", name: "punctuation.separator.delimiter.php" }, { begin: "([a-zA-Z0-9_\\x{7f}-\\x{10ffff}\\\\]+)\\s*(\\()", beginCaptures: { 1: { patterns: [{ include: "#attribute-name" }] }, 2: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { include: "#attribute-name" }] }, "attribute-name": { patterns: [{ begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)", end: `(?xi)
|
|
100
|
+
( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?
|
|
101
|
+
(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])`, endCaptures: { 1: { name: "support.attribute.php" } }, patterns: [{ include: "#namespace" }] }, { captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?xi)
|
|
102
|
+
(\\\\)?\\b(Attribute|SensitiveParameter|AllowDynamicProperties|ReturnTypeWillChange)\\b`, name: "support.attribute.builtin.php" }, { begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])", end: `(?xi)
|
|
103
|
+
( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?
|
|
104
|
+
(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])`, endCaptures: { 1: { name: "support.attribute.php" } }, patterns: [{ include: "#namespace" }] }] }, "class-builtin": { patterns: [{ captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?xi)
|
|
105
|
+
(\\\\)?\\b
|
|
106
|
+
(Attribute|(APC|Append)Iterator|Array(Access|Iterator|Object)
|
|
107
|
+
|Bad(Function|Method)CallException
|
|
108
|
+
|(Caching|CallbackFilter)Iterator|Collator|Collectable|Cond|Countable|CURLFile
|
|
109
|
+
|Date(Interval|Period|Time(Interface|Immutable|Zone)?)?|Directory(Iterator)?|DomainException
|
|
110
|
+
|DOM(Attr|CdataSection|CharacterData|Comment|Document(Fragment)?|Element|EntityReference
|
|
111
|
+
|Implementation|NamedNodeMap|Node(list)?|ProcessingInstruction|Text|XPath)
|
|
112
|
+
|(Error)?Exception|EmptyIterator
|
|
113
|
+
|finfo
|
|
114
|
+
|Ev(Check|Child|Embed|Fork|Idle|Io|Loop|Periodic|Prepare|Signal|Stat|Timer|Watcher)?
|
|
115
|
+
|Event(Base|Buffer(Event)?|SslContext|Http(Request|Connection)?|Config|DnsBase|Util|Listener)?
|
|
116
|
+
|FANNConnection|(Filter|Filesystem)Iterator
|
|
117
|
+
|Gender\\\\Gender|GlobIterator|Gmagick(Draw|Pixel)?
|
|
118
|
+
|Haru(Annotation|Destination|Doc|Encoder|Font|Image|Outline|Page)
|
|
119
|
+
|Http((Inflate|Deflate)?Stream|Message|Request(Pool)?|Response|QueryString)
|
|
120
|
+
|HRTime\\\\(PerformanceCounter|StopWatch)
|
|
121
|
+
|Intl(Calendar|((CodePoint|RuleBased)?Break|Parts)?Iterator|DateFormatter|TimeZone)
|
|
122
|
+
|Imagick(Draw|Pixel(Iterator)?)?
|
|
123
|
+
|InfiniteIterator|InvalidArgumentException|Iterator(Aggregate|Iterator)?
|
|
124
|
+
|JsonSerializable
|
|
125
|
+
|KTaglib_(MPEG_(File|AudioProperties)|Tag|ID3v2_(Tag|(AttachedPicture)?Frame))
|
|
126
|
+
|Lapack|(Length|Locale|Logic)Exception|LimitIterator|Lua(Closure)?
|
|
127
|
+
|Mongo(BinData|Client|Code|Collection|CommandCursor|Cursor(Exception)?|Date|DB(Ref)?|DeleteBatch
|
|
128
|
+
|Grid(FS(Cursor|File)?)|Id|InsertBatch|Int(32|64)|Log|Pool|Regex|ResultException|Timestamp
|
|
129
|
+
|UpdateBatch|Write(Batch|ConcernException))?
|
|
130
|
+
|Memcache(d)?|MessageFormatter|MultipleIterator|Mutex
|
|
131
|
+
|mysqli(_(driver|stmt|warning|result))?
|
|
132
|
+
|MysqlndUh(Connection|PreparedStatement)
|
|
133
|
+
|NoRewindIterator|Normalizer|NumberFormatter
|
|
134
|
+
|OCI-(Collection|Lob)|OuterIterator|(OutOf(Bounds|Range)|Overflow)Exception
|
|
135
|
+
|ParentIterator|PDO(Statement)?|Phar(Data|FileInfo)?|php_user_filter|Pool
|
|
136
|
+
|QuickHash(Int(Set|StringHash)|StringIntHash)
|
|
137
|
+
|Recursive(Array|Caching|Directory|Fallback|Filter|Iterator|Regex|Tree)?Iterator
|
|
138
|
+
|Reflection(Class|Function(Abstract)?|Method|Object|Parameter|Property|(Zend)?Extension)?
|
|
139
|
+
|RangeException|Reflector|RegexIterator|ResourceBundle|RuntimeException|RRD(Creator|Graph|Updater)
|
|
140
|
+
|SAM(Connection|Message)|SCA(_(SoapProxy|LocalProxy))?
|
|
141
|
+
|SDO_(DAS_(ChangeSummary|Data(Factory|Object)|Relational|Setting|XML(_Document)?)
|
|
142
|
+
|Data(Factory|Object)|Exception|List|Model_(Property|ReflectionDataObject|Type)|Sequence)
|
|
143
|
+
|SeekableIterator|Serializable|SessionHandler(Interface)?|SimpleXML(Iterator|Element)|SNMP
|
|
144
|
+
|Soap(Client|Fault|Header|Param|Server|Var)
|
|
145
|
+
|SphinxClient|Spoofchecker
|
|
146
|
+
|Spl(DoublyLinkedList|Enum|File(Info|Object)|FixedArray|(Max|Min)?Heap|Observer|ObjectStorage
|
|
147
|
+
|(Priority)?Queue|Stack|Subject|Type|TempFileObject)
|
|
148
|
+
|SQLite(3(Result|Stmt)?|Database|Result|Unbuffered)
|
|
149
|
+
|stdClass|streamWrapper|SVM(Model)?|Swish(Result(s)?|Search)?|Sync(Event|Mutex|ReaderWriter|Semaphore)
|
|
150
|
+
|Thread(ed)?|tidy(Node)?|TokyoTyrant(Table|Iterator|Query)?|Transliterator|Traversable
|
|
151
|
+
|UConverter|(Underflow|UnexpectedValue)Exception
|
|
152
|
+
|V8Js(Exception)?|Varnish(Admin|Log|Stat)
|
|
153
|
+
|Worker|Weak(Map|Ref)
|
|
154
|
+
|XML(Diff\\\\(Base|DOM|File|Memory)|Reader|Writer)|XsltProcessor
|
|
155
|
+
|Yaf_(Route_(Interface|Map|Regex|Rewrite|Simple|Supervar)
|
|
156
|
+
|Action_Abstract|Application|Config_(Simple|Ini|Abstract)|Controller_Abstract
|
|
157
|
+
|Dispatcher|Exception|Loader|Plugin_Abstract|Registry|Request_(Abstract|Simple|Http)
|
|
158
|
+
|Response_Abstract|Router|Session|View_(Simple|Interface))
|
|
159
|
+
|Yar_(Client(_Exception)?|Concurrent_Client|Server(_Exception)?)
|
|
160
|
+
|ZipArchive|ZMQ(Context|Device|Poll|Socket)?)
|
|
161
|
+
\\b`, name: "support.class.builtin.php" }] }, "class-constant": { patterns: [{ captures: { 1: { name: "storage.modifier.php" }, 2: { name: "constant.other.php" } }, match: "(?i)\\b(const)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)" }] }, "class-extends": { patterns: [{ begin: "(?i)(extends)\\s+", beginCaptures: { 1: { name: "storage.modifier.extends.php" } }, end: "(?i)(?=[^A-Za-z0-9_\\x{7f}-\\x{10ffff}\\\\])", patterns: [{ include: "#comments" }, { include: "#inheritance-single" }] }] }, "class-implements": { patterns: [{ begin: "(?i)(implements)\\s+", beginCaptures: { 1: { name: "storage.modifier.implements.php" } }, end: "(?i)(?={)", patterns: [{ include: "#comments" }, { match: ",", name: "punctuation.separator.classes.php" }, { include: "#inheritance-single" }] }] }, "class-name": { patterns: [{ begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)", end: `(?xi)
|
|
162
|
+
( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?
|
|
163
|
+
(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])`, endCaptures: { 1: { name: "support.class.php" } }, patterns: [{ include: "#namespace" }] }, { include: "#class-builtin" }, { begin: "(?i)(?=[\\\\a-z_\\x{7f}-\\x{10ffff}])", end: `(?xi)
|
|
164
|
+
( [a-z_\\x{7f}-\\x{10ffff}] [a-z0-9_\\x{7f}-\\x{10ffff}]* )?
|
|
165
|
+
(?![a-z0-9_\\x{7f}-\\x{10ffff}\\\\])`, endCaptures: { 1: { name: "support.class.php" } }, patterns: [{ include: "#namespace" }] }] }, comments: { patterns: [{ begin: "/\\*\\*(?=\\s)", beginCaptures: { 0: { name: "punctuation.definition.comment.php" } }, end: "\\*/", endCaptures: { 0: { name: "punctuation.definition.comment.php" } }, name: "comment.block.documentation.phpdoc.php", patterns: [{ include: "#php_doc" }] }, { begin: "/\\*", captures: { 0: { name: "punctuation.definition.comment.php" } }, end: "\\*/", name: "comment.block.php" }, { begin: "(^\\s+)?(?=//)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.php" } }, end: "(?!\\G)", patterns: [{ begin: "//", beginCaptures: { 0: { name: "punctuation.definition.comment.php" } }, end: "\\n|(?=\\?>)", name: "comment.line.double-slash.php" }] }, { begin: "(^\\s+)?(?=#)(?!#\\[)", beginCaptures: { 1: { name: "punctuation.whitespace.comment.leading.php" } }, end: "(?!\\G)", patterns: [{ begin: "#", beginCaptures: { 0: { name: "punctuation.definition.comment.php" } }, end: "\\n|(?=\\?>)", name: "comment.line.number-sign.php" }] }] }, constants: { patterns: [{ match: "(?i)\\b(TRUE|FALSE|NULL|__(FILE|DIR|FUNCTION|CLASS|METHOD|LINE|NAMESPACE)__|ON|OFF|YES|NO|NL|BR|TAB)\\b", name: "constant.language.php" }, { captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?x)
|
|
166
|
+
(\\\\)?\\b
|
|
167
|
+
(DEFAULT_INCLUDE_PATH
|
|
168
|
+
|EAR_(INSTALL|EXTENSION)_DIR
|
|
169
|
+
|E_(ALL|COMPILE_(ERROR|WARNING)|CORE_(ERROR|WARNING)|DEPRECATED|ERROR|NOTICE
|
|
170
|
+
|PARSE|RECOVERABLE_ERROR|STRICT|USER_(DEPRECATED|ERROR|NOTICE|WARNING)|WARNING)
|
|
171
|
+
|PHP_(ROUND_HALF_(DOWN|EVEN|ODD|UP)|(MAJOR|MINOR|RELEASE)_VERSION|MAXPATHLEN
|
|
172
|
+
|BINDIR|SHLIB_SUFFIX|SYSCONFDIR|SAPI|CONFIG_FILE_(PATH|SCAN_DIR)
|
|
173
|
+
|INT_(MAX|SIZE)|ZTS|OS|OUTPUT_HANDLER_(START|CONT|END)|DEBUG|DATADIR
|
|
174
|
+
|URL_(SCHEME|HOST|USER|PORT|PASS|PATH|QUERY|FRAGMENT)|PREFIX
|
|
175
|
+
|EXTRA_VERSION|EXTENSION_DIR|EOL|VERSION(_ID)?
|
|
176
|
+
|WINDOWS_(NT_(SERVER|DOMAIN_CONTROLLER|WORKSTATION)
|
|
177
|
+
|VERSION_(MAJOR|MINOR)|BUILD|SUITEMASK|SP_(MAJOR|MINOR)
|
|
178
|
+
|PRODUCTTYPE|PLATFORM)
|
|
179
|
+
|LIBDIR|LOCALSTATEDIR)
|
|
180
|
+
|STD(ERR|IN|OUT)|ZEND_(DEBUG_BUILD|THREAD_SAFE))
|
|
181
|
+
\\b`, name: "support.constant.core.php" }, { captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?x)
|
|
182
|
+
(\\\\)?\\b
|
|
183
|
+
(__COMPILER_HALT_OFFSET__|AB(MON_(1|2|3|4|5|6|7|8|9|10|11|12)|DAY[1-7])
|
|
184
|
+
|AM_STR|ASSERT_(ACTIVE|BAIL|CALLBACK_QUIET_EVAL|WARNING)|ALT_DIGITS
|
|
185
|
+
|CASE_(UPPER|LOWER)|CHAR_MAX|CONNECTION_(ABORTED|NORMAL|TIMEOUT)|CODESET|COUNT_(NORMAL|RECURSIVE)
|
|
186
|
+
|CREDITS_(ALL|DOCS|FULLPAGE|GENERAL|GROUP|MODULES|QA|SAPI)
|
|
187
|
+
|CRYPT_(BLOWFISH|EXT_DES|MD5|SHA(256|512)|SALT_LENGTH|STD_DES)|CURRENCY_SYMBOL
|
|
188
|
+
|D_(T_)?FMT|DATE_(ATOM|COOKIE|ISO8601|RFC(822|850|1036|1123|2822|3339)|RSS|W3C)
|
|
189
|
+
|DAY_[1-7]|DECIMAL_POINT|DIRECTORY_SEPARATOR
|
|
190
|
+
|ENT_(COMPAT|IGNORE|(NO)?QUOTES)|EXTR_(IF_EXISTS|OVERWRITE|PREFIX_(ALL|IF_EXISTS|INVALID|SAME)|REFS|SKIP)
|
|
191
|
+
|ERA(_(D_(T_)?FMT)|T_FMT|YEAR)?|FRAC_DIGITS|GROUPING|HASH_HMAC|HTML_(ENTITIES|SPECIALCHARS)
|
|
192
|
+
|INF|INFO_(ALL|CREDITS|CONFIGURATION|ENVIRONMENT|GENERAL|LICENSEMODULES|VARIABLES)
|
|
193
|
+
|INI_(ALL|CANNER_(NORMAL|RAW)|PERDIR|SYSTEM|USER)|INT_(CURR_SYMBOL|FRAC_DIGITS)
|
|
194
|
+
|LC_(ALL|COLLATE|CTYPE|MESSAGES|MONETARY|NUMERIC|TIME)|LOCK_(EX|NB|SH|UN)
|
|
195
|
+
|LOG_(ALERT|AUTH(PRIV)?|CRIT|CRON|CONS|DAEMON|DEBUG|EMERG|ERR|INFO|LOCAL[1-7]|LPR|KERN|MAIL
|
|
196
|
+
|NEWS|NODELAY|NOTICE|NOWAIT|ODELAY|PID|PERROR|WARNING|SYSLOG|UCP|USER)
|
|
197
|
+
|M_(1_PI|SQRT(1_2|2|3|PI)|2_(SQRT)?PI|PI(_(2|4))?|E(ULER)?|LN(10|2|PI)|LOG(10|2)E)
|
|
198
|
+
|MON_(1|2|3|4|5|6|7|8|9|10|11|12|DECIMAL_POINT|GROUPING|THOUSANDS_SEP)
|
|
199
|
+
|N_(CS_PRECEDES|SEP_BY_SPACE|SIGN_POSN)|NAN|NEGATIVE_SIGN|NO(EXPR|STR)
|
|
200
|
+
|P_(CS_PRECEDES|SEP_BY_SPACE|SIGN_POSN)|PM_STR|POSITIVE_SIGN
|
|
201
|
+
|PATH(_SEPARATOR|INFO_(EXTENSION|(BASE|DIR|FILE)NAME))|RADIXCHAR
|
|
202
|
+
|SEEK_(CUR|END|SET)|SORT_(ASC|DESC|LOCALE_STRING|REGULAR|STRING)|STR_PAD_(BOTH|LEFT|RIGHT)
|
|
203
|
+
|T_FMT(_AMPM)?|THOUSEP|THOUSANDS_SEP
|
|
204
|
+
|UPLOAD_ERR_(CANT_WRITE|EXTENSION|(FORM|INI)_SIZE|NO_(FILE|TMP_DIR)|OK|PARTIAL)
|
|
205
|
+
|YES(EXPR|STR))
|
|
206
|
+
\\b`, name: "support.constant.std.php" }, { captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?x)
|
|
207
|
+
(\\\\)?\\b
|
|
208
|
+
(GLOB_(MARK|BRACE|NO(SORT|CHECK|ESCAPE)|ONLYDIR|ERR|AVAILABLE_FLAGS)
|
|
209
|
+
|XML_(SAX_IMPL|(DTD|DOCUMENT(_(FRAG|TYPE))?|HTML_DOCUMENT|NOTATION|NAMESPACE_DECL|PI|COMMENT|DATA_SECTION|TEXT)_NODE
|
|
210
|
+
|OPTION_(SKIP_(TAGSTART|WHITE)|CASE_FOLDING|TARGET_ENCODING)
|
|
211
|
+
|ERROR_((BAD_CHAR|(ATTRIBUTE_EXTERNAL|BINARY|PARAM|RECURSIVE)_ENTITY)_REF|MISPLACED_XML_PI|SYNTAX|NONE
|
|
212
|
+
|NO_(MEMORY|ELEMENTS)|TAG_MISMATCH|INCORRECT_ENCODING|INVALID_TOKEN|DUPLICATE_ATTRIBUTE
|
|
213
|
+
|UNCLOSED_(CDATA_SECTION|TOKEN)|UNDEFINED_ENTITY|UNKNOWN_ENCODING|JUNK_AFTER_DOC_ELEMENT
|
|
214
|
+
|PARTIAL_CHAR|EXTERNAL_ENTITY_HANDLING|ASYNC_ENTITY)
|
|
215
|
+
|ENTITY_(((REF|DECL)_)?NODE)|ELEMENT(_DECL)?_NODE|LOCAL_NAMESPACE|ATTRIBUTE_(NMTOKEN(S)?|NOTATION|NODE)
|
|
216
|
+
|CDATA|ID(REF(S)?)?|DECL_NODE|ENTITY|ENUMERATION)
|
|
217
|
+
|MHASH_(RIPEMD(128|160|256|320)|GOST|MD(2|4|5)|SHA(1|224|256|384|512)|SNEFRU256|HAVAL(128|160|192|224|256)
|
|
218
|
+
|CRC23(B)?|TIGER(128|160)?|WHIRLPOOL|ADLER32)
|
|
219
|
+
|MYSQL_(BOTH|NUM|CLIENT_(SSL|COMPRESS|IGNORE_SPACE|INTERACTIVE|ASSOC))
|
|
220
|
+
|MYSQLI_(REPORT_(STRICT|INDEX|OFF|ERROR|ALL)|REFRESH_(GRANT|MASTER|BACKUP_LOG|STATUS|SLAVE|HOSTS|THREADS|TABLES|LOG)
|
|
221
|
+
|READ_DEFAULT_(FILE|GROUP)|(GROUP|MULTIPLE_KEY|BINARY|BLOB)_FLAG|BOTH
|
|
222
|
+
|STMT_ATTR_(CURSOR_TYPE|UPDATE_MAX_LENGTH|PREFETCH_ROWS)|STORE_RESULT
|
|
223
|
+
|SERVER_QUERY_(NO_((GOOD_)?INDEX_USED)|WAS_SLOW)|SET_(CHARSET_NAME|FLAG)
|
|
224
|
+
|NO_(DEFAULT_VALUE_FLAG|DATA)|NOT_NULL_FLAG|NUM(_FLAG)?
|
|
225
|
+
|CURSOR_TYPE_(READ_ONLY|SCROLLABLE|NO_CURSOR|FOR_UPDATE)
|
|
226
|
+
|CLIENT_(SSL|NO_SCHEMA|COMPRESS|IGNORE_SPACE|INTERACTIVE|FOUND_ROWS)
|
|
227
|
+
|TYPE_(GEOMETRY|((MEDIUM|LONG|TINY)_)?BLOB|BIT|SHORT|STRING|SET|YEAR|NULL|NEWDECIMAL|NEWDATE|CHAR
|
|
228
|
+
|TIME(STAMP)?|TINY|INT24|INTERVAL|DOUBLE|DECIMAL|DATE(TIME)?|ENUM|VAR_STRING|FLOAT|LONG(LONG)?)
|
|
229
|
+
|TIME_STAMP_FLAG|INIT_COMMAND|ZEROFILL_FLAG|ON_UPDATE_NOW_FLAG
|
|
230
|
+
|OPT_(NET_((CMD|READ)_BUFFER_SIZE)|CONNECT_TIMEOUT|INT_AND_FLOAT_NATIVE|LOCAL_INFILE)
|
|
231
|
+
|DEBUG_TRACE_ENABLED|DATA_TRUNCATED|USE_RESULT|(ENUM|(PART|PRI|UNIQUE)_KEY|UNSIGNED)_FLAG
|
|
232
|
+
|ASSOC|ASYNC|AUTO_INCREMENT_FLAG)
|
|
233
|
+
|MCRYPT_(RC(2|6)|RIJNDAEL_(128|192|256)|RAND|GOST|XTEA|MODE_(STREAM|NOFB|CBC|CFB|OFB|ECB)|MARS
|
|
234
|
+
|BLOWFISH(_COMPAT)?|SERPENT|SKIPJACK|SAFER(64|128|PLUS)|CRYPT|CAST_(128|256)|TRIPLEDES|THREEWAY
|
|
235
|
+
|TWOFISH|IDEA|(3)?DES|DECRYPT|DEV_(U)?RANDOM|PANAMA|ENCRYPT|ENIGNA|WAKE|LOKI97|ARCFOUR(_IV)?)
|
|
236
|
+
|STREAM_(REPORT_ERRORS|MUST_SEEK|MKDIR_RECURSIVE|BUFFER_(NONE|FULL|LINE)|SHUT_(RD)?WR
|
|
237
|
+
|SOCK_(RDM|RAW|STREAM|SEQPACKET|DGRAM)|SERVER_(BIND|LISTEN)
|
|
238
|
+
|NOTIFY_(REDIRECTED|RESOLVE|MIME_TYPE_IS|SEVERITY_(INFO|ERR|WARN)|COMPLETED|CONNECT|PROGRESS
|
|
239
|
+
|FILE_SIZE_IS|FAILURE|AUTH_(REQUIRED|RESULT))
|
|
240
|
+
|CRYPTO_METHOD_((SSLv2(3)?|SSLv3|TLS)_(CLIENT|SERVER))|CLIENT_((ASYNC_)?CONNECT|PERSISTENT)
|
|
241
|
+
|CAST_(AS_STREAM|FOR_SELECT)|(IGNORE|IS)_URL|IPPROTO_(RAW|TCP|ICMP|IP|UDP)|OOB
|
|
242
|
+
|OPTION_(READ_(BUFFER|TIMEOUT)|BLOCKING|WRITE_BUFFER)|URL_STAT_(LINK|QUIET)|USE_PATH
|
|
243
|
+
|PEEK|PF_(INET(6)?|UNIX)|ENFORCE_SAFE_MODE|FILTER_(ALL|READ|WRITE))
|
|
244
|
+
|SUNFUNCS_RET_(DOUBLE|STRING|TIMESTAMP)
|
|
245
|
+
|SQLITE_(READONLY|ROW|MISMATCH|MISUSE|BOTH|BUSY|SCHEMA|NOMEM|NOTFOUND|NOTADB|NOLFS|NUM|CORRUPT
|
|
246
|
+
|CONSTRAINT|CANTOPEN|TOOBIG|INTERRUPT|INTERNAL|IOERR|OK|DONE|PROTOCOL|PERM|ERROR|EMPTY
|
|
247
|
+
|FORMAT|FULL|LOCKED|ABORT|ASSOC|AUTH)
|
|
248
|
+
|SQLITE3_(BOTH|BLOB|NUM|NULL|TEXT|INTEGER|OPEN_(READ(ONLY|WRITE)|CREATE)|FLOAT_ASSOC)
|
|
249
|
+
|CURL(M_(BAD_((EASY)?HANDLE)|CALL_MULTI_PERFORM|INTERNAL_ERROR|OUT_OF_MEMORY|OK)
|
|
250
|
+
|MSG_DONE|SSH_AUTH_(HOST|NONE|DEFAULT|PUBLICKEY|PASSWORD|KEYBOARD)
|
|
251
|
+
|CLOSEPOLICY_(SLOWEST|CALLBACK|OLDEST|LEAST_(RECENTLY_USED|TRAFFIC)
|
|
252
|
+
|INFO_(REDIRECT_(COUNT|TIME)|REQUEST_SIZE|SSL_VERIFYRESULT|STARTTRANSFER_TIME
|
|
253
|
+
|(SIZE|SPEED)_(DOWNLOAD|UPLOAD)|HTTP_CODE|HEADER_(OUT|SIZE)|NAMELOOKUP_TIME
|
|
254
|
+
|CONNECT_TIME|CONTENT_(TYPE|LENGTH_(DOWNLOAD|UPLOAD))|CERTINFO|TOTAL_TIME
|
|
255
|
+
|PRIVATE|PRETRANSFER_TIME|EFFECTIVE_URL|FILETIME)
|
|
256
|
+
|OPT_(RESUME_FROM|RETURNTRANSFER|REDIR_PROTOCOLS|REFERER|READ(DATA|FUNCTION)|RANGE|RANDOM_FILE
|
|
257
|
+
|MAX(CONNECTS|REDIRS)|BINARYTRANSFER|BUFFERSIZE
|
|
258
|
+
|SSH_(HOST_PUBLIC_KEY_MD5|(PRIVATE|PUBLIC)_KEYFILE)|AUTH_TYPES)
|
|
259
|
+
|SSL(CERT(TYPE|PASSWD)?|ENGINE(_DEFAULT)?|VERSION|KEY(TYPE|PASSWD)?)
|
|
260
|
+
|SSL_(CIPHER_LIST|VERIFY(HOST|PEER))
|
|
261
|
+
|STDERR|HTTP(GET|HEADER|200ALIASES|_VERSION|PROXYTUNNEL|AUTH)
|
|
262
|
+
|HEADER(FUNCTION)?|NO(BODY|SIGNAL|PROGRESS)|NETRC|CRLF|CONNECTTIMEOUT(_MS)?
|
|
263
|
+
|COOKIE(SESSION|JAR|FILE)?|CUSTOMREQUEST|CERTINFO|CLOSEPOLICY|CA(INFO|PATH)|TRANSFERTEXT
|
|
264
|
+
|TCP_NODELAY|TIME(CONDITION|OUT(_MS)?|VALUE)|INTERFACE|INFILE(SIZE)?|IPRESOLVE
|
|
265
|
+
|DNS_(CACHE_TIMEOUT|USE_GLOBAL_CACHE)|URL|USER(AGENT|PWD)|UNRESTRICTED_AUTH|UPLOAD
|
|
266
|
+
|PRIVATE|PROGRESSFUNCTION|PROXY(TYPE|USERPWD|PORT|AUTH)?|PROTOCOLS|PORT
|
|
267
|
+
|POST(REDIR|QUOTE|FIELDS)?|PUT|EGDSOCKET|ENCODING|VERBOSE|KRB4LEVEL|KEYPASSWD|QUOTE|FRESH_CONNECT
|
|
268
|
+
|FTP(APPEND|LISTONLY|PORT|SSLAUTH)
|
|
269
|
+
|FTP_(SSL|SKIP_PASV_IP|CREATE_MISSING_DIRS|USE_EP(RT|SV)|FILEMETHOD)
|
|
270
|
+
|FILE(TIME)?|FORBID_REUSE|FOLLOWLOCATION|FAILONERROR|WRITE(FUNCTION|HEADER)|LOW_SPEED_(LIMIT|TIME)
|
|
271
|
+
|AUTOREFERER)
|
|
272
|
+
|PROXY_(HTTP|SOCKS(4|5))|PROTO_(SCP|SFTP|HTTP(S)?|TELNET|TFTP|DICT|FTP(S)?|FILE|LDAP(S)?|ALL)
|
|
273
|
+
|E_((RECV|READ)_ERROR|GOT_NOTHING|MALFORMAT_USER
|
|
274
|
+
|BAD_(CONTENT_ENCODING|CALLING_ORDER|PASSWORD_ENTERED|FUNCTION_ARGUMENT)
|
|
275
|
+
|SSH|SSL_(CIPHER|CONNECT_ERROR|CERTPROBLEM|CACERT|PEER_CERTIFICATE|ENGINE_(NOTFOUND|SETFAILED))
|
|
276
|
+
|SHARE_IN_USE|SEND_ERROR|HTTP_(RANGE_ERROR|NOT_FOUND|PORT_FAILED|POST_ERROR)
|
|
277
|
+
|COULDNT_(RESOLVE_(HOST|PROXY)|CONNECT)|TOO_MANY_REDIRECTS|TELNET_OPTION_SYNTAX|OBSOLETE
|
|
278
|
+
|OUT_OF_MEMORY|OPERATION|TIMEOUTED|OK|URL_MALFORMAT(_USER)?|UNSUPPORTED_PROTOCOL
|
|
279
|
+
|UNKNOWN_TELNET_OPTION|PARTIAL_FILE
|
|
280
|
+
|FTP_(BAD_DOWNLOAD_RESUME|SSL_FAILED|COULDNT_(RETR_FILE|GET_SIZE|STOR_FILE|SET_(BINARY|ASCII)|USE_REST)
|
|
281
|
+
|CANT_(GET_HOST|RECONNECT)|USER_PASSWORD_INCORRECT|PORT_FAILED|QUOTE_ERROR|WRITE_ERROR
|
|
282
|
+
|WEIRD_((PASS|PASV|SERVER|USER)_REPLY|227_FORMAT)|ACCESS_DENIED)
|
|
283
|
+
|FILESIZE_EXCEEDED|FILE_COULDNT_READ_FILE|FUNCTION_NOT_FOUND|FAILED_INIT|WRITE_ERROR|LIBRARY_NOT_FOUND
|
|
284
|
+
|LDAP_(SEARCH_FAILED|CANNOT_BIND|INVALID_URL)|ABORTED_BY_CALLBACK)
|
|
285
|
+
|VERSION_NOW
|
|
286
|
+
|FTP(METHOD_(MULTI|SINGLE|NO)CWD|SSL_(ALL|NONE|CONTROL|TRY)|AUTH_(DEFAULT|SSL|TLS))
|
|
287
|
+
|AUTH_(ANY(SAFE)?|BASIC|DIGEST|GSSNEGOTIATE|NTLM))
|
|
288
|
+
|CURL_(HTTP_VERSION_(1_(0|1)|NONE)|NETRC_(REQUIRED|IGNORED|OPTIONAL)|TIMECOND_(IF(UN)?MODSINCE|LASTMOD)
|
|
289
|
+
|IPRESOLVE_(V(4|6)|WHATEVER)|VERSION_(SSL|IPV6|KERBEROS4|LIBZ))
|
|
290
|
+
|IMAGETYPE_(GIF|XBM|BMP|SWF|COUNT|TIFF_(MM|II)|ICO|IFF|UNKNOWN|JB2|JPX|JP2|JPC|JPEG(2000)?|PSD|PNG|WBMP)
|
|
291
|
+
|INPUT_(REQUEST|GET|SERVER|SESSION|COOKIE|POST|ENV)|ICONV_(MIME_DECODE_(STRICT|CONTINUE_ON_ERROR)|IMPL|VERSION)
|
|
292
|
+
|DNS_(MX|SRV|SOA|HINFO|NS|NAPTR|CNAME|TXT|PTR|ANY|ALL|AAAA|A(6)?)
|
|
293
|
+
|DOM(STRING_SIZE_ERR)
|
|
294
|
+
|DOM_((SYNTAX|HIERARCHY_REQUEST|NO_(MODIFICATION_ALLOWED|DATA_ALLOWED)|NOT_(FOUND|SUPPORTED)|NAMESPACE
|
|
295
|
+
|INDEX_SIZE|USE_ATTRIBUTE|VALID_(MODIFICATION|STATE|CHARACTER|ACCESS)|PHP|VALIDATION|WRONG_DOCUMENT)_ERR)
|
|
296
|
+
|JSON_(HEX_(TAG|QUOT|AMP|APOS)|NUMERIC_CHECK|ERROR_(SYNTAX|STATE_MISMATCH|NONE|CTRL_CHAR|DEPTH|UTF8)|FORCE_OBJECT)
|
|
297
|
+
|PREG_((D_UTF8(_OFFSET)?|NO|INTERNAL|(BACKTRACK|RECURSION)_LIMIT)_ERROR|GREP_INVERT
|
|
298
|
+
|SPLIT_(NO_EMPTY|(DELIM|OFFSET)_CAPTURE)|SET_ORDER|OFFSET_CAPTURE|PATTERN_ORDER)
|
|
299
|
+
|PSFS_(PASS_ON|ERR_FATAL|FEED_ME|FLAG_(NORMAL|FLUSH_(CLOSE|INC)))
|
|
300
|
+
|PCRE_VERSION|POSIX_((F|R|W|X)_OK|S_IF(REG|BLK|SOCK|CHR|IFO))
|
|
301
|
+
|FNM_(NOESCAPE|CASEFOLD|PERIOD|PATHNAME)
|
|
302
|
+
|FILTER_(REQUIRE_(SCALAR|ARRAY)|NULL_ON_FAILURE|CALLBACK|DEFAULT|UNSAFE_RAW
|
|
303
|
+
|SANITIZE_(MAGIC_QUOTES|STRING|STRIPPED|SPECIAL_CHARS|NUMBER_(INT|FLOAT)|URL
|
|
304
|
+
|EMAIL|ENCODED|FULL_SPCIAL_CHARS)
|
|
305
|
+
|VALIDATE_(REGEXP|BOOLEAN|INT|IP|URL|EMAIL|FLOAT)
|
|
306
|
+
|FORCE_ARRAY
|
|
307
|
+
|FLAG_(SCHEME_REQUIRED|STRIP_(BACKTICK|HIGH|LOW)|HOST_REQUIRED|NONE|NO_(RES|PRIV)_RANGE|ENCODE_QUOTES
|
|
308
|
+
|IPV(4|6)|PATH_REQUIRED|EMPTY_STRING_NULL|ENCODE_(HIGH|LOW|AMP)|QUERY_REQUIRED
|
|
309
|
+
|ALLOW_(SCIENTIFIC|HEX|THOUSAND|OCTAL|FRACTION)))
|
|
310
|
+
|FILE_(BINARY|SKIP_EMPTY_LINES|NO_DEFAULT_CONTEXT|TEXT|IGNORE_NEW_LINES|USE_INCLUDE_PATH|APPEND)
|
|
311
|
+
|FILEINFO_(RAW|MIME(_(ENCODING|TYPE))?|SYMLINK|NONE|CONTINUE|DEVICES|PRESERVE_ATIME)
|
|
312
|
+
|FORCE_(DEFLATE|GZIP)
|
|
313
|
+
|LIBXML_(XINCLUDE|NSCLEAN|NO(XMLDECL|BLANKS|NET|CDATA|ERROR|EMPTYTAG|ENT|WARNING)
|
|
314
|
+
|COMPACT|DTD(VALID|LOAD|ATTR)|((DOTTED|LOADED)_)?VERSION|PARSEHUGE|ERR_(NONE|ERROR|FATAL|WARNING)))
|
|
315
|
+
\\b`, name: "support.constant.ext.php" }, { captures: { 1: { name: "punctuation.separator.inheritance.php" } }, match: `(?x)
|
|
316
|
+
(\\\\)?\\b
|
|
317
|
+
(T_(RETURN|REQUIRE(_ONCE)?|GOTO|GLOBAL|(MINUS|MOD|MUL|XOR)_EQUAL|METHOD_C|ML_COMMENT|BREAK
|
|
318
|
+
|BOOL_CAST|BOOLEAN_(AND|OR)|BAD_CHARACTER|SR(_EQUAL)?|STRING(_CAST|VARNAME)?|START_HEREDOC|STATIC
|
|
319
|
+
|SWITCH|SL(_EQUAL)?|HALT_COMPILER|NS_(C|SEPARATOR)|NUM_STRING|NEW|NAMESPACE|CHARACTER|COMMENT
|
|
320
|
+
|CONSTANT(_ENCAPSED_STRING)?|CONCAT_EQUAL|CONTINUE|CURLY_OPEN|CLOSE_TAG|CLONE|CLASS(_C)?
|
|
321
|
+
|CASE|CATCH|TRY|THROW|IMPLEMENTS|ISSET|IS_((GREATER|SMALLER)_OR_EQUAL|(NOT_)?(IDENTICAL|EQUAL))
|
|
322
|
+
|INSTANCEOF|INCLUDE(_ONCE)?|INC|INT_CAST|INTERFACE|INLINE_HTML|IF|OR_EQUAL|OBJECT_(CAST|OPERATOR)
|
|
323
|
+
|OPEN_TAG(_WITH_ECHO)?|OLD_FUNCTION|DNUMBER|DIR|DIV_EQUAL|DOC_COMMENT|DOUBLE_(ARROW|CAST|COLON)
|
|
324
|
+
|DOLLAR_OPEN_CURLY_BRACES|DO|DEC|DECLARE|DEFAULT|USE|UNSET(_CAST)?|PRINT|PRIVATE|PROTECTED|PUBLIC
|
|
325
|
+
|PLUS_EQUAL|PAAMAYIM_NEKUDOTAYIM|EXTENDS|EXIT|EMPTY|ENCAPSED_AND_WHITESPACE
|
|
326
|
+
|END(SWITCH|IF|DECLARE|FOR(EACH)?|WHILE)|END_HEREDOC|ECHO|EVAL|ELSE(IF)?|VAR(IABLE)?|FINAL|FILE
|
|
327
|
+
|FOR(EACH)?|FUNC_C|FUNCTION|WHITESPACE|WHILE|LNUMBER|LIST|LINE|LOGICAL_(AND|OR|XOR)
|
|
328
|
+
|ARRAY_(CAST)?|ABSTRACT|AS|AND_EQUAL))
|
|
329
|
+
\\b`, name: "support.constant.parser-token.php" }, { match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", name: "constant.other.php" }] }, "function-call": { patterns: [{ begin: `(?x)
|
|
330
|
+
(
|
|
331
|
+
\\\\?(?<![a-zA-Z0-9_\\x{7f}-\\x{10ffff}])
|
|
332
|
+
[a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*
|
|
333
|
+
(?:\\\\[a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*)+
|
|
334
|
+
)\\s*(\\()`, beginCaptures: { 1: { patterns: [{ include: "#namespace" }, { match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", name: "entity.name.function.php" }] }, 2: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, name: "meta.function-call.php", patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { begin: "(\\\\)?(?<![a-zA-Z0-9_\\x{7f}-\\x{10ffff}])([a-zA-Z_\\x{7f}-\\x{10ffff}][a-zA-Z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()", beginCaptures: { 1: { patterns: [{ include: "#namespace" }] }, 2: { patterns: [{ include: "#support" }, { match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", name: "entity.name.function.php" }] }, 3: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, name: "meta.function-call.php", patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { match: "(?i)\\b(print|echo)\\b", name: "support.function.construct.output.php" }] }, "function-parameters": { patterns: [{ include: "#attribute" }, { include: "#comments" }, { match: ",", name: "punctuation.separator.delimiter.php" }, { captures: { 1: { patterns: [{ include: "#php-types" }] }, 2: { name: "variable.other.php" }, 3: { name: "storage.modifier.reference.php" }, 4: { name: "keyword.operator.variadic.php" }, 5: { name: "punctuation.definition.variable.php" } }, match: `(?xi)
|
|
335
|
+
(?: (
|
|
336
|
+
|
|
337
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
338
|
+
|
|
339
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
340
|
+
(?: \\s*[|&]\\s*
|
|
341
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
342
|
+
)+
|
|
343
|
+
) \\s+ )?
|
|
344
|
+
((?:(&)\\s*)?(\\.\\.\\.)(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
345
|
+
(?=\\s*(?:,|\\)|/[/*]|\\#|$))`, name: "meta.function.parameter.variadic.php" }, { begin: `(?xi)
|
|
346
|
+
(
|
|
347
|
+
|
|
348
|
+
(?:\\?\\s*)? [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ |
|
|
349
|
+
|
|
350
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
351
|
+
(?: \\s*[|&]\\s*
|
|
352
|
+
(?: [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+ | \\(\\s* [a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+(?:\\s*&\\s*[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)+ \\s*\\) )
|
|
353
|
+
)+
|
|
354
|
+
)
|
|
355
|
+
\\s+ ((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)`, beginCaptures: { 1: { patterns: [{ include: "#php-types" }] }, 2: { name: "variable.other.php" }, 3: { name: "storage.modifier.reference.php" }, 4: { name: "punctuation.definition.variable.php" } }, end: "(?=\\s*(?:,|\\)|/[/*]|\\#))", name: "meta.function.parameter.typehinted.php", patterns: [{ begin: "=", beginCaptures: { 0: { name: "keyword.operator.assignment.php" } }, end: "(?=\\s*(?:,|\\)|/[/*]|\\#))", patterns: [{ include: "#parameter-default-types" }] }] }, { captures: { 1: { name: "variable.other.php" }, 2: { name: "storage.modifier.reference.php" }, 3: { name: "punctuation.definition.variable.php" } }, match: `(?xi)
|
|
356
|
+
((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
357
|
+
(?=\\s*(?:,|\\)|/[/*]|\\#|$))`, name: "meta.function.parameter.no-default.php" }, { begin: `(?xi)
|
|
358
|
+
((?:(&)\\s*)?(\\$)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
359
|
+
\\s*(=)\\s*`, beginCaptures: { 1: { name: "variable.other.php" }, 2: { name: "storage.modifier.reference.php" }, 3: { name: "punctuation.definition.variable.php" }, 4: { name: "keyword.operator.assignment.php" } }, end: "(?=\\s*(?:,|\\)|/[/*]|\\#))", name: "meta.function.parameter.default.php", patterns: [{ include: "#parameter-default-types" }] }] }, heredoc: { patterns: [{ begin: '(?i)(?=<<<\\s*("?)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(\\1)\\s*$)', end: "(?!\\G)", name: "string.unquoted.heredoc.php", patterns: [{ include: "#heredoc_interior" }] }, { begin: "(?=<<<\\s*'([a-zA-Z_]+[a-zA-Z0-9_]*)'\\s*$)", end: "(?!\\G)", name: "string.unquoted.nowdoc.php", patterns: [{ include: "#nowdoc_interior" }] }] }, heredoc_interior: { patterns: [{ begin: '(<<<)\\s*("?)(HTML)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.html", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.html", patterns: [{ include: "#interpolation" }, { include: "text.html.basic" }] }, { begin: '(<<<)\\s*("?)(XML)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.xml", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.xml", patterns: [{ include: "#interpolation" }, { include: "text.xml" }] }, { begin: '(<<<)\\s*("?)([DS]QL)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.sql", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.sql", patterns: [{ include: "#interpolation" }, { include: "source.sql" }] }, { begin: '(<<<)\\s*("?)(JAVASCRIPT|JS)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.js", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.js", patterns: [{ include: "#interpolation" }, { include: "source.js" }] }, { begin: '(<<<)\\s*("?)(JSON)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.json", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.json", patterns: [{ include: "#interpolation" }, { include: "source.json" }] }, { begin: '(<<<)\\s*("?)(CSS)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.css", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.css", patterns: [{ include: "#interpolation" }, { include: "source.css" }] }, { begin: '(<<<)\\s*("?)(REGEXP?)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "string.regexp.heredoc.php", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, patterns: [{ include: "#interpolation" }, { match: "(\\\\){1,2}[.$^\\[\\]{}]", name: "constant.character.escape.regex.php" }, { captures: { 1: { name: "punctuation.definition.arbitrary-repitition.php" }, 3: { name: "punctuation.definition.arbitrary-repitition.php" } }, match: "({)\\d+(,\\d+)?(})", name: "string.regexp.arbitrary-repitition.php" }, { begin: "\\[(?:\\^?\\])?", captures: { 0: { name: "punctuation.definition.character-class.php" } }, end: "\\]", name: "string.regexp.character-class.php", patterns: [{ match: "\\\\[\\\\'\\[\\]]", name: "constant.character.escape.php" }] }, { match: "[$^+*]", name: "keyword.operator.regexp.php" }, { begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{10ffff},. \\t?!-][^\\x{00}-\\x{7f}]]*$)", beginCaptures: { 1: { name: "punctuation.definition.comment.php" } }, end: "$", endCaptures: { 0: { name: "punctuation.definition.comment.php" } }, name: "comment.line.number-sign.php" }] }, { begin: '(<<<)\\s*("?)(BLADE)(\\2)(\\s*)$', beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.html.php.blade", end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.heredoc.php" } }, name: "meta.embedded.php.blade", patterns: [{ include: "#interpolation" }] }, { begin: '(?i)(<<<)\\s*("?)([a-z_\\x{7f}-\\x{10ffff}]+[a-z0-9_\\x{7f}-\\x{10ffff}]*)(\\2)(\\s*)', beginCaptures: { 1: { name: "punctuation.definition.string.php" }, 3: { name: "keyword.operator.heredoc.php" }, 5: { name: "invalid.illegal.trailing-whitespace.php" } }, end: "^\\s*(\\3)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 1: { name: "keyword.operator.heredoc.php" } }, patterns: [{ include: "#interpolation" }] }] }, "inheritance-single": { patterns: [{ begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)", end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])", endCaptures: { 1: { name: "entity.other.inherited-class.php" } }, patterns: [{ include: "#namespace" }] }, { include: "#class-builtin" }, { include: "#namespace" }, { match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", name: "entity.other.inherited-class.php" }] }, instantiation: { begin: "(?i)(new)\\s+(?!class\\b)", beginCaptures: { 1: { name: "keyword.other.new.php" } }, end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])", patterns: [{ match: "(?i)(parent|static|self)(?![a-z0-9_\\x{7f}-\\x{10ffff}])", name: "storage.type.php" }, { include: "#class-name" }, { include: "#variable-name" }] }, "interface-extends": { patterns: [{ begin: "(?i)(extends)\\s+", beginCaptures: { 1: { name: "storage.modifier.extends.php" } }, end: "(?i)(?={)", patterns: [{ include: "#comments" }, { match: ",", name: "punctuation.separator.classes.php" }, { include: "#inheritance-single" }] }] }, interpolation: { patterns: [{ match: "\\\\[0-7]{1,3}", name: "constant.character.escape.octal.php" }, { match: "\\\\x[0-9A-Fa-f]{1,2}", name: "constant.character.escape.hex.php" }, { match: "\\\\u{[0-9A-Fa-f]+}", name: "constant.character.escape.unicode.php" }, { match: "\\\\[nrtvef$\\\\]", name: "constant.character.escape.php" }, { begin: "{(?=\\$.*?})", beginCaptures: { 0: { name: "punctuation.definition.variable.php" } }, end: "}", endCaptures: { 0: { name: "punctuation.definition.variable.php" } }, patterns: [{ include: "$self" }] }, { include: "#variable-name" }] }, interpolation_double_quoted: { patterns: [{ match: '\\\\"', name: "constant.character.escape.php" }, { include: "#interpolation" }] }, "invoke-call": { captures: { 1: { name: "variable.other.php" }, 2: { name: "punctuation.definition.variable.php" } }, match: "(?i)((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(?=\\s*\\()", name: "meta.function-call.invoke.php" }, match_statement: { patterns: [{ match: "\\s+(?=match\\b)" }, { begin: "\\bmatch\\b", beginCaptures: { 0: { name: "keyword.control.match.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.section.match-block.end.bracket.curly.php" } }, name: "meta.match-statement.php", patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.match-expression.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.match-expression.end.bracket.round.php" } }, patterns: [{ include: "$self" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.section.match-block.begin.bracket.curly.php" } }, end: "(?=}|\\?>)", patterns: [{ match: "=>", name: "keyword.definition.arrow.php" }, { include: "$self" }] }] }] }, "named-arguments": { captures: { 1: { name: "entity.name.variable.parameter.php" }, 2: { name: "punctuation.separator.colon.php" } }, match: "(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(:)(?!:)" }, namespace: { begin: "(?i)(?:(namespace)|[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(\\\\)", beginCaptures: { 1: { name: "variable.language.namespace.php" }, 2: { name: "punctuation.separator.inheritance.php" } }, end: "(?i)(?![a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)", name: "support.other.namespace.php", patterns: [{ match: "\\\\", name: "punctuation.separator.inheritance.php" }] }, nowdoc_interior: { patterns: [{ begin: "(<<<)\\s*'(HTML)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.html", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.html", patterns: [{ include: "text.html.basic" }] }, { begin: "(<<<)\\s*'(XML)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.xml", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.xml", patterns: [{ include: "text.xml" }] }, { begin: "(<<<)\\s*'([DS]QL)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.sql", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.sql", patterns: [{ include: "source.sql" }] }, { begin: "(<<<)\\s*'(JAVASCRIPT|JS)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.js", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.js", patterns: [{ include: "source.js" }] }, { begin: "(<<<)\\s*'(JSON)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.json", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.json", patterns: [{ include: "source.json" }] }, { begin: "(<<<)\\s*'(CSS)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "source.css", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.css", patterns: [{ include: "source.css" }] }, { begin: "(<<<)\\s*'(REGEXP?)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "string.regexp.nowdoc.php", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, patterns: [{ match: "(\\\\){1,2}[.$^\\[\\]{}]", name: "constant.character.escape.regex.php" }, { captures: { 1: { name: "punctuation.definition.arbitrary-repitition.php" }, 3: { name: "punctuation.definition.arbitrary-repitition.php" } }, match: "({)\\d+(,\\d+)?(})", name: "string.regexp.arbitrary-repitition.php" }, { begin: "\\[(?:\\^?\\])?", captures: { 0: { name: "punctuation.definition.character-class.php" } }, end: "\\]", name: "string.regexp.character-class.php", patterns: [{ match: "\\\\[\\\\'\\[\\]]", name: "constant.character.escape.php" }] }, { match: "[$^+*]", name: "keyword.operator.regexp.php" }, { begin: "(?i)(?<=^|\\s)(#)\\s(?=[[a-z0-9_\\x{7f}-\\x{10ffff},. \\t?!-][^\\x{00}-\\x{7f}]]*$)", beginCaptures: { 1: { name: "punctuation.definition.comment.php" } }, end: "$", endCaptures: { 0: { name: "punctuation.definition.comment.php" } }, name: "comment.line.number-sign.php" }] }, { begin: "(<<<)\\s*'(BLADE)'(\\s*)$", beginCaptures: { 0: { name: "punctuation.section.embedded.begin.php" }, 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, contentName: "text.html.php.blade", end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 0: { name: "punctuation.section.embedded.end.php" }, 1: { name: "keyword.operator.nowdoc.php" } }, name: "meta.embedded.php.blade" }, { begin: "(?i)(<<<)\\s*'([a-z_\\x{7f}-\\x{10ffff}]+[a-z0-9_\\x{7f}-\\x{10ffff}]*)'(\\s*)", beginCaptures: { 1: { name: "punctuation.definition.string.php" }, 2: { name: "keyword.operator.nowdoc.php" }, 3: { name: "invalid.illegal.trailing-whitespace.php" } }, end: "^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])", endCaptures: { 1: { name: "keyword.operator.nowdoc.php" } } }] }, null_coalescing: { match: "\\?\\?", name: "keyword.operator.null-coalescing.php" }, numbers: { patterns: [{ match: "0[xX][0-9a-fA-F]+(?:_[0-9a-fA-F]+)*", name: "constant.numeric.hex.php" }, { match: "0[bB][01]+(?:_[01]+)*", name: "constant.numeric.binary.php" }, { match: "0[oO][0-7]+(?:_[0-7]+)*", name: "constant.numeric.octal.php" }, { match: "0(?:_?[0-7]+)+", name: "constant.numeric.octal.php" }, { captures: { 1: { name: "punctuation.separator.decimal.period.php" }, 2: { name: "punctuation.separator.decimal.period.php" } }, match: `(?x)
|
|
360
|
+
(?:
|
|
361
|
+
(?:[0-9]+(?:_[0-9]+)*)?(\\.)[0-9]+(?:_[0-9]+)*(?:[eE][+-]?[0-9]+(?:_[0-9]+)*)?|
|
|
362
|
+
[0-9]+(?:_[0-9]+)*(\\.)(?:[0-9]+(?:_[0-9]+)*)?(?:[eE][+-]?[0-9]+(?:_[0-9]+)*)?|
|
|
363
|
+
[0-9]+(?:_[0-9]+)*[eE][+-]?[0-9]+(?:_[0-9]+)*
|
|
364
|
+
)`, name: "constant.numeric.decimal.php" }, { match: "0|[1-9](?:_?[0-9]+)*", name: "constant.numeric.decimal.php" }] }, object: { patterns: [{ begin: "(\\??->)\\s*(\\$?{)", beginCaptures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "punctuation.definition.variable.php" } }, end: "}", endCaptures: { 0: { name: "punctuation.definition.variable.php" } }, patterns: [{ include: "$self" }] }, { begin: "(?i)(\\??->)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()", beginCaptures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "entity.name.function.php" }, 3: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, name: "meta.method-call.php", patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { captures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "variable.other.property.php" }, 3: { name: "punctuation.definition.variable.php" } }, match: "(?i)(\\??->)\\s*((\\$+)?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?" }] }, "parameter-default-types": { patterns: [{ include: "#strings" }, { include: "#numbers" }, { include: "#string-backtick" }, { include: "#variables" }, { match: "=>", name: "keyword.operator.key.php" }, { match: "=", name: "keyword.operator.assignment.php" }, { match: "&(?=\\s*\\$)", name: "storage.modifier.reference.php" }, { begin: "(array)\\s*(\\()", beginCaptures: { 1: { name: "support.function.construct.php" }, 2: { name: "punctuation.definition.array.begin.bracket.round.php" } }, end: "\\)", endCaptures: { 0: { name: "punctuation.definition.array.end.bracket.round.php" } }, name: "meta.array.php", patterns: [{ include: "#parameter-default-types" }] }, { begin: "\\[", beginCaptures: { 0: { name: "punctuation.section.array.begin.php" } }, end: "\\]|(?=\\?>)", endCaptures: { 0: { name: "punctuation.section.array.end.php" } }, patterns: [{ include: "$self" }] }, { include: "#instantiation" }, { begin: `(?xi)
|
|
365
|
+
(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+
|
|
366
|
+
(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?
|
|
367
|
+
)`, end: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?", endCaptures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "constant.other.class.php" } }, patterns: [{ include: "#class-name" }] }, { include: "#constants" }] }, "php-types": { patterns: [{ match: "\\?", name: "keyword.operator.nullable-type.php" }, { match: "[|&]", name: "punctuation.separator.delimiter.php" }, { match: "(?i)\\b(null|int|float|bool|string|array|object|callable|iterable|true|false|mixed|void)\\b", name: "keyword.other.type.php" }, { match: "(?i)\\b(parent|self)\\b", name: "storage.type.php" }, { match: "\\(", name: "punctuation.definition.type.begin.bracket.round.php" }, { match: "\\)", name: "punctuation.definition.type.end.bracket.round.php" }, { include: "#class-name" }] }, php_doc: { patterns: [{ match: "^(?!\\s*\\*).*?(?:(?=\\*\\/)|$\\n?)", name: "invalid.illegal.missing-asterisk.phpdoc.php" }, { captures: { 1: { name: "keyword.other.phpdoc.php" }, 3: { name: "storage.modifier.php" }, 4: { name: "invalid.illegal.wrong-access-type.phpdoc.php" } }, match: "^\\s*\\*\\s*(@access)\\s+((public|private|protected)|(.+))\\s*$" }, { captures: { 1: { name: "keyword.other.phpdoc.php" }, 2: { name: "markup.underline.link.php" } }, match: "(@xlink)\\s+(.+)\\s*$" }, { begin: "(@(?:global|param|property(-(read|write))?|return|throws|var))\\s+(?=[?A-Za-z_\\x{7f}-\\x{10ffff}\\\\]|\\()", beginCaptures: { 1: { name: "keyword.other.phpdoc.php" } }, contentName: "meta.other.type.phpdoc.php", end: "(?=\\s|\\*/)", patterns: [{ include: "#php_doc_types_array_multiple" }, { include: "#php_doc_types_array_single" }, { include: "#php_doc_types" }] }, { match: `(?x)
|
|
368
|
+
@
|
|
369
|
+
(
|
|
370
|
+
api|abstract|author|category|copyright|example|global|inherit[Dd]oc|internal|
|
|
371
|
+
license|link|method|property(-(read|write))?|package|param|return|see|since|source|
|
|
372
|
+
static|subpackage|throws|todo|var|version|uses|deprecated|final|ignore
|
|
373
|
+
)\\b`, name: "keyword.other.phpdoc.php" }, { captures: { 1: { name: "keyword.other.phpdoc.php" } }, match: "{(@(link|inherit[Dd]oc)).+?}", name: "meta.tag.inline.phpdoc.php" }] }, php_doc_types: { captures: { 0: { patterns: [{ match: "\\?", name: "keyword.operator.nullable-type.php" }, { match: `(?x)\\b
|
|
374
|
+
(string|integer|int|boolean|bool|float|double|object|mixed
|
|
375
|
+
|array|resource|void|null|callback|false|true|self|static)\\b`, name: "keyword.other.type.php" }, { include: "#class-name" }, { match: "[|&]", name: "punctuation.separator.delimiter.php" }, { match: "\\(", name: "punctuation.definition.type.begin.bracket.round.php" }, { match: "\\)", name: "punctuation.definition.type.end.bracket.round.php" }] } }, match: "(?i)\\??[a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*([|&]\\??[a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)*" }, php_doc_types_array_multiple: { begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.type.begin.bracket.round.phpdoc.php" } }, end: "(\\))(\\[\\])|(?=\\*/)", endCaptures: { 1: { name: "punctuation.definition.type.end.bracket.round.phpdoc.php" }, 2: { name: "keyword.other.array.phpdoc.php" } }, patterns: [{ include: "#php_doc_types_array_multiple" }, { include: "#php_doc_types_array_single" }, { include: "#php_doc_types" }, { match: "[|&]", name: "punctuation.separator.delimiter.php" }] }, php_doc_types_array_single: { captures: { 1: { patterns: [{ include: "#php_doc_types" }] }, 2: { name: "keyword.other.array.phpdoc.php" } }, match: "(?i)([a-z_\\x{7f}-\\x{10ffff}\\\\][a-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)(\\[\\])" }, "regex-double-quoted": { begin: '"/(?=(\\\\.|[^"/])++/[imsxeADSUXu]*")', beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, end: '(/)([imsxeADSUXu]*)(")', endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.regexp.double-quoted.php", patterns: [{ match: "(\\\\){1,2}[.$^\\[\\]{}]", name: "constant.character.escape.regex.php" }, { include: "#interpolation_double_quoted" }, { captures: { 1: { name: "punctuation.definition.arbitrary-repetition.php" }, 3: { name: "punctuation.definition.arbitrary-repetition.php" } }, match: "({)\\d+(,\\d+)?(})", name: "string.regexp.arbitrary-repetition.php" }, { begin: "\\[(?:\\^?\\])?", captures: { 0: { name: "punctuation.definition.character-class.php" } }, end: "\\]", name: "string.regexp.character-class.php", patterns: [{ include: "#interpolation_double_quoted" }] }, { match: "[$^+*]", name: "keyword.operator.regexp.php" }] }, "regex-single-quoted": { begin: "'/(?=(\\\\(?:\\\\(?:\\\\[\\\\']?|[^'])|.)|[^'/])++/[imsxeADSUXu]*')", beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, end: "(/)([imsxeADSUXu]*)(')", endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.regexp.single-quoted.php", patterns: [{ include: "#single_quote_regex_escape" }, { captures: { 1: { name: "punctuation.definition.arbitrary-repetition.php" }, 3: { name: "punctuation.definition.arbitrary-repetition.php" } }, match: "({)\\d+(,\\d+)?(})", name: "string.regexp.arbitrary-repetition.php" }, { begin: "\\[(?:\\^?\\])?", captures: { 0: { name: "punctuation.definition.character-class.php" } }, end: "\\]", name: "string.regexp.character-class.php" }, { match: "[$^+*]", name: "keyword.operator.regexp.php" }] }, "scope-resolution": { patterns: [{ captures: { 1: { patterns: [{ match: "\\b(self|static|parent)\\b", name: "storage.type.php" }, { include: "#class-name" }, { include: "#variable-name" }] } }, match: "([A-Za-z_\\x{7f}-\\x{10ffff}\\\\][A-Za-z0-9_\\x{7f}-\\x{10ffff}\\\\]*)(?=\\s*::)" }, { begin: "(?i)(::)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(\\()", beginCaptures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "entity.name.function.php" }, 3: { name: "punctuation.definition.arguments.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.arguments.end.bracket.round.php" } }, name: "meta.method-call.static.php", patterns: [{ include: "#named-arguments" }, { include: "$self" }] }, { captures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "keyword.other.class.php" } }, match: "(?i)(::)\\s*(class)\\b" }, { captures: { 1: { name: "keyword.operator.class.php" }, 2: { name: "variable.other.class.php" }, 3: { name: "punctuation.definition.variable.php" }, 4: { name: "constant.other.class.php" } }, match: `(?xi)
|
|
376
|
+
(::)\\s*
|
|
377
|
+
(?:
|
|
378
|
+
((\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
379
|
+
|
|
|
380
|
+
([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)
|
|
381
|
+
)?` }] }, single_quote_regex_escape: { match: "\\\\(?:\\\\(?:\\\\[\\\\']?|[^'])|.)", name: "constant.character.escape.php" }, "sql-string-double-quoted": { begin: '"\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER|AND|WITH)\\b)', beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, contentName: "source.sql.embedded.php", end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.quoted.double.sql.php", patterns: [{ captures: { 1: { name: "punctuation.definition.comment.sql" } }, match: '(#)(\\\\"|[^"])*(?="|$)', name: "comment.line.number-sign.sql" }, { captures: { 1: { name: "punctuation.definition.comment.sql" } }, match: '(--)(\\\\"|[^"])*(?="|$)', name: "comment.line.double-dash.sql" }, { match: "\\\\[\\\\\"`']", name: "constant.character.escape.php" }, { match: `'(?=((\\\\')|[^'"])*("|$))`, name: "string.quoted.single.unclosed.sql" }, { match: '`(?=((\\\\`)|[^`"])*("|$))', name: "string.quoted.other.backtick.unclosed.sql" }, { begin: "'", end: "'", name: "string.quoted.single.sql", patterns: [{ include: "#interpolation_double_quoted" }] }, { begin: "`", end: "`", name: "string.quoted.other.backtick.sql", patterns: [{ include: "#interpolation_double_quoted" }] }, { include: "#interpolation_double_quoted" }, { include: "source.sql" }] }, "sql-string-single-quoted": { begin: "'\\s*(?=(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER|AND|WITH)\\b)", beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, contentName: "source.sql.embedded.php", end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.quoted.single.sql.php", patterns: [{ captures: { 1: { name: "punctuation.definition.comment.sql" } }, match: "(#)(\\\\'|[^'])*(?='|$)", name: "comment.line.number-sign.sql" }, { captures: { 1: { name: "punctuation.definition.comment.sql" } }, match: "(--)(\\\\'|[^'])*(?='|$)", name: "comment.line.double-dash.sql" }, { match: "\\\\[\\\\'`\"]", name: "constant.character.escape.php" }, { match: "`(?=((\\\\`)|[^`'])*('|$))", name: "string.quoted.other.backtick.unclosed.sql" }, { match: `"(?=((\\\\")|[^"'])*('|$))`, name: "string.quoted.double.unclosed.sql" }, { include: "source.sql" }] }, "string-backtick": { begin: "`", beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, end: "`", endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.interpolated.php", patterns: [{ match: "\\\\`", name: "constant.character.escape.php" }, { include: "#interpolation" }] }, "string-double-quoted": { begin: '"', beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, end: '"', endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.quoted.double.php", patterns: [{ include: "#interpolation_double_quoted" }] }, "string-single-quoted": { begin: "'", beginCaptures: { 0: { name: "punctuation.definition.string.begin.php" } }, end: "'", endCaptures: { 0: { name: "punctuation.definition.string.end.php" } }, name: "string.quoted.single.php", patterns: [{ match: "\\\\[\\\\']", name: "constant.character.escape.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: [{ match: `(?xi)
|
|
382
|
+
\\b
|
|
383
|
+
apc_(
|
|
384
|
+
store|sma_info|compile_file|clear_cache|cas|cache_info|inc|dec|define_constants|delete(_file)?|
|
|
385
|
+
exists|fetch|load_constants|add|bin_(dump|load)(file)?
|
|
386
|
+
)\\b`, name: "support.function.apc.php" }, { match: `(?xi)\\b
|
|
387
|
+
(
|
|
388
|
+
shuffle|sizeof|sort|next|nat(case)?sort|count|compact|current|in_array|usort|uksort|uasort|
|
|
389
|
+
pos|prev|end|each|extract|ksort|key(_exists)?|krsort|list|asort|arsort|rsort|reset|range|
|
|
390
|
+
array(_(shift|sum|splice|search|slice|chunk|change_key_case|count_values|column|combine|
|
|
391
|
+
(diff|intersect)(_(u)?(key|assoc))?|u(diff|intersect)(_(u)?assoc)?|unshift|unique|
|
|
392
|
+
pop|push|pad|product|values|keys|key_exists|filter|fill(_keys)?|flip|walk(_recursive)?|
|
|
393
|
+
reduce|replace(_recursive)?|reverse|rand|multisort|merge(_recursive)?|map)?)
|
|
394
|
+
)\\b`, name: "support.function.array.php" }, { match: `(?xi)\\b
|
|
395
|
+
(
|
|
396
|
+
show_source|sys_getloadavg|sleep|highlight_(file|string)|constant|connection_(aborted|status)|
|
|
397
|
+
time_(nanosleep|sleep_until)|ignore_user_abort|die|define(d)?|usleep|uniqid|unpack|__halt_compiler|
|
|
398
|
+
php_(check_syntax|strip_whitespace)|pack|eval|exit|get_browser
|
|
399
|
+
)\\b`, name: "support.function.basic_functions.php" }, { match: "(?i)\\bbc(scale|sub|sqrt|comp|div|pow(mod)?|add|mod|mul)\\b", name: "support.function.bcmath.php" }, { match: "(?i)\\bblenc_encrypt\\b", name: "support.function.blenc.php" }, { match: "(?i)\\bbz(compress|close|open|decompress|errstr|errno|error|flush|write|read)\\b", name: "support.function.bz2.php" }, { match: `(?xi)\\b
|
|
400
|
+
(
|
|
401
|
+
(French|Gregorian|Jewish|Julian)ToJD|cal_(to_jd|info|days_in_month|from_jd)|unixtojd|
|
|
402
|
+
jdto(unix|jewish)|easter_(date|days)|JD(MonthName|To(Gregorian|Julian|French)|DayOfWeek)
|
|
403
|
+
)\\b`, name: "support.function.calendar.php" }, { match: `(?xi)\\b
|
|
404
|
+
(
|
|
405
|
+
class_alias|all_user_method(_array)?|is_(a|subclass_of)|__autoload|(class|interface|method|property|trait)_exists|
|
|
406
|
+
get_(class(_(vars|methods))?|(called|parent)_class|object_vars|declared_(classes|interfaces|traits))
|
|
407
|
+
)\\b`, name: "support.function.classobj.php" }, { match: `(?xi)\\b
|
|
408
|
+
(
|
|
409
|
+
com_(create_guid|print_typeinfo|event_sink|load_typelib|get_active_object|message_pump)|
|
|
410
|
+
variant_(sub|set(_type)?|not|neg|cast|cat|cmp|int|idiv|imp|or|div|date_(from|to)_timestamp|
|
|
411
|
+
pow|eqv|fix|and|add|abs|round|get_type|xor|mod|mul)
|
|
412
|
+
)\\b`, name: "support.function.com.php" }, { match: "(?i)\\b(isset|unset|eval|empty|list)\\b", name: "support.function.construct.php" }, { match: "(?i)\\b(print|echo)\\b", name: "support.function.construct.output.php" }, { match: "(?i)\\bctype_(space|cntrl|digit|upper|punct|print|lower|alnum|alpha|graph|xdigit)\\b", name: "support.function.ctype.php" }, { match: `(?xi)\\b
|
|
413
|
+
curl_(
|
|
414
|
+
share_(close|init|setopt)|strerror|setopt(_array)?|copy_handle|close|init|unescape|pause|escape|
|
|
415
|
+
errno|error|exec|version|file_create|reset|getinfo|
|
|
416
|
+
multi_(strerror|setopt|select|close|init|info_read|(add|remove)_handle|getcontent|exec)
|
|
417
|
+
)\\b`, name: "support.function.curl.php" }, { match: `(?xi)\\b
|
|
418
|
+
(
|
|
419
|
+
strtotime|str[fp]time|checkdate|time|timezone_name_(from_abbr|get)|idate|
|
|
420
|
+
timezone_((location|offset|transitions|version)_get|(abbreviations|identifiers)_list|open)|
|
|
421
|
+
date(_(sun(rise|set)|sun_info|sub|create(_(immutable_)?from_format)?|timestamp_(get|set)|timezone_(get|set)|time_set|
|
|
422
|
+
isodate_set|interval_(create_from_date_string|format)|offset_get|diff|default_timezone_(get|set)|date_set|
|
|
423
|
+
parse(_from_format)?|format|add|get_last_errors|modify))?|
|
|
424
|
+
localtime|get(date|timeofday)|gm(strftime|date|mktime)|microtime|mktime
|
|
425
|
+
)\\b`, name: "support.function.datetime.php" }, { match: "(?i)\\bdba_(sync|handlers|nextkey|close|insert|optimize|open|delete|popen|exists|key_split|firstkey|fetch|list|replace)\\b", name: "support.function.dba.php" }, { match: "(?i)\\bdbx_(sort|connect|compare|close|escape_string|error|query|fetch_row)\\b", name: "support.function.dbx.php" }, { match: "(?i)\\b(scandir|chdir|chroot|closedir|opendir|dir|rewinddir|readdir|getcwd)\\b", name: "support.function.dir.php" }, { match: `(?xi)\\b
|
|
426
|
+
eio_(
|
|
427
|
+
sync(fs)?|sync_file_range|symlink|stat(vfs)?|sendfile|set_min_parallel|set_max_(idle|poll_(reqs|time)|parallel)|
|
|
428
|
+
seek|n(threads|op|pending|reqs|ready)|chown|chmod|custom|close|cancel|truncate|init|open|dup2|unlink|utime|poll|
|
|
429
|
+
event_loop|f(sync|stat(vfs)?|chown|chmod|truncate|datasync|utime|allocate)|write|lstat|link|rename|realpath|
|
|
430
|
+
read(ahead|dir|link)?|rmdir|get_(event_stream|last_error)|grp(_(add|cancel|limit))?|mknod|mkdir|busy
|
|
431
|
+
)\\b`, name: "support.function.eio.php" }, { match: `(?xi)\\b
|
|
432
|
+
enchant_(
|
|
433
|
+
dict_(store_replacement|suggest|check|is_in_session|describe|quick_check|add_to_(personal|session)|get_error)|
|
|
434
|
+
broker_(set_ordering|init|dict_exists|describe|free(_dict)?|list_dicts|request_(pwl_)?dict|get_error)
|
|
435
|
+
)\\b`, name: "support.function.enchant.php" }, { match: "(?i)\\b(split(i)?|sql_regcase|ereg(i)?(_replace)?)\\b", name: "support.function.ereg.php" }, { match: "(?i)\\b((restore|set)_(error_handler|exception_handler)|trigger_error|debug_(print_)?backtrace|user_error|error_(log|reporting|get_last))\\b", name: "support.function.errorfunc.php" }, { match: "(?i)\\b(shell_exec|system|passthru|proc_(nice|close|terminate|open|get_status)|escapeshell(arg|cmd)|exec)\\b", name: "support.function.exec.php" }, { match: "(?i)\\b(exif_(thumbnail|tagname|imagetype|read_data)|read_exif_data)\\b", name: "support.function.exif.php" }, { match: `(?xi)\\b
|
|
436
|
+
fann_(
|
|
437
|
+
(duplicate|length|merge|shuffle|subset)_train_data|scale_(train(_data)?|(input|output)(_train_data)?)|
|
|
438
|
+
set_(scaling_params|sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|
|
|
439
|
+
cascade_(num_candidate_groups|candidate_(change_fraction|limit|stagnation_epochs)|
|
|
440
|
+
output_(change_fraction|stagnation_epochs)|weight_multiplier|activation_(functions|steepnesses)|
|
|
441
|
+
(max|min)_(cand|out)_epochs)|
|
|
442
|
+
callback|training_algorithm|train_(error|stop)_function|(input|output)_scaling_params|error_log|
|
|
443
|
+
quickprop_(decay|mu)|weight(_array)?|learning_(momentum|rate)|bit_fail_limit|
|
|
444
|
+
activation_(function|steepness)(_(hidden|layer|output))?|
|
|
445
|
+
rprop_((decrease|increase)_factor|delta_(max|min|zero)))|
|
|
446
|
+
save(_train)?|num_(input|output)_train_data|copy|clear_scaling_params|cascadetrain_on_(file|data)|
|
|
447
|
+
create_((sparse|shortcut|standard)(_array)?|train(_from_callback)?|from_file)|
|
|
448
|
+
test(_data)?|train(_(on_(file|data)|epoch))?|init_weights|descale_(input|output|train)|destroy(_train)?|
|
|
449
|
+
print_error|run|reset_(MSE|err(no|str))|read_train_from_file|randomize_weights|
|
|
450
|
+
get_(sarprop_(step_error_(shift|threshold_factor)|temperature|weight_decay_shift)|num_(input|output|layers)|
|
|
451
|
+
network_type|MSE|connection_(array|rate)|bias_array|bit_fail(_limit)?|
|
|
452
|
+
cascade_(num_(candidates|candidate_groups)|(candidate|output)_(change_fraction|limit|stagnation_epochs)|
|
|
453
|
+
weight_multiplier|activation_(functions|steepnesses)(_count)?|(max|min)_(cand|out)_epochs)|
|
|
454
|
+
total_(connections|neurons)|training_algorithm|train_(error|stop)_function|err(no|str)|
|
|
455
|
+
quickprop_(decay|mu)|learning_(momentum|rate)|layer_array|activation_(function|steepness)|
|
|
456
|
+
rprop_((decrease|increase)_factor|delta_(max|min|zero)))
|
|
457
|
+
)\\b`, name: "support.function.fann.php" }, { match: `(?xi)\\b
|
|
458
|
+
(
|
|
459
|
+
symlink|stat|set_file_buffer|chown|chgrp|chmod|copy|clearstatcache|touch|tempnam|tmpfile|
|
|
460
|
+
is_(dir|(uploaded_)?file|executable|link|readable|writ(e)?able)|disk_(free|total)_space|diskfreespace|
|
|
461
|
+
dirname|delete|unlink|umask|pclose|popen|pathinfo|parse_ini_(file|string)|fscanf|fstat|fseek|fnmatch|
|
|
462
|
+
fclose|ftell|ftruncate|file(size|[acm]time|type|inode|owner|perms|group)?|file_(exists|(get|put)_contents)|
|
|
463
|
+
f(open|puts|putcsv|passthru|eof|flush|write|lock|read|gets(s)?|getc(sv)?)|lstat|lchown|lchgrp|link(info)?|
|
|
464
|
+
rename|rewind|read(file|link)|realpath(_cache_(get|size))?|rmdir|glob|move_uploaded_file|mkdir|basename
|
|
465
|
+
)\\b`, name: "support.function.file.php" }, { match: "(?i)\\b(finfo_(set_flags|close|open|file|buffer)|mime_content_type)\\b", name: "support.function.fileinfo.php" }, { match: "(?i)\\bfilter_(has_var|input(_array)?|id|var(_array)?|list)\\b", name: "support.function.filter.php" }, { match: "(?i)\\bfastcgi_finish_request\\b", name: "support.function.fpm.php" }, { match: "(?i)\\b(call_user_(func|method)(_array)?|create_function|unregister_tick_function|forward_static_call(_array)?|function_exists|func_(num_args|get_arg(s)?)|register_(shutdown|tick)_function|get_defined_functions)\\b", name: "support.function.funchand.php" }, { match: "(?i)\\b((n)?gettext|textdomain|d((n)?gettext|c(n)?gettext)|bind(textdomain|_textdomain_codeset))\\b", name: "support.function.gettext.php" }, { match: `(?xi)\\b
|
|
466
|
+
gmp_(
|
|
467
|
+
scan[01]|strval|sign|sub|setbit|sqrt(rem)?|hamdist|neg|nextprime|com|clrbit|cmp|testbit|
|
|
468
|
+
intval|init|invert|import|or|div(exact)?|div_(q|qr|r)|jacobi|popcount|pow(m)?|perfect_square|
|
|
469
|
+
prob_prime|export|fact|legendre|and|add|abs|root(rem)?|random(_(bits|range))?|gcd(ext)?|xor|mod|mul
|
|
470
|
+
)\\b`, name: "support.function.gmp.php" }, { match: "(?i)\\bhash(_(hmac(_file)?|copy|init|update(_(file|stream))?|pbkdf2|equals|file|final|algos))?\\b", name: "support.function.hash.php" }, { match: `(?xi)\\b
|
|
471
|
+
(
|
|
472
|
+
http_(support|send_(status|stream|content_(disposition|type)|data|file|last_modified)|head|
|
|
473
|
+
negotiate_(charset|content_type|language)|chunked_decode|cache_(etag|last_modified)|throttle|
|
|
474
|
+
inflate|deflate|date|post_(data|fields)|put_(data|file|stream)|persistent_handles_(count|clean|ident)|
|
|
475
|
+
parse_(cookie|headers|message|params)|redirect|request(_(method_(exists|name|(un)?register)|body_encode))?|
|
|
476
|
+
get(_request_(headers|body(_stream)?))?|match_(etag|modified|request_header)|build_(cookie|str|url))|
|
|
477
|
+
ob_(etag|deflate|inflate)handler
|
|
478
|
+
)\\b`, name: "support.function.http.php" }, { match: "(?i)\\b(iconv(_(str(pos|len|rpos)|substr|(get|set)_encoding|mime_(decode(_headers)?|encode)))?|ob_iconv_handler)\\b", name: "support.function.iconv.php" }, { match: "(?i)\\biis_((start|stop)_(service|server)|set_(script_map|server_rights|dir_security|app_settings)|(add|remove)_server|get_(script_map|service_state|server_(rights|by_(comment|path))|dir_security))\\b", name: "support.function.iisfunc.php" }, { match: `(?xi)\\b
|
|
479
|
+
(
|
|
480
|
+
iptc(embed|parse)|(jpeg|png)2wbmp|gd_info|getimagesize(fromstring)?|
|
|
481
|
+
image(s[xy]|scale|(char|string)(up)?|set(style|thickness|tile|interpolation|pixel|brush)|savealpha|
|
|
482
|
+
convolution|copy(resampled|resized|merge(gray)?)?|colors(forindex|total)|
|
|
483
|
+
color(set|closest(alpha|hwb)?|transparent|deallocate|(allocate|exact|resolve)(alpha)?|at|match)|
|
|
484
|
+
crop(auto)?|create(truecolor|from(string|jpeg|png|wbmp|webp|gif|gd(2(part)?)?|xpm|xbm))?|
|
|
485
|
+
types|ttf(bbox|text)|truecolortopalette|istruecolor|interlace|2wbmp|destroy|dashedline|jpeg|
|
|
486
|
+
_type_to_(extension|mime_type)|ps(slantfont|text|(encode|extend|free|load)font|bbox)|png|polygon|
|
|
487
|
+
palette(copy|totruecolor)|ellipse|ft(text|bbox)|filter|fill|filltoborder|
|
|
488
|
+
filled(arc|ellipse|polygon|rectangle)|font(height|width)|flip|webp|wbmp|line|loadfont|layereffect|
|
|
489
|
+
antialias|affine(matrix(concat|get))?|alphablending|arc|rotate|rectangle|gif|gd(2)?|gammacorrect|
|
|
490
|
+
grab(screen|window)|xbm)
|
|
491
|
+
)\\b`, name: "support.function.image.php" }, { match: `(?xi)\\b
|
|
492
|
+
(
|
|
493
|
+
sys_get_temp_dir|set_(time_limit|include_path|magic_quotes_runtime)|cli_(get|set)_process_title|
|
|
494
|
+
ini_(alter|get(_all)?|restore|set)|zend_(thread_id|version|logo_guid)|dl|php(credits|info|version)|
|
|
495
|
+
php_(sapi_name|ini_(scanned_files|loaded_file)|uname|logo_guid)|putenv|extension_loaded|version_compare|
|
|
496
|
+
assert(_options)?|restore_include_path|gc_(collect_cycles|disable|enable(d)?)|getopt|
|
|
497
|
+
get_(cfg_var|current_user|defined_constants|extension_funcs|include_path|included_files|loaded_extensions|
|
|
498
|
+
magic_quotes_(gpc|runtime)|required_files|resources)|
|
|
499
|
+
get(env|lastmod|rusage|my(inode|[gup]id))|
|
|
500
|
+
memory_get_(peak_)?usage|main|magic_quotes_runtime
|
|
501
|
+
)\\b`, name: "support.function.info.php" }, { match: `(?xi)\\b
|
|
502
|
+
ibase_(
|
|
503
|
+
set_event_handler|service_(attach|detach)|server_info|num_(fields|params)|name_result|connect|
|
|
504
|
+
commit(_ret)?|close|trans|delete_user|drop_db|db_info|pconnect|param_info|prepare|err(code|msg)|
|
|
505
|
+
execute|query|field_info|fetch_(assoc|object|row)|free_(event_handler|query|result)|wait_event|
|
|
506
|
+
add_user|affected_rows|rollback(_ret)?|restore|gen_id|modify_user|maintain_db|backup|
|
|
507
|
+
blob_(cancel|close|create|import|info|open|echo|add|get)
|
|
508
|
+
)\\b`, name: "support.function.interbase.php" }, { match: `(?xi)\\b
|
|
509
|
+
(
|
|
510
|
+
normalizer_(normalize|is_normalized)|idn_to_(unicode|utf8|ascii)|
|
|
511
|
+
numfmt_(set_(symbol|(text_)?attribute|pattern)|create|(parse|format)(_currency)?|
|
|
512
|
+
get_(symbol|(text_)?attribute|pattern|error_(code|message)|locale))|
|
|
513
|
+
collator_(sort(_with_sort_keys)?|set_(attribute|strength)|compare|create|asort|
|
|
514
|
+
get_(strength|sort_key|error_(code|message)|locale|attribute))|
|
|
515
|
+
transliterator_(create(_(inverse|from_rules))?|transliterate|list_ids|get_error_(code|message))|
|
|
516
|
+
intl(cal|tz)_get_error_(code|message)|intl_(is_failure|error_name|get_error_(code|message))|
|
|
517
|
+
datefmt_(set_(calendar|lenient|pattern|timezone(_id)?)|create|is_lenient|parse|format(_object)?|localtime|
|
|
518
|
+
get_(calendar(_object)?|time(type|zone(_id)?)|datetype|pattern|error_(code|message)|locale))|
|
|
519
|
+
locale_(set_default|compose|canonicalize|parse|filter_matches|lookup|accept_from_http|
|
|
520
|
+
get_(script|display_(script|name|variant|language|region)|default|primary_language|keywords|all_variants|region))|
|
|
521
|
+
resourcebundle_(create|count|locales|get(_(error_(code|message)))?)|
|
|
522
|
+
grapheme_(str(i?str|r?i?pos|len)|substr|extract)|
|
|
523
|
+
msgfmt_(set_pattern|create|(format|parse)(_message)?|get_(pattern|error_(code|message)|locale))
|
|
524
|
+
)\\b`, name: "support.function.intl.php" }, { match: "(?i)\\bjson_(decode|encode|last_error(_msg)?)\\b", name: "support.function.json.php" }, { match: `(?xi)\\b
|
|
525
|
+
ldap_(
|
|
526
|
+
start|tls|sort|search|sasl_bind|set_(option|rebind_proc)|(first|next)_(attribute|entry|reference)|
|
|
527
|
+
connect|control_paged_result(_response)?|count_entries|compare|close|t61_to_8859|8859_to_t61|
|
|
528
|
+
dn2ufn|delete|unbind|parse_(reference|result)|escape|errno|err2str|error|explode_dn|bind|
|
|
529
|
+
free_result|list|add|rename|read|get_(option|dn|entries|values(_len)?|attributes)|modify(_batch)?|
|
|
530
|
+
mod_(add|del|replace)
|
|
531
|
+
)\\b`, name: "support.function.ldap.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.libxml.php" }, { match: "(?i)\\b(ezmlm_hash|mail)\\b", name: "support.function.mail.php" }, { match: `(?xi)\\b
|
|
532
|
+
(
|
|
533
|
+
(a)?(cos|sin|tan)(h)?|sqrt|srand|hypot|hexdec|ceil|is_(nan|(in)?finite)|octdec|dec(hex|oct|bin)|deg2rad|
|
|
534
|
+
pi|pow|exp(m1)?|floor|fmod|lcg_value|log(1(p|0))?|atan2|abs|round|rand|rad2deg|getrandmax|
|
|
535
|
+
mt_(srand|rand|getrandmax)|max|min|bindec|base_convert
|
|
536
|
+
)\\b`, name: "support.function.math.php" }, { match: `(?xi)\\b
|
|
537
|
+
mb_(
|
|
538
|
+
str(cut|str|to(lower|upper)|istr|ipos|imwidth|pos|width|len|rchr|richr|ripos|rpos)|
|
|
539
|
+
substitute_character|substr(_count)?|split|send_mail|http_(input|output)|check_encoding|
|
|
540
|
+
convert_(case|encoding|kana|variables)|internal_encoding|output_handler|decode_(numericentity|mimeheader)|
|
|
541
|
+
detect_(encoding|order)|parse_str|preferred_mime_name|encoding_aliases|encode_(numericentity|mimeheader)|
|
|
542
|
+
ereg(i(_replace)?)?|ereg_(search(_(get(pos|regs)|init|regs|(set)?pos))?|replace(_callback)?|match)|
|
|
543
|
+
list_encodings|language|regex_(set_options|encoding)|get_info
|
|
544
|
+
)\\b`, name: "support.function.mbstring.php" }, { match: `(?xi)\\b
|
|
545
|
+
(
|
|
546
|
+
mcrypt_(
|
|
547
|
+
cfb|create_iv|cbc|ofb|decrypt|encrypt|ecb|list_(algorithms|modes)|generic(_((de)?init|end))?|
|
|
548
|
+
enc_(self_test|is_block_(algorithm|algorithm_mode|mode)|
|
|
549
|
+
get_(supported_key_sizes|(block|iv|key)_size|(algorithms|modes)_name))|
|
|
550
|
+
get_(cipher_name|(block|iv|key)_size)|
|
|
551
|
+
module_(close|self_test|is_block_(algorithm|algorithm_mode|mode)|open|
|
|
552
|
+
get_(supported_key_sizes|algo_(block|key)_size)))|
|
|
553
|
+
mdecrypt_generic
|
|
554
|
+
)\\b`, name: "support.function.mcrypt.php" }, { match: "(?i)\\bmemcache_debug\\b", name: "support.function.memcache.php" }, { match: "(?i)\\bmhash(_(count|keygen_s2k|get_(hash_name|block_size)))?\\b", name: "support.function.mhash.php" }, { match: "(?i)\\b(log_(cmd_(insert|delete|update)|killcursor|write_batch|reply|getmore)|bson_(decode|encode))\\b", name: "support.function.mongo.php" }, { match: `(?xi)\\b
|
|
555
|
+
mysql_(
|
|
556
|
+
stat|set_charset|select_db|num_(fields|rows)|connect|client_encoding|close|create_db|escape_string|
|
|
557
|
+
thread_id|tablename|insert_id|info|data_seek|drop_db|db_(name|query)|unbuffered_query|pconnect|ping|
|
|
558
|
+
errno|error|query|field_(seek|name|type|table|flags|len)|fetch_(object|field|lengths|assoc|array|row)|
|
|
559
|
+
free_result|list_(tables|dbs|processes|fields)|affected_rows|result|real_escape_string|
|
|
560
|
+
get_(client|host|proto|server)_info
|
|
561
|
+
)\\b`, name: "support.function.mysql.php" }, { match: `(?xi)\\b
|
|
562
|
+
mysqli_(
|
|
563
|
+
ssl_set|store_result|stat|send_(query|long_data)|set_(charset|opt|local_infile_(default|handler))|
|
|
564
|
+
stmt_(store_result|send_long_data|next_result|close|init|data_seek|prepare|execute|fetch|free_result|
|
|
565
|
+
attr_(get|set)|result_metadata|reset|get_(result|warnings)|more_results|bind_(param|result))|
|
|
566
|
+
select_db|slave_query|savepoint|next_result|change_user|character_set_name|connect|commit|
|
|
567
|
+
client_encoding|close|thread_safe|init|options|(enable|disable)_(reads_from_master|rpl_parse)|
|
|
568
|
+
dump_debug_info|debug|data_seek|use_result|ping|poll|param_count|prepare|escape_string|execute|
|
|
569
|
+
embedded_server_(start|end)|kill|query|field_seek|free_result|autocommit|rollback|report|refresh|
|
|
570
|
+
fetch(_(object|fields|field(_direct)?|assoc|all|array|row))?|rpl_(parse_enabled|probe|query_type)|
|
|
571
|
+
release_savepoint|reap_async_query|real_(connect|escape_string|query)|more_results|multi_query|
|
|
572
|
+
get_(charset|connection_stats|client_(stats|info|version)|cache_stats|warnings|links_stats|metadata)|
|
|
573
|
+
master_query|bind_(param|result)|begin_transaction
|
|
574
|
+
)\\b`, name: "support.function.mysqli.php" }, { match: "(?i)\\bmysqlnd_memcache_(set|get_config)\\b", name: "support.function.mysqlnd-memcache.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-ms.php" }, { match: "(?i)\\bmysqlnd_qc_(set_(storage_handler|cache_condition|is_select|user_handlers)|clear_cache|get_(normalized_query_trace_log|core_stats|cache_info|query_trace_log|available_handlers))\\b", name: "support.function.mysqlnd-qc.php" }, { match: "(?i)\\bmysqlnd_uh_(set_(statement|connection)_proxy|convert_to_mysqlnd)\\b", name: "support.function.mysqlnd-uh.php" }, { match: `(?xi)\\b
|
|
575
|
+
(
|
|
576
|
+
syslog|socket_(set_(blocking|timeout)|get_status)|set(raw)?cookie|http_response_code|openlog|
|
|
577
|
+
headers_(list|sent)|header(_(register_callback|remove))?|checkdnsrr|closelog|inet_(ntop|pton)|ip2long|
|
|
578
|
+
openlog|dns_(check_record|get_(record|mx))|define_syslog_variables|(p)?fsockopen|long2ip|
|
|
579
|
+
get(servby(name|port)|host(name|by(name(l)?|addr))|protoby(name|number)|mxrr)
|
|
580
|
+
)\\b`, name: "support.function.network.php" }, { match: "(?i)\\bnsapi_(virtual|response_headers|request_headers)\\b", name: "support.function.nsapi.php" }, { match: `(?xi)\\b
|
|
581
|
+
(
|
|
582
|
+
oci(statementtype|setprefetch|serverversion|savelob(file)?|numcols|new(collection|cursor|descriptor)|nlogon|
|
|
583
|
+
column(scale|size|name|type(raw)?|isnull|precision)|coll(size|trim|assign(elem)?|append|getelem|max)|commit|
|
|
584
|
+
closelob|cancel|internaldebug|definebyname|plogon|parse|error|execute|fetch(statement|into)?|
|
|
585
|
+
free(statement|collection|cursor|desc)|write(temporarylob|lobtofile)|loadlob|log(on|off)|rowcount|rollback|
|
|
586
|
+
result|bindbyname)|
|
|
587
|
+
oci_(statement_type|set_(client_(info|identifier)|prefetch|edition|action|module_name)|server_version|
|
|
588
|
+
num_(fields|rows)|new_(connect|collection|cursor|descriptor)|connect|commit|client_version|close|cancel|
|
|
589
|
+
internal_debug|define_by_name|pconnect|password_change|parse|error|execute|bind_(array_)?by_name|
|
|
590
|
+
field_(scale|size|name|type(_raw)?|is_null|precision)|fetch(_(object|assoc|all|array|row))?|
|
|
591
|
+
free_(statement|descriptor)|lob_(copy|is_equal)|rollback|result|get_implicit_resultset)
|
|
592
|
+
)\\b`, name: "support.function.oci8.php" }, { match: "(?i)\\bopcache_(compile_file|invalidate|reset|get_(status|configuration))\\b", name: "support.function.opcache.php" }, { match: `(?xi)\\b
|
|
593
|
+
openssl_(
|
|
594
|
+
sign|spki_(new|export(_challenge)?|verify)|seal|csr_(sign|new|export(_to_file)?|get_(subject|public_key))|
|
|
595
|
+
cipher_iv_length|open|dh_compute_key|digest|decrypt|public_(decrypt|encrypt)|encrypt|error_string|
|
|
596
|
+
pkcs12_(export(_to_file)?|read)|pkcs7_(sign|decrypt|encrypt|verify)|verify|free_key|random_pseudo_bytes|
|
|
597
|
+
pkey_(new|export(_to_file)?|free|get_(details|public|private))|private_(decrypt|encrypt)|pbkdf2|
|
|
598
|
+
get_((cipher|md)_methods|cert_locations|(public|private)key)|
|
|
599
|
+
x509_(check_private_key|checkpurpose|parse|export(_to_file)?|fingerprint|free|read)
|
|
600
|
+
)\\b`, name: "support.function.openssl.php" }, { match: `(?xi)\\b
|
|
601
|
+
(
|
|
602
|
+
output_(add_rewrite_var|reset_rewrite_vars)|flush|
|
|
603
|
+
ob_(start|clean|implicit_flush|end_(clean|flush)|flush|list_handlers|gzhandler|
|
|
604
|
+
get_(status|contents|clean|flush|length|level))
|
|
605
|
+
)\\b`, name: "support.function.output.php" }, { match: "(?i)\\bpassword_(hash|needs_rehash|verify|get_info)\\b", name: "support.function.password.php" }, { match: `(?xi)\\b
|
|
606
|
+
pcntl_(
|
|
607
|
+
strerror|signal(_dispatch)?|sig(timedwait|procmask|waitinfo)|setpriority|errno|exec|fork|
|
|
608
|
+
w(stopsig|termsig|if(stopped|signaled|exited))|wait(pid)?|alarm|getpriority|get_last_error
|
|
609
|
+
)\\b`, name: "support.function.pcntl.php" }, { match: `(?xi)\\b
|
|
610
|
+
pg_(
|
|
611
|
+
socket|send_(prepare|execute|query(_params)?)|set_(client_encoding|error_verbosity)|select|host|
|
|
612
|
+
num_(fields|rows)|consume_input|connection_(status|reset|busy)|connect(_poll)?|convert|copy_(from|to)|
|
|
613
|
+
client_encoding|close|cancel_query|tty|transaction_status|trace|insert|options|delete|dbname|untrace|
|
|
614
|
+
unescape_bytea|update|pconnect|ping|port|put_line|parameter_status|prepare|version|query(_params)?|
|
|
615
|
+
escape_(string|identifier|literal|bytea)|end_copy|execute|flush|free_result|last_(notice|error|oid)|
|
|
616
|
+
field_(size|num|name|type(_oid)?|table|is_null|prtlen)|affected_rows|result_(status|seek|error(_field)?)|
|
|
617
|
+
fetch_(object|assoc|all(_columns)?|array|row|result)|get_(notify|pid|result)|meta_data|
|
|
618
|
+
lo_(seek|close|create|tell|truncate|import|open|unlink|export|write|read(_all)?)|
|
|
619
|
+
)\\b`, name: "support.function.pgsql.php" }, { match: "(?i)\\b(virtual|getallheaders|apache_((get|set)env|note|child_terminate|lookup_uri|response_headers|reset_timeout|request_headers|get_(version|modules)))\\b", name: "support.function.php_apache.php" }, { match: "(?i)\\bdom_import_simplexml\\b", name: "support.function.php_dom.php" }, { match: `(?xi)\\b
|
|
620
|
+
ftp_(
|
|
621
|
+
ssl_connect|systype|site|size|set_option|nlist|nb_(continue|f?(put|get))|ch(dir|mod)|connect|cdup|close|
|
|
622
|
+
delete|put|pwd|pasv|exec|quit|f(put|get)|login|alloc|rename|raw(list)?|rmdir|get(_option)?|mdtm|mkdir
|
|
623
|
+
)\\b`, name: "support.function.php_ftp.php" }, { match: `(?xi)\\b
|
|
624
|
+
imap_(
|
|
625
|
+
(create|delete|list|rename|scan)(mailbox)?|status|sort|subscribe|set_quota|set(flag_full|acl)|search|savebody|
|
|
626
|
+
num_(recent|msg)|check|close|clearflag_full|thread|timeout|open|header(info)?|headers|append|alerts|reopen|
|
|
627
|
+
8bit|unsubscribe|undelete|utf7_(decode|encode)|utf8|uid|ping|errors|expunge|qprint|gc|
|
|
628
|
+
fetch(structure|header|text|mime|body)|fetch_overview|lsub|list(scan|subscribed)|last_error|
|
|
629
|
+
rfc822_(parse_(headers|adrlist)|write_address)|get(subscribed|acl|mailboxes)|get_quota(root)?|
|
|
630
|
+
msgno|mime_header_decode|mail_(copy|compose|move)|mail|mailboxmsginfo|binary|body(struct)?|base64
|
|
631
|
+
)\\b`, name: "support.function.php_imap.php" }, { match: `(?xi)\\b
|
|
632
|
+
mssql_(
|
|
633
|
+
select_db|num_(fields|rows)|next_result|connect|close|init|data_seek|pconnect|execute|query|
|
|
634
|
+
field_(seek|name|type|length)|fetch_(object|field|assoc|array|row|batch)|free_(statement|result)|
|
|
635
|
+
rows_affected|result|guid_string|get_last_message|min_(error|message)_severity|bind
|
|
636
|
+
)\\b`, name: "support.function.php_mssql.php" }, { match: `(?xi)\\b
|
|
637
|
+
odbc_(
|
|
638
|
+
statistics|specialcolumns|setoption|num_(fields|rows)|next_result|connect|columns|columnprivileges|commit|
|
|
639
|
+
cursor|close(_all)?|tables|tableprivileges|do|data_source|pconnect|primarykeys|procedures|procedurecolumns|
|
|
640
|
+
prepare|error(msg)?|exec(ute)?|field_(scale|num|name|type|precision|len)|foreignkeys|free_result|
|
|
641
|
+
fetch_(into|object|array|row)|longreadlen|autocommit|rollback|result(_all)?|gettypeinfo|binmode
|
|
642
|
+
)\\b`, name: "support.function.php_odbc.php" }, { match: "(?i)\\bpreg_(split|quote|filter|last_error|replace(_callback)?|grep|match(_all)?)\\b", name: "support.function.php_pcre.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_spl.php" }, { match: "(?i)\\bzip_(close|open|entry_(name|compressionmethod|compressedsize|close|open|filesize|read)|read)\\b", name: "support.function.php_zip.php" }, { match: `(?xi)\\b
|
|
643
|
+
posix_(
|
|
644
|
+
strerror|set(s|e?u|[ep]?g)id|ctermid|ttyname|times|isatty|initgroups|uname|errno|kill|access|
|
|
645
|
+
get(sid|cwd|uid|pid|ppid|pwnam|pwuid|pgid|pgrp|euid|egid|login|rlimit|gid|grnam|groups|grgid)|
|
|
646
|
+
get_last_error|mknod|mkfifo
|
|
647
|
+
)\\b`, name: "support.function.posix.php" }, { match: "(?i)\\bset(thread|proc)title\\b", name: "support.function.proctitle.php" }, { match: `(?xi)\\b
|
|
648
|
+
pspell_(
|
|
649
|
+
store_replacement|suggest|save_wordlist|new(_(config|personal))?|check|clear_session|
|
|
650
|
+
config_(save_repl|create|ignore|(data|dict)_dir|personal|runtogether|repl|mode)|add_to_(session|personal)
|
|
651
|
+
)\\b`, name: "support.function.pspell.php" }, { match: "(?i)\\breadline(_(completion_function|clear_history|callback_(handler_(install|remove)|read_char)|info|on_new_line|write_history|list_history|add_history|redisplay|read_history))?\\b", name: "support.function.readline.php" }, { match: "(?i)\\brecode(_(string|file))?\\b", name: "support.function.recode.php" }, { match: "(?i)\\brrd(c_disconnect|_(create|tune|info|update|error|version|first|fetch|last(update)?|restore|graph|xport))\\b", name: "support.function.rrd.php" }, { match: `(?xi)\\b
|
|
652
|
+
(
|
|
653
|
+
shm_((get|has|remove|put)_var|detach|attach|remove)|sem_(acquire|release|remove|get)|ftok|
|
|
654
|
+
msg_((get|remove|set|stat)_queue|send|queue_exists|receive)
|
|
655
|
+
)\\b`, name: "support.function.sem.php" }, { match: `(?xi)\\b
|
|
656
|
+
session_(
|
|
657
|
+
status|start|set_(save_handler|cookie_params)|save_path|name|commit|cache_(expire|limiter)|
|
|
658
|
+
is_registered|id|destroy|decode|unset|unregister|encode|write_close|abort|reset|register(_shutdown)?|
|
|
659
|
+
regenerate_id|get_cookie_params|module_name
|
|
660
|
+
)\\b`, name: "support.function.session.php" }, { match: "(?i)\\bshmop_(size|close|open|delete|write|read)\\b", name: "support.function.shmop.php" }, { match: "(?i)\\bsimplexml_(import_dom|load_(string|file))\\b", name: "support.function.simplexml.php" }, { match: `(?xi)\\b
|
|
661
|
+
(
|
|
662
|
+
snmp(walk(oid)?|realwalk|get(next)?|set)|
|
|
663
|
+
snmp_(set_(valueretrieval|quick_print|enum_print|oid_(numeric_print|output_format))|read_mib|
|
|
664
|
+
get_(valueretrieval|quick_print))|
|
|
665
|
+
snmp[23]_(set|walk|real_walk|get(next)?)
|
|
666
|
+
)\\b`, name: "support.function.snmp.php" }, { match: "(?i)\\b(is_soap_fault|use_soap_error_handler)\\b", name: "support.function.soap.php" }, { match: `(?xi)\\b
|
|
667
|
+
socket_(
|
|
668
|
+
shutdown|strerror|send(to|msg)?|set_((non)?block|option)|select|connect|close|clear_error|bind|
|
|
669
|
+
create(_(pair|listen))?|cmsg_space|import_stream|write|listen|last_error|accept|recv(from|msg)?|
|
|
670
|
+
read|get(peer|sock)name|get_option
|
|
671
|
+
)\\b`, name: "support.function.sockets.php" }, { match: `(?xi)\\b
|
|
672
|
+
sqlite_(
|
|
673
|
+
single_query|seek|has_(more|prev)|num_(fields|rows)|next|changes|column|current|close|
|
|
674
|
+
create_(aggregate|function)|open|unbuffered_query|udf_(decode|encode)_binary|popen|prev|
|
|
675
|
+
escape_string|error_string|exec|valid|key|query|field_name|factory|
|
|
676
|
+
fetch_(string|single|column_types|object|all|array)|lib(encoding|version)|
|
|
677
|
+
last_(insert_rowid|error)|array_query|rewind|busy_timeout
|
|
678
|
+
)\\b`, name: "support.function.sqlite.php" }, { match: `(?xi)\\b
|
|
679
|
+
sqlsrv_(
|
|
680
|
+
send_stream_data|server_info|has_rows|num_(fields|rows)|next_result|connect|configure|commit|
|
|
681
|
+
client_info|close|cancel|prepare|errors|execute|query|field_metadata|fetch(_(array|object))?|
|
|
682
|
+
free_stmt|rows_affected|rollback|get_(config|field)|begin_transaction
|
|
683
|
+
)\\b`, name: "support.function.sqlsrv.php" }, { match: `(?xi)\\b
|
|
684
|
+
stats_(
|
|
685
|
+
harmonic_mean|covariance|standard_deviation|skew|
|
|
686
|
+
cdf_(noncentral_(chisquare|f)|negative_binomial|chisquare|cauchy|t|uniform|poisson|exponential|f|weibull|
|
|
687
|
+
logistic|laplace|gamma|binomial|beta)|
|
|
688
|
+
stat_(noncentral_t|correlation|innerproduct|independent_t|powersum|percentile|paired_t|gennch|binomial_coef)|
|
|
689
|
+
dens_(normal|negative_binomial|chisquare|cauchy|t|pmf_(hypergeometric|poisson|binomial)|exponential|f|
|
|
690
|
+
weibull|logistic|laplace|gamma|beta)|
|
|
691
|
+
den_uniform|variance|kurtosis|absolute_deviation|
|
|
692
|
+
rand_(setall|phrase_to_seeds|ranf|get_seeds|
|
|
693
|
+
gen_(noncentral_[ft]|noncenral_chisquare|normal|chisquare|t|int|
|
|
694
|
+
i(uniform|poisson|binomial(_negative)?)|exponential|f(uniform)?|gamma|beta))
|
|
695
|
+
)\\b`, name: "support.function.stats.php" }, { match: `(?xi)\\b
|
|
696
|
+
(
|
|
697
|
+
set_socket_blocking|
|
|
698
|
+
stream_(socket_(shutdown|sendto|server|client|pair|enable_crypto|accept|recvfrom|get_name)|
|
|
699
|
+
set_(chunk_size|timeout|(read|write)_buffer|blocking)|select|notification_callback|supports_lock|
|
|
700
|
+
context_(set_(option|default|params)|create|get_(options|default|params))|copy_to_stream|is_local|
|
|
701
|
+
encoding|filter_(append|prepend|register|remove)|wrapper_((un)?register|restore)|
|
|
702
|
+
resolve_include_path|register_wrapper|get_(contents|transports|filters|wrappers|line|meta_data)|
|
|
703
|
+
bucket_(new|prepend|append|make_writeable)
|
|
704
|
+
)
|
|
705
|
+
)\\b`, name: "support.function.streamsfuncs.php" }, { match: `(?xi)\\b
|
|
706
|
+
(
|
|
707
|
+
money_format|md5(_file)?|metaphone|bin2hex|sscanf|sha1(_file)?|
|
|
708
|
+
str(str|c?spn|n(at)?(case)?cmp|chr|coll|(case)?cmp|to(upper|lower)|tok|tr|istr|pos|pbrk|len|rchr|ri?pos|rev)|
|
|
709
|
+
str_(getcsv|ireplace|pad|repeat|replace|rot13|shuffle|split|word_count)|
|
|
710
|
+
strip(c?slashes|os)|strip_tags|similar_text|soundex|substr(_(count|compare|replace))?|setlocale|
|
|
711
|
+
html(specialchars(_decode)?|entities)|html_entity_decode|hex2bin|hebrev(c)?|number_format|nl2br|nl_langinfo|
|
|
712
|
+
chop|chunk_split|chr|convert_(cyr_string|uu(decode|encode))|count_chars|crypt|crc32|trim|implode|ord|
|
|
713
|
+
uc(first|words)|join|parse_str|print(f)?|echo|explode|v?[fs]?printf|quoted_printable_(decode|encode)|
|
|
714
|
+
quotemeta|wordwrap|lcfirst|[lr]trim|localeconv|levenshtein|addc?slashes|get_html_translation_table
|
|
715
|
+
)\\b`, name: "support.function.string.php" }, { match: `(?xi)\\b
|
|
716
|
+
sybase_(
|
|
717
|
+
set_message_handler|select_db|num_(fields|rows)|connect|close|deadlock_retry_count|data_seek|
|
|
718
|
+
unbuffered_query|pconnect|query|field_seek|fetch_(object|field|assoc|array|row)|free_result|
|
|
719
|
+
affected_rows|result|get_last_message|min_(client|error|message|server)_severity
|
|
720
|
+
)\\b`, name: "support.function.sybase.php" }, { match: "(?i)\\b(taint|is_tainted|untaint)\\b", name: "support.function.taint.php" }, { match: `(?xi)\\b
|
|
721
|
+
(
|
|
722
|
+
tidy_((get|set)opt|set_encoding|save_config|config_count|clean_repair|is_(xhtml|xml)|diagnose|
|
|
723
|
+
(access|error|warning)_count|load_config|reset_config|(parse|repair)_(string|file)|
|
|
724
|
+
get_(status|html(_ver)?|head|config|output|opt_doc|root|release|body))|
|
|
725
|
+
ob_tidyhandler
|
|
726
|
+
)\\b`, name: "support.function.tidy.php" }, { match: "(?i)\\btoken_(name|get_all)\\b", name: "support.function.tokenizer.php" }, { match: `(?xi)\\b
|
|
727
|
+
trader_(
|
|
728
|
+
stoch(f|r|rsi)?|stddev|sin(h)?|sum|sub|set_(compat|unstable_period)|sqrt|sar(ext)?|sma|
|
|
729
|
+
ht_(sine|trend(line|mode)|dc(period|phase)|phasor)|natr|cci|cos(h)?|correl|
|
|
730
|
+
cdl(shootingstar|shortline|sticksandwich|stalledpattern|spinningtop|separatinglines|
|
|
731
|
+
hikkake(mod)?|highwave|homingpigeon|hangingman|harami(cross)?|hammer|concealbabyswall|
|
|
732
|
+
counterattack|closingmarubozu|thrusting|tasukigap|takuri|tristar|inneck|invertedhammer|
|
|
733
|
+
identical3crows|2crows|onneck|doji(star)?|darkcloudcover|dragonflydoji|unique3river|
|
|
734
|
+
upsidegap2crows|3(starsinsouth|inside|outside|whitesoldiers|linestrike|blackcrows)|
|
|
735
|
+
piercing|engulfing|evening(doji)?star|kicking(bylength)?|longline|longleggeddoji|
|
|
736
|
+
ladderbottom|advanceblock|abandonedbaby|risefall3methods|rickshawman|gapsidesidewhite|
|
|
737
|
+
gravestonedoji|xsidegap3methods|morning(doji)?star|mathold|matchinglow|marubozu|
|
|
738
|
+
belthold|breakaway)|
|
|
739
|
+
ceil|cmo|tsf|typprice|t3|tema|tan(h)?|trix|trima|trange|obv|div|dema|dx|ultosc|ppo|
|
|
740
|
+
plus_d[im]|errno|exp|ema|var|kama|floor|wclprice|willr|wma|ln|log10|bop|beta|bbands|
|
|
741
|
+
linearreg(_(slope|intercept|angle))?|asin|acos|atan|atr|adosc|ad|add|adx(r)?|apo|avgprice|
|
|
742
|
+
aroon(osc)?|rsi|roc|rocp|rocr(100)?|get_(compat|unstable_period)|min(index)?|minus_d[im]|
|
|
743
|
+
minmax(index)?|mid(point|price)|mom|mult|medprice|mfi|macd(ext|fix)?|mavp|max(index)?|ma(ma)?
|
|
744
|
+
)\\b`, name: "support.function.trader.php" }, { match: "(?i)\\buopz_(copy|compose|implement|overload|delete|undefine|extend|function|flags|restore|rename|redefine|backup)\\b", name: "support.function.uopz.php" }, { match: "(?i)\\b(http_build_query|(raw)?url(decode|encode)|parse_url|get_(headers|meta_tags)|base64_(decode|encode))\\b", name: "support.function.url.php" }, { match: `(?xi)\\b
|
|
745
|
+
(
|
|
746
|
+
strval|settype|serialize|(bool|double|float)val|debug_zval_dump|intval|import_request_variables|isset|
|
|
747
|
+
is_(scalar|string|null|numeric|callable|int(eger)?|object|double|float|long|array|resource|real|bool)|
|
|
748
|
+
unset|unserialize|print_r|empty|var_(dump|export)|gettype|get_(defined_vars|resource_type)
|
|
749
|
+
)\\b`, name: "support.function.var.php" }, { match: "(?i)\\bwddx_(serialize_(value|vars)|deserialize|packet_(start|end)|add_vars)\\b", name: "support.function.wddx.php" }, { match: "(?i)\\bxhprof_(sample_)?(disable|enable)\\b", name: "support.function.xhprof.php" }, { match: `(?xi)
|
|
750
|
+
\\b
|
|
751
|
+
(
|
|
752
|
+
utf8_(decode|encode)|
|
|
753
|
+
xml_(set_((notation|(end|start)_namespace|unparsed_entity)_decl_handler|
|
|
754
|
+
(character_data|default|element|external_entity_ref|processing_instruction)_handler|object)|
|
|
755
|
+
parse(_into_struct)?|parser_((get|set)_option|create(_ns)?|free)|error_string|
|
|
756
|
+
get_(current_((column|line)_number|byte_index)|error_code))
|
|
757
|
+
)\\b`, name: "support.function.xml.php" }, { match: `(?xi)\\b
|
|
758
|
+
xmlrpc_(
|
|
759
|
+
server_(call_method|create|destroy|add_introspection_data|register_(introspection_callback|method))|
|
|
760
|
+
is_fault|decode(_request)?|parse_method_descriptions|encode(_request)?|(get|set)_type
|
|
761
|
+
)\\b`, name: "support.function.xmlrpc.php" }, { match: `(?xi)\\b
|
|
762
|
+
xmlwriter_(
|
|
763
|
+
(end|start|write)_(comment|cdata|dtd(_(attlist|entity|element))?|document|pi|attribute|element)|
|
|
764
|
+
(start|write)_(attribute|element)_ns|write_raw|set_indent(_string)?|text|output_memory|open_(memory|uri)|
|
|
765
|
+
full_end_element|flush|
|
|
766
|
+
)\\b`, name: "support.function.xmlwriter.php" }, { match: `(?xi)\\b
|
|
767
|
+
(
|
|
768
|
+
zlib_(decode|encode|get_coding_type)|readgzfile|
|
|
769
|
+
gz(seek|compress|close|tell|inflate|open|decode|deflate|uncompress|puts|passthru|encode|eof|file|
|
|
770
|
+
write|rewind|read|getc|getss?)
|
|
771
|
+
)\\b`, name: "support.function.zlib.php" }, { match: "(?i)\\bis_int(eger)?\\b", name: "support.function.alias.php" }] }, switch_statement: { patterns: [{ match: "\\s+(?=switch\\b)" }, { begin: "\\bswitch\\b(?!\\s*\\(.*\\)\\s*:)", beginCaptures: { 0: { name: "keyword.control.switch.php" } }, end: "}|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.section.switch-block.end.bracket.curly.php" } }, name: "meta.switch-statement.php", patterns: [{ begin: "\\(", beginCaptures: { 0: { name: "punctuation.definition.switch-expression.begin.bracket.round.php" } }, end: "\\)|(?=\\?>)", endCaptures: { 0: { name: "punctuation.definition.switch-expression.end.bracket.round.php" } }, patterns: [{ include: "$self" }] }, { begin: "{", beginCaptures: { 0: { name: "punctuation.definition.section.switch-block.begin.bracket.curly.php" } }, end: "(?=}|\\?>)", patterns: [{ include: "$self" }] }] }] }, ternary_expression: { begin: "\\?", beginCaptures: { 0: { name: "keyword.operator.ternary.php" } }, end: "(?<!:):(?!:)", endCaptures: { 0: { name: "keyword.operator.ternary.php" } }, patterns: [{ captures: { 1: { patterns: [{ include: "$self" }] } }, match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(?=:(?!:))" }, { include: "$self" }] }, ternary_shorthand: { match: "\\?:", name: "keyword.operator.ternary.php" }, "use-inner": { patterns: [{ include: "#comments" }, { begin: "(?i)\\b(as)\\s+", beginCaptures: { 1: { name: "keyword.other.use-as.php" } }, end: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", endCaptures: { 0: { name: "entity.other.alias.php" } } }, { include: "#class-name" }, { match: ",", name: "punctuation.separator.delimiter.php" }] }, var_basic: { patterns: [{ captures: { 1: { name: "punctuation.definition.variable.php" } }, match: "(?i)(\\$+)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*", name: "variable.other.php" }] }, var_global: { captures: { 1: { name: "punctuation.definition.variable.php" } }, match: "(\\$)((_(COOKIE|FILES|GET|POST|REQUEST))|arg(v|c))\\b", name: "variable.other.global.php" }, var_global_safer: { captures: { 1: { name: "punctuation.definition.variable.php" } }, match: "(\\$)((GLOBALS|_(ENV|SERVER|SESSION)))", name: "variable.other.global.safer.php" }, var_language: { captures: { 1: { name: "punctuation.definition.variable.php" } }, match: "(\\$)this\\b", name: "variable.language.this.php" }, "variable-name": { patterns: [{ include: "#var_global" }, { include: "#var_global_safer" }, { captures: { 1: { name: "variable.other.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" }, 10: { name: "string.unquoted.index.php" }, 11: { name: "punctuation.section.array.end.php" } }, match: `(?xi)
|
|
772
|
+
((\\$)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))\\s*
|
|
773
|
+
(?:
|
|
774
|
+
(\\??->)\\s*(\\g<name>)
|
|
775
|
+
|
|
|
776
|
+
(\\[)(?:(\\d+)|((\\$)\\g<name>)|([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*))(\\])
|
|
777
|
+
)?` }, { captures: { 1: { name: "variable.other.php" }, 2: { name: "punctuation.definition.variable.php" }, 4: { name: "punctuation.definition.variable.php" } }, match: "(?i)((\\${)(?<name>[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)(}))" }] }, variables: { patterns: [{ include: "#var_language" }, { include: "#var_global" }, { include: "#var_global_safer" }, { include: "#var_basic" }, { begin: "\\${(?=.*?})", beginCaptures: { 0: { name: "punctuation.definition.variable.php" } }, end: "}", endCaptures: { 0: { name: "punctuation.definition.variable.php" } }, patterns: [{ include: "$self" }] }] } }, scopeName: "source.php", embeddedLangs: ["html", "xml", "sql", "javascript", "json", "css"] });
|
|
778
|
+
var u = [
|
|
779
|
+
...e,
|
|
780
|
+
...t,
|
|
781
|
+
...n,
|
|
782
|
+
...a,
|
|
783
|
+
...r,
|
|
784
|
+
...i,
|
|
785
|
+
p
|
|
786
|
+
];
|
|
787
|
+
export {
|
|
788
|
+
u as default
|
|
789
|
+
};
|