php-kilo/tests/__snapshots__/EditorTest__testOpenPHP__1.json
Timothy Warren c8be79d2d8
Some checks failed
timw4mail/php-kilo/pipeline/head There was a failure building this commit
Add more attributes to test file
2022-09-01 09:29:07 -04:00

7703 lines
224 KiB
JSON

{
"cursor": {
"x": 0,
"y": 0
},
"document": {
"fileType": {
"name": "PHP",
"syntax": {
"tokens": [],
"filetype": "PHP",
"keywords1": [],
"keywords2": [],
"operators": [],
"singleLineCommentStart": "\/\/",
"multiLineCommentStart": "\/*",
"multiLineCommentEnd": "*\/"
}
},
"tokens": {
"1": [
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 1
},
{
"type": 299,
"typeName": "T_DECLARE",
"char": "declare",
"line": 1
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 1
},
{
"type": 262,
"typeName": "T_STRING",
"char": "strict_types",
"line": 1
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 1
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 1
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 1
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 1
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 1
}
],
"2": [],
"3": [
{
"type": 335,
"typeName": "T_INTERFACE",
"char": "interface",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 3
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 3
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 3
}
],
"4": [],
"5": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ Let's see emoji! \ud83d\udd6f\ufe0f\ud83d\ude38\u26e9\u26ea",
"line": 5
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 5
}
],
"6": [
{
"type": 322,
"typeName": "T_ABSTRACT",
"char": "abstract",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Foo",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 338,
"typeName": "T_IMPLEMENTS",
"char": "implements",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 6
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 6
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 6
}
],
"7": [
{
"type": 388,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
"line": 7,
"original": {
"string": "\/**\n * @param int $a\n * @param float $b\n * @param array $c\n * @param callable $d\n * @param string $e\n * @return string\n *\/",
"lines": [
"\/**",
" * @param int $a",
" * @param float $b",
" * @param array $c",
" * @param callable $d",
" * @param string $e",
" * @return string",
" *\/"
]
}
}
],
"8": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param int $a",
"line": 8
}
],
"9": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param float $b",
"line": 9
}
],
"10": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param array $c",
"line": 10
}
],
"11": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param callable $d",
"line": 11
}
],
"12": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param string $e",
"line": 12
}
],
"13": [
{
"type": -1,
"typeName": "RAW",
"char": " * @return string",
"line": 13
}
],
"14": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 14
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 14
}
],
"15": [
{
"type": 322,
"typeName": "T_ABSTRACT",
"char": "abstract",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 15
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "float",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 342,
"typeName": "T_CALLABLE",
"char": "callable",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 15
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$e",
"line": 15
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 15
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 15
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 15
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 15
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 15
}
],
"16": [],
"17": [
{
"type": 351,
"typeName": "T_ATTRIBUTE",
"char": "#[",
"line": 17
},
{
"type": 262,
"typeName": "T_STRING",
"char": "ReturnTypeWillChange",
"line": 17
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 17
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 17
}
],
"18": [
{
"type": 325,
"typeName": "T_PROTECTED",
"char": "protected",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 18
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 18
},
{
"type": 262,
"typeName": "T_STRING",
"char": "doNothing",
"line": 18
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 18
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 18
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 18
},
{
"type": 262,
"typeName": "T_STRING",
"char": "void",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 18
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 18
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 18
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 18
}
],
"19": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 19
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 19
}
],
"20": [],
"21": [
{
"type": 351,
"typeName": "T_ATTRIBUTE",
"char": "#[",
"line": 21
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Attribute",
"line": 21
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 21
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 21
}
],
"22": [
{
"type": 351,
"typeName": "T_ATTRIBUTE",
"char": "#[",
"line": 22
},
{
"type": 262,
"typeName": "T_STRING",
"char": "AllowDynamicProperties",
"line": 22
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 22
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 22
}
],
"23": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 23
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 23
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Test",
"line": 23
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 23
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 23
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 23
}
],
"24": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 262,
"typeName": "T_STRING",
"char": "__construct",
"line": 24
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 24
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$foo",
"line": 24
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bar",
"line": 24
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 24
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 24
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 24
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 24
}
],
"25": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 25
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 25
}
],
"26": [],
"27": [
{
"type": 388,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
"line": 27,
"original": {
"string": "\/**\n * Docblock comment\n *\/",
"lines": [
"\/**",
" * Docblock comment",
" *\/"
]
}
}
],
"28": [
{
"type": -1,
"typeName": "RAW",
"char": " * Docblock comment",
"line": 28
}
],
"29": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 29
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 29
}
],
"30": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 262,
"typeName": "T_STRING",
"char": "FooBar",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 337,
"typeName": "T_EXTENDS",
"char": "extends",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Foo",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 338,
"typeName": "T_IMPLEMENTS",
"char": "implements",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 30
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 30
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 30
}
],
"31": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 31
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 31
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "float",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 31
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 31
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 342,
"typeName": "T_CALLABLE",
"char": "callable",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 31
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 351,
"typeName": "T_ATTRIBUTE",
"char": "#[",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "SensitiveParameter",
"line": 31
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$e",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'default'",
"line": 31
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 31
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 31
},
{
"type": 262,
"typeName": "T_STRING",
"char": "string",
"line": 31
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 31
}
],
"32": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 32
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 32
}
],
"33": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$cstr",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 262,
"typeName": "T_STRING",
"char": "print_r",
"line": 33
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 33
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 33
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 33
},
{
"type": 262,
"typeName": "T_STRING",
"char": "TRUE",
"line": 33
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 33
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 33
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 33
}
],
"34": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$d",
"line": 34
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 34
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 34
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 34
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 34
}
],
"35": [],
"36": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$r",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$this",
"line": 36
},
{
"type": 384,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
"line": 36
},
{
"type": 262,
"typeName": "T_STRING",
"char": "operations",
"line": 36
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 36
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 36
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 36
},
{
"type": 377,
"typeName": "T_INT_CAST",
"char": "(int)",
"line": 36
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 36
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 36
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 36
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 36
}
],
"37": [],
"38": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 38
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 38
},
{
"type": 396,
"typeName": "T_CURLY_OPEN",
"char": "{",
"line": 38
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 38
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 38
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
"line": 38
},
{
"type": 395,
"typeName": "T_DOLLAR_OPEN_CURLY_BRACES",
"char": "${",
"line": 38
},
{
"type": 270,
"typeName": "T_STRING_VARNAME",
"char": "b",
"line": 38
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 38
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
"line": 38
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 38
},
{
"type": 46,
"typeName": ".",
"char": ".",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 38
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$cstr",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 38
},
{
"type": 46,
"typeName": ".",
"char": ".",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 38
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 38
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " = ",
"line": 38
},
{
"type": 396,
"typeName": "T_CURLY_OPEN",
"char": "{",
"line": 38
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$r",
"line": 38
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 38
},
{
"type": 34,
"typeName": "\"",
"char": "\"",
"line": 38
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 38
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 38
}
],
"39": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 39
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 39
}
],
"40": [],
"41": [
{
"type": 351,
"typeName": "T_ATTRIBUTE",
"char": "#[",
"line": 41
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Test",
"line": 41
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 41
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'a'",
"line": 41
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 41
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 41
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'b'",
"line": 41
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 41
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 41
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 41
}
],
"42": [
{
"type": 324,
"typeName": "T_PRIVATE",
"char": "private",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 262,
"typeName": "T_STRING",
"char": "operations",
"line": 42
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 42
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 42
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 42
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 42
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 42
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 42
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 42
}
],
"43": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 43
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 43
}
],
"44": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$this",
"line": 44
},
{
"type": 385,
"typeName": "T_NULLSAFE_OBJECT_OPERATOR",
"char": "?->",
"line": 44
},
{
"type": 262,
"typeName": "T_STRING",
"char": "x",
"line": 44
},
{
"type": 385,
"typeName": "T_NULLSAFE_OBJECT_OPERATOR",
"char": "?->",
"line": 44
},
{
"type": 262,
"typeName": "T_STRING",
"char": "bar",
"line": 44
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 44
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 44
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 44
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 44
}
],
"45": [],
"46": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$this",
"line": 46
},
{
"type": 384,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
"line": 46
},
{
"type": 262,
"typeName": "T_STRING",
"char": "doNothing",
"line": 46
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 46
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 46
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 46
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 46
}
],
"47": [],
"48": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 48
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 48
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 48
},
{
"type": 43,
"typeName": "+",
"char": "+",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 48
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 48
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 48
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 48
}
],
"49": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 49
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 49
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 49
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 49
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 49
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 49
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 49
}
],
"50": [],
"51": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 51
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 51
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 51
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 51
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 51
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 51
},
{
"type": 42,
"typeName": "*",
"char": "*",
"line": 51
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 51
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 51
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 51
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 51
}
],
"52": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$b",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 377,
"typeName": "T_INT_CAST",
"char": "(int)",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 52
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 47,
"typeName": "\/",
"char": "\/",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 52
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$a",
"line": 52
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 52
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 52
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
"line": 52
}
],
"53": [],
"54": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 54
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 54
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$c",
"line": 54
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 54
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 54
}
],
"55": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 55
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 55
}
],
"56": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 56
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 56
}
],
"57": [],
"58": [
{
"type": 334,
"typeName": "T_TRAIT",
"char": "trait",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 58
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Baz",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 58
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 58
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 58
}
],
"59": [
{
"type": 326,
"typeName": "T_PUBLIC",
"char": "public",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 59
},
{
"type": 310,
"typeName": "T_FUNCTION",
"char": "function",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 59
},
{
"type": 262,
"typeName": "T_STRING",
"char": "about",
"line": 59
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 59
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 59
},
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 59
},
{
"type": 341,
"typeName": "T_ARRAY",
"char": "array",
"line": 59
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 59
}
],
"60": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 60
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 60
}
],
"61": [
{
"type": 313,
"typeName": "T_RETURN",
"char": "return",
"line": 61
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 61
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 61
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 61
}
],
"62": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__CLASS__'",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 62
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 62
},
{
"type": 346,
"typeName": "T_CLASS_C",
"char": "__CLASS__",
"line": 62
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 62
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 62
}
],
"63": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__DIR__'",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 63
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 63
},
{
"type": 345,
"typeName": "T_DIR",
"char": "__DIR__",
"line": 63
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 63
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 63
}
],
"64": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__FILE__'",
"line": 64
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 64
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 64
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 64
},
{
"type": 344,
"typeName": "T_FILE",
"char": "__FILE__",
"line": 64
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 64
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 64
}
],
"65": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__FUNCTION__'",
"line": 65
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 65
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 65
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 65
},
{
"type": 349,
"typeName": "T_FUNC_C",
"char": "__FUNCTION__",
"line": 65
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 65
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 65
}
],
"66": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__LINE__'",
"line": 66
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 66
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 66
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 66
},
{
"type": 343,
"typeName": "T_LINE",
"char": "__LINE__",
"line": 66
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 66
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 66
}
],
"67": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__METHOD__'",
"line": 67
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 67
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 67
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 67
},
{
"type": 348,
"typeName": "T_METHOD_C",
"char": "__METHOD__",
"line": 67
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 67
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 67
}
],
"68": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__NAMESPACE__'",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 68
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 68
},
{
"type": 350,
"typeName": "T_NS_C",
"char": "__NAMESPACE__",
"line": 68
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 68
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 68
}
],
"69": [
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'__TRAIT__'",
"line": 69
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 69
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 69
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 69
},
{
"type": 347,
"typeName": "T_TRAIT_C",
"char": "__TRAIT__",
"line": 69
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 69
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 69
}
],
"70": [
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 70
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 70
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 70
}
],
"71": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 71
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 71
}
],
"72": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 72
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 72
}
],
"73": [],
"74": [
{
"type": 333,
"typeName": "T_CLASS",
"char": "class",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 262,
"typeName": "T_STRING",
"char": "BazFoo",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 74
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 74
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 74
}
],
"75": [
{
"type": 318,
"typeName": "T_USE",
"char": "use",
"line": 75
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 75
},
{
"type": 262,
"typeName": "T_STRING",
"char": "Baz",
"line": 75
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 75
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 75
}
],
"76": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 76
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 76
}
],
"77": [],
"78": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$square",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 311,
"typeName": "T_FN",
"char": "fn",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 78
},
{
"type": 262,
"typeName": "T_STRING",
"char": "int",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 78
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 401,
"typeName": "T_POW",
"char": "**",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 78
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 78
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 78
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 78
}
],
"79": [],
"80": [
{
"type": 297,
"typeName": "T_FOREACH",
"char": "foreach",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 80
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 80
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 80
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 80
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 80
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 80
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 80
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 301,
"typeName": "T_AS",
"char": "as",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 80
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 80
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 80
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 80
}
],
"81": [
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 81
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 81
}
],
"82": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$not",
"line": 82
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 82
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 82
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 82
},
{
"type": 306,
"typeName": "T_MATCH",
"char": "match",
"line": 82
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 82
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 82
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 82
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 82
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 82
},
{
"type": 123,
"typeName": "{",
"char": "{",
"line": 82
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 82
}
],
"83": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 83
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 83
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 83
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 83
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 83
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 83
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 83
}
],
"84": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 84
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 84
},
{
"type": 45,
"typeName": "-",
"char": "-",
"line": 84
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 84
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 84
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 84
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 84
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 84
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 84
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 84
}
],
"85": [
{
"type": 305,
"typeName": "T_DEFAULT",
"char": "default",
"line": 85
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 85
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 85
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 85
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 85
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 85
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 85
}
],
"86": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 86
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 86
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 86
}
],
"87": [
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 87
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 87
}
],
"88": [],
"89": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/*",
"line": 89,
"original": {
"string": "\/*\n * Multi-line comment\n *\/",
"lines": [
"\/*",
" * Multi-line comment",
" *\/"
]
}
}
],
"90": [
{
"type": -1,
"typeName": "RAW",
"char": " * Multi-line comment",
"line": 90
}
],
"91": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/",
"line": 91
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 91
}
],
"92": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$foobar",
"line": 92
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 92
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 92
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 92
},
{
"type": 284,
"typeName": "T_NEW",
"char": "new",
"line": 92
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 92
},
{
"type": 262,
"typeName": "T_STRING",
"char": "FooBar",
"line": 92
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 92
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 92
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 92
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 92
}
],
"93": [],
"94": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$baz",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 94
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'a'",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 386,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 94
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'b'",
"line": 94
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 94
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 94
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 94
}
],
"95": [],
"96": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ C++ style comment",
"line": 96
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 96
}
],
"97": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 97
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 97
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 97
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 97
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "3",
"line": 97
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 97
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 97
}
],
"98": [],
"99": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "# Perl-style comment",
"line": 99
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 99
}
],
"100": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$y",
"line": 100
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 100
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 100
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 100
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 100
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 100
}
],
"101": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "1",
"line": 101
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 101
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 101
}
],
"102": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 102
},
{
"type": 44,
"typeName": ",",
"char": ",",
"line": 102
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 102
}
],
"103": [
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "3",
"line": 103
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 103
}
],
"104": [
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 104
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 104
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 104
}
],
"105": [],
"106": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/\/ Multi-line ternary statement",
"line": 106
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 106
}
],
"107": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "#{Attribute]",
"line": 107
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 107
}
],
"108": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$q",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 108
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 369,
"typeName": "T_IS_NOT_IDENTICAL",
"char": "!==",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 108
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "2",
"line": 108
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 108
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 108
}
],
"109": [
{
"type": 63,
"typeName": "?",
"char": "?",
"line": 109
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 109
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'yes'",
"line": 109
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 109
}
],
"110": [
{
"type": 58,
"typeName": ":",
"char": ":",
"line": 110
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 110
},
{
"type": 269,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'no'",
"line": 110
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 110
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 110
}
],
"111": [],
"112": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/*",
"line": 112,
"original": {
"string": "\/*\nHeredoc\n*\/",
"lines": [
"\/*",
"Heredoc",
"*\/"
]
}
}
],
"113": [
{
"type": -1,
"typeName": "RAW",
"char": "Heredoc",
"line": 113
}
],
"114": [
{
"type": -1,
"typeName": "RAW",
"char": "*\/",
"line": 114
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$z",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 43,
"typeName": "+",
"char": "+",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 114
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$y",
"line": 114
},
{
"type": 91,
"typeName": "[",
"char": "[",
"line": 114
},
{
"type": 260,
"typeName": "T_LNUMBER",
"char": "0",
"line": 114
},
{
"type": 93,
"typeName": "]",
"char": "]",
"line": 114
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 114
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 114
}
],
"115": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$sql",
"line": 115
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 115
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 115
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 115
},
{
"type": 393,
"typeName": "T_START_HEREDOC",
"char": "<<<SQL",
"line": 115,
"original": {
"string": "<<<SQL\n",
"lines": [
"<<<SQL",
""
]
}
}
],
"116": [
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id=",
"line": 116
},
{
"type": 396,
"typeName": "T_CURLY_OPEN",
"char": "{",
"line": 116
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 116
},
{
"type": 125,
"typeName": "}",
"char": "}",
"line": 116
},
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ";",
"line": 116,
"original": {
"string": ";\n",
"lines": [
";",
""
]
}
}
],
"117": [
{
"type": 394,
"typeName": "T_END_HEREDOC",
"char": "SQL",
"line": 117
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 117
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 117
}
],
"118": [],
"119": [
{
"type": 387,
"typeName": "T_COMMENT",
"char": "\/* Nowdoc *\/",
"line": 119
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n",
"line": 119
}
],
"120": [
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$template",
"line": 120
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 120
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 120
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 120
},
{
"type": 393,
"typeName": "T_START_HEREDOC",
"char": "<<<'TEMPLATE'",
"line": 120,
"original": {
"string": "<<<'TEMPLATE'\n",
"lines": [
"<<<'TEMPLATE'",
""
]
}
}
],
"121": [
{
"type": 268,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " <foo>{x}<\/foo>",
"line": 121,
"original": {
"string": " <foo>{x}<\/foo>\n",
"lines": [
" <foo>{x}<\/foo>",
""
]
}
}
],
"122": [
{
"type": 394,
"typeName": "T_END_HEREDOC",
"char": "TEMPLATE",
"line": 122
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 122
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 122
}
],
"123": [],
"124": [
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 124,
"original": {
"string": "?>\n",
"lines": [
"?>",
""
]
}
}
],
"125": [
{
"type": 267,
"typeName": "T_INLINE_HTML",
"char": "<!DOCTYPE html>",
"line": 125,
"original": {
"string": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>HTML<\/title>\n<\/head>\n<body>\n<h1>Test<\/h1>\n<div>",
"lines": [
"<!DOCTYPE html>",
"<html lang=\"en\">",
"<head>",
"<title>HTML<\/title>",
"<\/head>",
"<body>",
"<h1>Test<\/h1>",
"<div>"
]
}
}
],
"126": [
{
"type": -1,
"typeName": "RAW",
"char": "<html lang=\"en\">",
"line": 126
}
],
"127": [
{
"type": -1,
"typeName": "RAW",
"char": "<head>",
"line": 127
}
],
"128": [
{
"type": -1,
"typeName": "RAW",
"char": "<title>HTML<\/title>",
"line": 128
}
],
"129": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/head>",
"line": 129
}
],
"130": [
{
"type": -1,
"typeName": "RAW",
"char": "<body>",
"line": 130
}
],
"131": [
{
"type": -1,
"typeName": "RAW",
"char": "<h1>Test<\/h1>",
"line": 131
}
],
"132": [
{
"type": -1,
"typeName": "RAW",
"char": "<div>",
"line": 132
},
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 132
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bf",
"line": 132
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 132
},
{
"type": 61,
"typeName": "=",
"char": "=",
"line": 132
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 132
},
{
"type": 284,
"typeName": "T_NEW",
"char": "new",
"line": 132
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 132
},
{
"type": 262,
"typeName": "T_STRING",
"char": "BazFoo",
"line": 132
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 132
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 132
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 132
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 132
},
{
"type": 262,
"typeName": "T_STRING",
"char": "print_r",
"line": 132
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 132
},
{
"type": 266,
"typeName": "T_VARIABLE",
"char": "$bf",
"line": 132
},
{
"type": 384,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
"line": 132
},
{
"type": 262,
"typeName": "T_STRING",
"char": "about",
"line": 132
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 132
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 132
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 132
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 132
},
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 132
},
{
"type": 267,
"typeName": "T_INLINE_HTML",
"char": "<\/div>",
"line": 132,
"original": {
"string": "<\/div>\n<\/body>\n<\/html>\n",
"lines": [
"<\/div>",
"<\/body>",
"<\/html>",
""
]
}
}
],
"133": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/body>",
"line": 133
}
],
"134": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/html>",
"line": 134
}
],
"135": [
{
"type": 389,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 135
},
{
"type": 286,
"typeName": "T_EXIT",
"char": "exit",
"line": 135
},
{
"type": 40,
"typeName": "(",
"char": "(",
"line": 135
},
{
"type": 41,
"typeName": ")",
"char": ")",
"line": 135
},
{
"type": 59,
"typeName": ";",
"char": ";",
"line": 135
},
{
"type": 392,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 135
},
{
"type": 391,
"typeName": "T_CLOSE_TAG",
"char": "?>",
"line": 135,
"original": {
"string": "?>\n",
"lines": [
"?>",
""
]
}
}
],
"136": []
},
"filename": "test.php",
"rows": [
{
"render": "<?php declare(strict_types=1);",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Operator",
"Number",
"Delimiter",
"Operator"
],
"idx": 0
},
{
"render": "",
"hl": [],
"idx": 1
},
{
"render": "interface Ifoo {}",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 2
},
{
"render": "",
"hl": [],
"idx": 3
},
{
"render": "\/\/ Let's see emoji! \ud83d\udd6f\ufe0f\ud83d\ude38\u26e9\u26ea",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 4
},
{
"render": "abstract class Foo implements Ifoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 5
},
{
"render": " \/**",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 6
},
{
"render": " * @param int $a",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 7
},
{
"render": " * @param float $b",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 8
},
{
"render": " * @param array $c",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 9
},
{
"render": " * @param callable $d",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 10
},
{
"render": " * @param string $e",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 11
},
{
"render": " * @return string",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 12
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 13
},
{
"render": " abstract public function bar(int $a, float $b, array $c, callable $d, string $e): string;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Operator"
],
"idx": 14
},
{
"render": "",
"hl": [],
"idx": 15
},
{
"render": " #[ReturnTypeWillChange]",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter"
],
"idx": 16
},
{
"render": " protected function doNothing(): void {}",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 17
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 18
},
{
"render": "",
"hl": [],
"idx": 19
},
{
"render": "#[Attribute]",
"hl": [
"Delimiter",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter"
],
"idx": 20
},
{
"render": "#[AllowDynamicProperties]",
"hl": [
"Delimiter",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter"
],
"idx": 21
},
{
"render": "class Test {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 22
},
{
"render": " public function __construct(public string $foo, public string $bar) {}",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 23
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 24
},
{
"render": "",
"hl": [],
"idx": 25
},
{
"render": "\/**",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 26
},
{
"render": " * Docblock comment",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 27
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 28
},
{
"render": "class FooBar extends Foo implements Ifoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 29
},
{
"render": " public function bar(int $a, float $b, array $c, callable $d, #[SensitiveParameter] string $e = 'default'): string",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier"
],
"idx": 30
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 31
},
{
"render": " $cstr = print_r($c, TRUE);",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Operator"
],
"idx": 32
},
{
"render": " $d();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 33
},
{
"render": "",
"hl": [],
"idx": 34
},
{
"render": " $r = $this->operations($a, (int)$b);",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Variable",
"Variable",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Variable",
"Variable",
"Delimiter",
"Operator"
],
"idx": 35
},
{
"render": "",
"hl": [],
"idx": 36
},
{
"render": " return \"{$a}, ${b}, \" . $cstr . \" = {$r}\";",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"String",
"String",
"Delimiter",
"Delimiter",
"Variable",
"Delimiter",
"String",
"String",
"Delimiter",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"String",
"String",
"String",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 37
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 38
},
{
"render": "",
"hl": [],
"idx": 39
},
{
"render": " #[Test('a', 'b')]",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"String",
"String",
"String",
"Operator",
"Normal",
"String",
"String",
"String",
"Delimiter",
"Delimiter"
],
"idx": 40
},
{
"render": " private function operations(int $a, int $b): int",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier"
],
"idx": 41
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 42
},
{
"render": " $this?->x?->bar();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Operator",
"Identifier",
"Operator",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 43
},
{
"render": "",
"hl": [],
"idx": 44
},
{
"render": " $this->doNothing();",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 45
},
{
"render": "",
"hl": [],
"idx": 46
},
{
"render": " $c = $a + $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 47
},
{
"render": " $a = $c - $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 48
},
{
"render": "",
"hl": [],
"idx": 49
},
{
"render": " $c = $a * $b;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 50
},
{
"render": " $b = (int) ($c \/ $a);",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Keyword2",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Operator"
],
"idx": 51
},
{
"render": "",
"hl": [],
"idx": 52
},
{
"render": " return $c;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Variable",
"Variable",
"Operator"
],
"idx": 53
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 54
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 55
},
{
"render": "",
"hl": [],
"idx": 56
},
{
"render": "trait Baz {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 57
},
{
"render": " public function about(): array",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 58
},
{
"render": " {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 59
},
{
"render": " return [",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter"
],
"idx": 60
},
{
"render": " '__CLASS__' => __CLASS__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 61
},
{
"render": " '__DIR__' => __DIR__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 62
},
{
"render": " '__FILE__' => __FILE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 63
},
{
"render": " '__FUNCTION__' => __FUNCTION__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 64
},
{
"render": " '__LINE__' => __LINE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 65
},
{
"render": " '__METHOD__' => __METHOD__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 66
},
{
"render": " '__NAMESPACE__' => __NAMESPACE__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 67
},
{
"render": " '__TRAIT__' => __TRAIT__,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Number",
"Operator"
],
"idx": 68
},
{
"render": " ];",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 69
},
{
"render": " }",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter"
],
"idx": 70
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 71
},
{
"render": "",
"hl": [],
"idx": 72
},
{
"render": "class BazFoo {",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Delimiter"
],
"idx": 73
},
{
"render": " use Baz;",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Operator"
],
"idx": 74
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 75
},
{
"render": "",
"hl": [],
"idx": 76
},
{
"render": "$square = fn (int $x) => $x ** 2;",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Identifier",
"Identifier",
"Identifier",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Operator",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 77
},
{
"render": "",
"hl": [],
"idx": 78
},
{
"render": "foreach ([-1, 0, 1, 2] as $x)",
"hl": [
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Delimiter",
"Operator",
"Number",
"Operator",
"Normal",
"Number",
"Operator",
"Normal",
"Number",
"Operator",
"Normal",
"Number",
"Delimiter",
"Normal",
"Operator",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter"
],
"idx": 79
},
{
"render": "{",
"hl": [
"Delimiter"
],
"idx": 80
},
{
"render": " $not = match ($x) {",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"Normal",
"Delimiter"
],
"idx": 81
},
{
"render": " 0 => 1,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 82
},
{
"render": " 1,-1 => 0,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator",
"Operator",
"Number",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 83
},
{
"render": " default => 0,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Operator",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 84
},
{
"render": " };",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Operator"
],
"idx": 85
},
{
"render": "}",
"hl": [
"Delimiter"
],
"idx": 86
},
{
"render": "",
"hl": [],
"idx": 87
},
{
"render": "\/*",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 88
},
{
"render": " * Multi-line comment",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 89
},
{
"render": " *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 90
},
{
"render": "$foobar = new FooBar();",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 91
},
{
"render": "",
"hl": [],
"idx": 92
},
{
"render": "$baz = ['a' => 'b'];",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"String",
"String",
"String",
"Normal",
"Operator",
"Operator",
"Normal",
"String",
"String",
"String",
"Delimiter",
"Operator"
],
"idx": 93
},
{
"render": "",
"hl": [],
"idx": 94
},
{
"render": "\/\/ C++ style comment",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 95
},
{
"render": "$x = 3;",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Number",
"Operator"
],
"idx": 96
},
{
"render": "",
"hl": [],
"idx": 97
},
{
"render": "# Perl-style comment",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 98
},
{
"render": "$y = [",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter"
],
"idx": 99
},
{
"render": " 1,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator"
],
"idx": 100
},
{
"render": " 2,",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number",
"Operator"
],
"idx": 101
},
{
"render": " 3",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Number"
],
"idx": 102
},
{
"render": "];",
"hl": [
"Delimiter",
"Operator"
],
"idx": 103
},
{
"render": "",
"hl": [],
"idx": 104
},
{
"render": "\/\/ Multi-line ternary statement",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 105
},
{
"render": "#{Attribute]",
"hl": [
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment",
"Comment"
],
"idx": 106
},
{
"render": "$q = ($x !== 2)",
"hl": [
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Variable",
"Variable",
"Normal",
"Operator",
"Operator",
"Operator",
"Normal",
"Number",
"Delimiter"
],
"idx": 107
},
{
"render": " ? 'yes'",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"String"
],
"idx": 108
},
{
"render": " : 'no';",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Operator",
"Normal",
"String",
"String",
"String",
"String",
"Operator"
],
"idx": 109
},
{
"render": "",
"hl": [],
"idx": 110
},
{
"render": "\/*",
"hl": [
"MultiLineComment",
"MultiLineComment"
],
"idx": 111
},
{
"render": "Heredoc",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 112
},
{
"render": "*\/$z = $x + $y[0];",
"hl": [
"MultiLineComment",
"MultiLineComment",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Variable",
"Variable",
"Delimiter",
"Number",
"Delimiter",
"Operator"
],
"idx": 113
},
{
"render": "$sql = <<<SQL",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 114
},
{
"render": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id={$x};",
"hl": [
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"Delimiter",
"Variable",
"Variable",
"Delimiter",
"String"
],
"idx": 115
},
{
"render": "SQL;",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 116
},
{
"render": "",
"hl": [],
"idx": 117
},
{
"render": "\/* Nowdoc *\/",
"hl": [
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment",
"MultiLineComment"
],
"idx": 118
},
{
"render": "$template = <<<'TEMPLATE'",
"hl": [
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter"
],
"idx": 119
},
{
"render": " <foo>{x}<\/foo>",
"hl": [
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String",
"String"
],
"idx": 120
},
{
"render": "TEMPLATE;",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Operator"
],
"idx": 121
},
{
"render": "",
"hl": [],
"idx": 122
},
{
"render": "?>",
"hl": [
"Delimiter",
"Delimiter"
],
"idx": 123
},
{
"render": "<!DOCTYPE html>",
"hl": [
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed"
],
"idx": 124
},
{
"render": "<html lang=\"en\">",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 125
},
{
"render": "<head>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 126
},
{
"render": "<title>HTML<\/title>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 127
},
{
"render": "<\/head>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 128
},
{
"render": "<body>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 129
},
{
"render": "<h1>Test<\/h1>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 130
},
{
"render": "<div><?php $bf = new BazFoo(); print_r($bf->about()) ?><\/div>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Variable",
"Variable",
"Variable",
"Normal",
"Operator",
"Normal",
"Keyword1",
"Keyword1",
"Keyword1",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Variable",
"Variable",
"Variable",
"Operator",
"Operator",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Identifier",
"Delimiter",
"Delimiter",
"Delimiter",
"Normal",
"Delimiter",
"Delimiter",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed",
"Embed"
],
"idx": 131
},
{
"render": "<\/body>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 132
},
{
"render": "<\/html>",
"hl": [
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal",
"Normal"
],
"idx": 133
},
{
"render": "<?php exit(); ?>",
"hl": [
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Delimiter",
"Keyword1",
"Keyword1",
"Keyword1",
"Keyword1",
"Delimiter",
"Delimiter",
"Operator",
"Normal",
"Delimiter",
"Delimiter"
],
"idx": 134
}
],
"dirty": false
},
"offset": {
"x": 0,
"y": 0
},
"renderX": 0,
"terminalSize": {
"rows": 21,
"cols": 80
},
"statusMessage": {
"text": "HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find",
"len": 51,
"time": 1234567890
}
}