php-kilo/tests/__snapshots__/EditorTest__testOpenPHP__1.json

4747 lines
107 KiB
JSON
Raw Normal View History

{
"rows": [
{
"render": "<?php declare(strict_types=1);",
"hl": [
9,
9,
9,
9,
9,
9,
3,
3,
3,
3,
3,
3,
3,
9,
4,
4,
4,
4,
4,
4,
4,
4,
4,
4,
4,
4,
7,
6,
9,
7
],
"idx": 0
},
{
"render": "",
"hl": [],
"idx": 1
},
{
"render": "interface Ifoo {}",
"hl": [
3,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
9,
9
],
"idx": 2
},
{
"render": "",
"hl": [],
"idx": 3
},
{
"render": "abstract class Foo implements Ifoo {",
"hl": [
3,
3,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
9
],
"idx": 4
},
{
"render": " \/**",
"hl": [
0,
0,
0,
0,
2,
2,
2
],
"idx": 5
},
{
"render": " * @param int $a",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"idx": 6
},
{
"render": " * @param float $b",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"idx": 7
},
{
"render": " * @param array $c",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"idx": 8
},
{
"render": " * @param callable $d",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"idx": 9
},
{
2020-12-04 11:18:21 -05:00
"render": " * @param string $e",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2020-12-04 11:18:21 -05:00
2,
2,
2
],
"idx": 10
},
{
2020-12-04 11:18:21 -05:00
"render": " * @return string",
"hl": [
2020-12-04 11:18:21 -05:00
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
"idx": 11
},
{
2020-12-04 11:18:21 -05:00
"render": " *\/",
"hl": [
2,
2,
2,
2,
2,
2,
2
],
"idx": 12
},
{
"render": " abstract public function bar(int $a, float $b, array $c, callable $d, string $e): string;",
"hl": [
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
9,
4,
4,
4,
0,
8,
8,
7,
0,
4,
4,
4,
4,
4,
0,
8,
8,
7,
0,
9,
9,
9,
9,
9,
0,
8,
8,
7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
2020-12-04 11:18:21 -05:00
7,
0,
4,
4,
4,
4,
4,
4,
0,
8,
8,
9,
7,
0,
4,
4,
4,
4,
4,
4,
7
],
2020-12-04 11:18:21 -05:00
"idx": 13
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 14
},
{
"render": " protected function doNothing(): void {}",
"hl": [
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
9,
9,
7,
0,
4,
4,
4,
4,
0,
9,
9
],
2020-12-04 11:18:21 -05:00
"idx": 15
},
{
"render": "}",
"hl": [
9
],
2020-12-04 11:18:21 -05:00
"idx": 16
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 17
},
{
"render": "\/**",
"hl": [
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 18
},
{
"render": " * Docblock comment",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 19
},
{
"render": " *\/",
"hl": [
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 20
},
{
"render": "class FooBar extends Foo implements Ifoo {",
"hl": [
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 21
},
{
"render": " public function bar(int $a, float $b, array $c, callable $d, string $e = 'default'): string",
"hl": [
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
9,
4,
4,
4,
0,
8,
8,
7,
0,
4,
4,
4,
4,
4,
0,
8,
8,
7,
0,
9,
9,
9,
9,
9,
0,
8,
8,
7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
7,
0,
4,
4,
4,
4,
4,
4,
0,
8,
8,
0,
7,
0,
5,
5,
5,
5,
5,
5,
5,
5,
5,
9,
7,
0,
4,
4,
4,
4,
4,
4
],
2020-12-04 11:18:21 -05:00
"idx": 22
},
{
"render": " {",
"hl": [
0,
0,
0,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 23
},
{
"render": " $cstr = print_r($c, TRUE);",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
8,
8,
8,
0,
7,
0,
0,
0,
0,
0,
0,
0,
0,
9,
8,
8,
7,
0,
4,
4,
4,
4,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 24
},
{
"render": " $d();",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
9,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 25
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 26
},
{
"render": " return \"{$a}, ${b}, \" . $cstr;",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
0,
9,
9,
8,
8,
9,
5,
5,
9,
9,
8,
9,
5,
5,
9,
0,
7,
0,
8,
8,
8,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 27
},
{
"render": " }",
"hl": [
0,
0,
0,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 28
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 29
},
{
"render": " private function operations(int $a, int $b): int",
"hl": [
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
3,
0,
3,
3,
3,
3,
3,
3,
3,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
9,
4,
4,
4,
0,
8,
8,
7,
0,
4,
4,
4,
0,
8,
8,
9,
7,
0,
4,
4,
4
],
2020-12-04 11:18:21 -05:00
"idx": 30
},
{
"render": " {",
"hl": [
0,
0,
0,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 31
},
{
"render": " $this->doNothing();",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
8,
8,
8,
7,
7,
0,
0,
0,
0,
0,
0,
0,
0,
0,
9,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 32
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 33
},
{
"render": " $c = $a + $b;",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
0,
7,
0,
8,
8,
0,
7,
0,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 34
},
{
"render": " $a = $c - $b;",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
0,
7,
0,
8,
8,
0,
7,
0,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 35
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 36
},
{
"render": " $c = $a * $b;",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
0,
7,
0,
8,
8,
0,
7,
0,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 37
},
{
"render": " $b = (int) ($c \/ $a);",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
8,
8,
0,
7,
0,
4,
4,
4,
4,
4,
0,
9,
8,
8,
0,
7,
0,
8,
8,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 38
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 39
},
{
"render": " return $c;",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
3,
3,
3,
3,
3,
3,
0,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 40
},
{
"render": " }",
"hl": [
0,
0,
0,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 41
},
{
"render": "}",
"hl": [
9
],
2020-12-04 11:18:21 -05:00
"idx": 42
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 43
},
{
"render": "$square = fn (int $x) => $x ** 2;",
"hl": [
8,
8,
8,
8,
8,
8,
8,
0,
7,
0,
0,
0,
0,
9,
4,
4,
4,
0,
8,
8,
9,
0,
7,
7,
0,
8,
8,
0,
7,
7,
0,
6,
7
],
"idx": 44
},
{
"render": "",
"hl": [],
"idx": 45
},
{
"render": "\/*",
"hl": [
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 46
},
{
"render": " * Multi-line comment",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 47
},
{
"render": " *\/",
"hl": [
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 48
},
{
"render": "$foobar = new FooBar();",
"hl": [
8,
8,
8,
8,
8,
8,
8,
0,
7,
0,
3,
3,
3,
0,
0,
0,
0,
0,
0,
0,
9,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 49
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 50
},
{
"render": "$baz = ['a' => 'b'];",
"hl": [
8,
8,
8,
8,
0,
7,
0,
9,
5,
5,
5,
0,
7,
7,
0,
5,
5,
5,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 51
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 52
},
{
"render": "\/\/ C++ style comment",
"hl": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
2020-12-04 11:18:21 -05:00
"idx": 53
},
{
"render": "$x = 3;",
"hl": [
8,
8,
0,
7,
0,
6,
7
],
2020-12-04 11:18:21 -05:00
"idx": 54
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 55
},
{
"render": "# Perl-style comment",
"hl": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
2020-12-04 11:18:21 -05:00
"idx": 56
},
{
"render": "$y = [",
"hl": [
8,
8,
0,
7,
0,
9
],
2020-12-04 11:18:21 -05:00
"idx": 57
},
{
"render": " 1,",
"hl": [
0,
0,
0,
0,
6,
7
],
2020-12-04 11:18:21 -05:00
"idx": 58
},
{
"render": " 2,",
"hl": [
0,
0,
0,
0,
6,
7
],
2020-12-04 11:18:21 -05:00
"idx": 59
},
{
"render": " 3",
"hl": [
0,
0,
0,
0,
6
],
2020-12-04 11:18:21 -05:00
"idx": 60
},
{
"render": "];",
"hl": [
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 61
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 62
},
{
"render": "\/\/ Multi-line ternary statement",
"hl": [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
],
2020-12-04 11:18:21 -05:00
"idx": 63
},
{
"render": "$q = ($x !== 2)",
"hl": [
8,
8,
0,
7,
0,
9,
8,
8,
0,
7,
7,
7,
0,
6,
9
],
2020-12-04 11:18:21 -05:00
"idx": 64
},
{
"render": " ? 'yes'",
"hl": [
0,
0,
0,
0,
7,
0,
5,
5,
5,
5,
5
],
2020-12-04 11:18:21 -05:00
"idx": 65
},
{
"render": " : 'no';",
"hl": [
0,
0,
0,
0,
7,
0,
5,
5,
5,
5,
7
],
2020-12-04 11:18:21 -05:00
"idx": 66
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 67
},
{
"render": "\/*",
"hl": [
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 68
},
{
"render": "Heredoc",
"hl": [
2,
2,
2,
2,
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 69
},
{
"render": "*\/$z = $x + $y;",
"hl": [
2,
2,
8,
8,
0,
7,
0,
8,
8,
0,
7,
0,
8,
8,
7
],
2020-12-04 11:18:21 -05:00
"idx": 70
},
{
"render": "$sql = <<<SQL",
"hl": [
8,
8,
8,
8,
0,
7,
0,
9,
9,
9,
9,
9,
9
],
2020-12-04 11:18:21 -05:00
"idx": 71
},
{
"render": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id={$x};",
"hl": [
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
9,
8,
8,
9,
5
],
2020-12-04 11:18:21 -05:00
"idx": 72
},
{
"render": "SQL;",
"hl": [
9,
9,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 73
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 74
},
{
"render": "\/* Nowdoc *\/",
"hl": [
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2,
2
],
2020-12-04 11:18:21 -05:00
"idx": 75
},
{
"render": "$template = <<<'TEMPLATE'",
"hl": [
8,
8,
8,
8,
8,
8,
8,
8,
8,
0,
7,
0,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9
],
2020-12-04 11:18:21 -05:00
"idx": 76
},
{
"render": " <foo>{x}<\/foo>",
"hl": [
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5
],
2020-12-04 11:18:21 -05:00
"idx": 77
},
{
"render": "TEMPLATE;",
"hl": [
9,
9,
9,
9,
9,
9,
9,
9,
7
],
2020-12-04 11:18:21 -05:00
"idx": 78
},
{
"render": "",
"hl": [],
2020-12-04 11:18:21 -05:00
"idx": 79
},
{
"render": "?>",
"hl": [
9,
9
],
2020-12-04 11:18:21 -05:00
"idx": 80
},
{
"render": "<!DOCTYPE html>",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"idx": 81
},
{
"render": "<html lang=\"en\">",
"hl": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
2020-12-04 11:18:21 -05:00
"idx": 82
},
{
2020-12-04 11:18:21 -05:00
"render": "<head>",
"hl": [
0,
0,
0,
0,
0,
0
],
2020-12-04 11:18:21 -05:00
"idx": 83
},
{
2020-12-04 11:18:21 -05:00
"render": "<title>HTML<\/title>",
"hl": [
0,
0,
0,
0,
0,
2020-12-04 11:18:21 -05:00
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"idx": 84
},
{
"render": "<\/head>",
"hl": [
0,
0,
0,
0,
0,
0,
0
],
"idx": 85
},
{
"render": "<body>",
"hl": [
0,
0,
0,
0,
0,
0
],
"idx": 86
},
{
"render": "<h1><?= $_SERVER['HTTP_HOST'] ?><\/h1>",
"hl": [
0,
0,
0,
0,
9,
9,
9,
0,
8,
8,
8,
8,
8,
8,
8,
8,
9,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
5,
9,
0,
9,
9,
0,
0,
0,
0,
0
],
2020-12-04 11:18:21 -05:00
"idx": 87
},
{
"render": "<\/body>",
"hl": [
0,
0,
0,
0,
0,
0,
0
],
2020-12-04 11:18:21 -05:00
"idx": 88
},
{
"render": "<\/html>",
"hl": [
0,
0,
0,
0,
0,
0,
0
],
2020-12-04 11:18:21 -05:00
"idx": 89
},
{
"render": "<?php exit(); ?>",
"hl": [
9,
9,
9,
9,
9,
9,
0,
0,
0,
0,
9,
9,
7,
0,
9,
9
],
2020-12-04 11:18:21 -05:00
"idx": 90
}
],
"dirty": 0,
"filename": "test.php",
"syntax": {
"filetype": "PHP",
"filematch": [
".php",
"kilo"
],
"singleLineCommentStart": "\/\/",
"multiLineCommentStart": "\/*",
"multiLineCommentEnd": "*\/",
"keywords1": [
"?php",
"$this",
"__halt_compiler",
"abstract",
"and",
"array",
"as",
"break",
"callable",
"case",
"catch",
"class",
"clone",
"const",
"continue",
"declare",
"default",
"die",
"do",
"echo",
"else",
"elseif",
"empty",
"enddeclare",
"endfor",
"endforeach",
"endif",
"endswitch",
"endwhile",
"eval",
"exit",
"extends",
"final",
"finally",
"for",
"foreach",
"function",
"global",
"goto",
"if",
"implements",
"include",
"include_once",
"instanceof",
"insteadof",
"interface",
"isset",
"list",
"namespace",
"new",
"or",
"print",
"private",
"protected",
"public",
"require",
"require_once",
"return",
"static",
"switch",
"throw",
"trait",
"try",
"unset",
"use",
"var",
"while",
"xor",
"yield",
"yield from",
"__CLASS__",
"__DIR__",
"__FILE__",
"__FUNCTION__",
"__LINE__",
"__METHOD__",
"__NAMESPACE__",
"__TRAIT__"
],
"keywords2": [
"int",
"float",
"bool",
"string",
"true",
"TRUE",
"false",
"FALSE",
"null",
"NULL",
"void",
"iterable",
"object",
"strict_types"
],
"tokens": [],
"flags": 3
},
"tokens": {
"1": [
{
"type": 382,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
"line": 1
},
{
"type": 332,
"typeName": "T_DECLARE",
"char": "declare",
"line": 1
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 311,
"typeName": "T_STRING",
"char": "strict_types",
"line": 1
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "1",
"line": 1
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 1
}
],
"2": [],
"3": [
{
"type": 366,
"typeName": "T_INTERFACE",
"char": "interface",
"line": 3
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": 311,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 3
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 3
},
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 3
}
],
"4": [],
"5": [
{
"type": 354,
"typeName": "T_ABSTRACT",
"char": "abstract",
"line": 5
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 5
},
{
"type": 364,
"typeName": "T_CLASS",
"char": "class",
"line": 5
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 5
},
{
"type": 311,
"typeName": "T_STRING",
"char": "Foo",
"line": 5
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 5
},
{
"type": 368,
"typeName": "T_IMPLEMENTS",
"char": "implements",
"line": 5
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 5
},
{
"type": 311,
"typeName": "T_STRING",
"char": "Ifoo",
"line": 5
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 5
},
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
"line": 5
}
],
"6": [
{
"type": 381,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
"line": 6,
"original": {
2020-12-04 11:18:21 -05:00
"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",
2020-12-04 11:18:21 -05:00
" * @param string $e",
" * @return string",
" *\/"
]
}
}
],
"7": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param int $a"
}
],
"8": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param float $b"
}
],
"9": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param array $c"
}
],
"10": [
{
"type": -1,
"typeName": "RAW",
"char": " * @param callable $d"
}
],
"11": [
{
"type": -1,
"typeName": "RAW",
2020-12-04 11:18:21 -05:00
"char": " * @param string $e"
}
],
"12": [
2020-12-04 11:18:21 -05:00
{
"type": -1,
"typeName": "RAW",
"char": " * @return string"
}
],
"13": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 13
}
],
2020-12-04 11:18:21 -05:00
"14": [
{
"type": 354,
"typeName": "T_ABSTRACT",
"char": "abstract",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 358,
"typeName": "T_PUBLIC",
"char": "public",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 342,
"typeName": "T_FUNCTION",
"char": "function",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 311,
"typeName": "T_STRING",
"char": "bar",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 311,
"typeName": "T_STRING",
"char": "float",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 371,
"typeName": "T_ARRAY",
"char": "array",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 372,
"typeName": "T_CALLABLE",
"char": "callable",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$d",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 14
},
{
"type": 311,
"typeName": "T_STRING",
"char": "string",
"line": 14
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 14
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$e",
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ":"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": 311,
"typeName": "T_STRING",
"char": "string",
2020-12-04 11:18:21 -05:00
"line": 14
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 14
}
],
2020-12-04 11:18:21 -05:00
"15": [],
"16": [
{
"type": 357,
"typeName": "T_PROTECTED",
"char": "protected",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 342,
"typeName": "T_FUNCTION",
"char": "function",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 311,
"typeName": "T_STRING",
"char": "doNothing",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ":"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 311,
"typeName": "T_STRING",
"char": "void",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 16
},
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 16
}
],
2020-12-04 11:18:21 -05:00
"17": [
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 17
}
],
2020-12-04 11:18:21 -05:00
"18": [],
"19": [
{
"type": 381,
"typeName": "T_DOC_COMMENT",
"char": "\/**",
2020-12-04 11:18:21 -05:00
"line": 19,
"original": {
"string": "\/**\n * Docblock comment\n *\/",
"lines": [
"\/**",
" * Docblock comment",
" *\/"
]
}
}
],
2020-12-04 11:18:21 -05:00
"20": [
{
"type": -1,
"typeName": "RAW",
"char": " * Docblock comment"
}
],
2020-12-04 11:18:21 -05:00
"21": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 21
}
],
2020-12-04 11:18:21 -05:00
"22": [
{
"type": 364,
"typeName": "T_CLASS",
"char": "class",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 311,
"typeName": "T_STRING",
"char": "FooBar",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 367,
"typeName": "T_EXTENDS",
"char": "extends",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 311,
"typeName": "T_STRING",
"char": "Foo",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 368,
"typeName": "T_IMPLEMENTS",
"char": "implements",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 311,
"typeName": "T_STRING",
"char": "Ifoo",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 22
},
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 22
}
],
2020-12-04 11:18:21 -05:00
"23": [
{
"type": 358,
"typeName": "T_PUBLIC",
"char": "public",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 342,
"typeName": "T_FUNCTION",
"char": "function",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 311,
"typeName": "T_STRING",
"char": "bar",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 311,
"typeName": "T_STRING",
"char": "float",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 371,
"typeName": "T_ARRAY",
"char": "array",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 372,
"typeName": "T_CALLABLE",
"char": "callable",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$d",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 311,
"typeName": "T_STRING",
"char": "string",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$e",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'default'",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ":"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 311,
"typeName": "T_STRING",
"char": "string",
2020-12-04 11:18:21 -05:00
"line": 23
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 23
}
],
2020-12-04 11:18:21 -05:00
"24": [
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 24
}
],
2020-12-04 11:18:21 -05:00
"25": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$cstr",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": 311,
"typeName": "T_STRING",
"char": "print_r",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": 311,
"typeName": "T_STRING",
"char": "TRUE",
2020-12-04 11:18:21 -05:00
"line": 25
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 25
}
],
2020-12-04 11:18:21 -05:00
"26": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$d",
2020-12-04 11:18:21 -05:00
"line": 26
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 26
}
],
2020-12-04 11:18:21 -05:00
"27": [],
"28": [
{
"type": 345,
"typeName": "T_RETURN",
"char": "return",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": "\""
},
{
"type": 389,
"typeName": "T_CURLY_OPEN",
"char": "{",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 314,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": 388,
"typeName": "T_DOLLAR_OPEN_CURLY_BRACES",
"char": "${",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": 316,
"typeName": "T_STRING_VARNAME",
"char": "b",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 314,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ", ",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": "\""
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": "."
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$cstr",
2020-12-04 11:18:21 -05:00
"line": 28
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 28
}
],
2020-12-04 11:18:21 -05:00
"29": [
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 29
}
],
2020-12-04 11:18:21 -05:00
"30": [],
"31": [
{
"type": 356,
"typeName": "T_PRIVATE",
"char": "private",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 342,
"typeName": "T_FUNCTION",
"char": "function",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 311,
"typeName": "T_STRING",
"char": "operations",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ":"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
2020-12-04 11:18:21 -05:00
"line": 31
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 31
}
],
2020-12-04 11:18:21 -05:00
"32": [
{
"type": -1,
"typeName": "RAW",
"char": "{"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 32
}
],
2020-12-04 11:18:21 -05:00
"33": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$this",
2020-12-04 11:18:21 -05:00
"line": 33
},
{
"type": 369,
"typeName": "T_OBJECT_OPERATOR",
"char": "->",
2020-12-04 11:18:21 -05:00
"line": 33
},
{
"type": 311,
"typeName": "T_STRING",
"char": "doNothing",
2020-12-04 11:18:21 -05:00
"line": 33
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 33
}
],
2020-12-04 11:18:21 -05:00
"34": [],
"35": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": -1,
"typeName": "RAW",
"char": "+"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 35
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 35
}
],
2020-12-04 11:18:21 -05:00
"36": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": -1,
"typeName": "RAW",
"char": "-"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 36
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 36
}
],
2020-12-04 11:18:21 -05:00
"37": [],
"38": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": -1,
"typeName": "RAW",
"char": "*"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 38
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 38
}
],
2020-12-04 11:18:21 -05:00
"39": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$b",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": 296,
"typeName": "T_INT_CAST",
"char": "(int)",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": -1,
"typeName": "RAW",
"char": "\/"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$a",
2020-12-04 11:18:21 -05:00
"line": 39
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n ",
2020-12-04 11:18:21 -05:00
"line": 39
}
],
2020-12-04 11:18:21 -05:00
"40": [],
"41": [
{
"type": 345,
"typeName": "T_RETURN",
"char": "return",
2020-12-04 11:18:21 -05:00
"line": 41
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 41
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$c",
2020-12-04 11:18:21 -05:00
"line": 41
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 41
}
],
2020-12-04 11:18:21 -05:00
"42": [
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 42
}
],
2020-12-04 11:18:21 -05:00
"43": [
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 43
}
],
2020-12-04 11:18:21 -05:00
"44": [],
"45": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$square",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 343,
"typeName": "T_FN",
"char": "fn",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 311,
"typeName": "T_STRING",
"char": "int",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 45
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 268,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 303,
"typeName": "T_POW",
"char": "**",
"line": 45
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
"line": 45
},
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "2",
"line": 45
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
"line": 45
}
],
"46": [],
"47": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "\/*",
2020-12-04 11:18:21 -05:00
"line": 47,
"original": {
"string": "\/*\n * Multi-line comment\n *\/",
"lines": [
"\/*",
" * Multi-line comment",
" *\/"
]
}
}
],
2020-12-04 11:18:21 -05:00
"48": [
{
"type": -1,
"typeName": "RAW",
"char": " * Multi-line comment"
}
],
2020-12-04 11:18:21 -05:00
"49": [
{
"type": -1,
"typeName": "RAW",
"char": " *\/"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 49
}
],
2020-12-04 11:18:21 -05:00
"50": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$foobar",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": 304,
"typeName": "T_NEW",
"char": "new",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": 311,
"typeName": "T_STRING",
"char": "FooBar",
2020-12-04 11:18:21 -05:00
"line": 50
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 50
}
],
2020-12-04 11:18:21 -05:00
"51": [],
"52": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$baz",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": -1,
"typeName": "RAW",
"char": "["
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'a'",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": 268,
"typeName": "T_DOUBLE_ARROW",
"char": "=>",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'b'",
2020-12-04 11:18:21 -05:00
"line": 52
},
{
"type": -1,
"typeName": "RAW",
"char": "]"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 52
}
],
2020-12-04 11:18:21 -05:00
"53": [],
"54": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "\/\/ C++ style comment",
2020-12-04 11:18:21 -05:00
"line": 54,
"original": {
"string": "\/\/ C++ style comment\n",
"lines": [
"\/\/ C++ style comment",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"55": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
2020-12-04 11:18:21 -05:00
"line": 55
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 55
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 55
},
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "3",
2020-12-04 11:18:21 -05:00
"line": 55
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 55
}
],
2020-12-04 11:18:21 -05:00
"56": [],
"57": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "# Perl-style comment",
2020-12-04 11:18:21 -05:00
"line": 57,
"original": {
"string": "# Perl-style comment\n",
"lines": [
"# Perl-style comment",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"58": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$y",
2020-12-04 11:18:21 -05:00
"line": 58
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 58
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 58
},
{
"type": -1,
"typeName": "RAW",
"char": "["
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 58
}
],
2020-12-04 11:18:21 -05:00
"59": [
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "1",
2020-12-04 11:18:21 -05:00
"line": 59
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 59
}
],
2020-12-04 11:18:21 -05:00
"60": [
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "2",
2020-12-04 11:18:21 -05:00
"line": 60
},
{
"type": -1,
"typeName": "RAW",
"char": ","
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 60
}
],
2020-12-04 11:18:21 -05:00
"61": [
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "3",
2020-12-04 11:18:21 -05:00
"line": 61
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 61
}
],
2020-12-04 11:18:21 -05:00
"62": [
{
"type": -1,
"typeName": "RAW",
"char": "]"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 62
}
],
2020-12-04 11:18:21 -05:00
"63": [],
"64": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "\/\/ Multi-line ternary statement",
2020-12-04 11:18:21 -05:00
"line": 64,
"original": {
"string": "\/\/ Multi-line ternary statement\n",
"lines": [
"\/\/ Multi-line ternary statement",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"65": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$q",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": 289,
"typeName": "T_IS_NOT_IDENTICAL",
"char": "!==",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": 309,
"typeName": "T_LNUMBER",
"char": "2",
2020-12-04 11:18:21 -05:00
"line": 65
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 65
}
],
2020-12-04 11:18:21 -05:00
"66": [
{
"type": -1,
"typeName": "RAW",
"char": "?"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 66
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'yes'",
2020-12-04 11:18:21 -05:00
"line": 66
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n ",
2020-12-04 11:18:21 -05:00
"line": 66
}
],
2020-12-04 11:18:21 -05:00
"67": [
{
"type": -1,
"typeName": "RAW",
"char": ":"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 67
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'no'",
2020-12-04 11:18:21 -05:00
"line": 67
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 67
}
],
2020-12-04 11:18:21 -05:00
"68": [],
"69": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "\/*",
2020-12-04 11:18:21 -05:00
"line": 69,
"original": {
"string": "\/*\nHeredoc\n*\/",
"lines": [
"\/*",
"Heredoc",
"*\/"
]
}
}
],
2020-12-04 11:18:21 -05:00
"70": [
{
"type": -1,
"typeName": "RAW",
"char": "Heredoc"
}
],
2020-12-04 11:18:21 -05:00
"71": [
{
"type": -1,
"typeName": "RAW",
"char": "*\/"
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$z",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": -1,
"typeName": "RAW",
"char": "+"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$y",
2020-12-04 11:18:21 -05:00
"line": 71
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 71
}
],
2020-12-04 11:18:21 -05:00
"72": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$sql",
2020-12-04 11:18:21 -05:00
"line": 72
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 72
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 72
},
{
"type": 386,
"typeName": "T_START_HEREDOC",
"char": "<<<SQL",
2020-12-04 11:18:21 -05:00
"line": 72,
"original": {
"string": "<<<SQL\n",
"lines": [
"<<<SQL",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"73": [
{
"type": 314,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id=",
2020-12-04 11:18:21 -05:00
"line": 73
},
{
"type": 389,
"typeName": "T_CURLY_OPEN",
"char": "{",
2020-12-04 11:18:21 -05:00
"line": 73
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$x",
2020-12-04 11:18:21 -05:00
"line": 73
},
{
"type": -1,
"typeName": "RAW",
"char": "}"
},
{
"type": 314,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": ";",
2020-12-04 11:18:21 -05:00
"line": 73,
"original": {
"string": ";\n",
"lines": [
";",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"74": [
{
"type": 387,
"typeName": "T_END_HEREDOC",
"char": "SQL",
2020-12-04 11:18:21 -05:00
"line": 74
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 74
}
],
2020-12-04 11:18:21 -05:00
"75": [],
"76": [
{
"type": 380,
"typeName": "T_COMMENT",
"char": "\/* Nowdoc *\/",
2020-12-04 11:18:21 -05:00
"line": 76
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n",
2020-12-04 11:18:21 -05:00
"line": 76
}
],
2020-12-04 11:18:21 -05:00
"77": [
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$template",
2020-12-04 11:18:21 -05:00
"line": 77
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 77
},
{
"type": -1,
"typeName": "RAW",
"char": "="
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 77
},
{
"type": 386,
"typeName": "T_START_HEREDOC",
"char": "<<<'TEMPLATE'",
2020-12-04 11:18:21 -05:00
"line": 77,
"original": {
"string": "<<<'TEMPLATE'\n",
"lines": [
"<<<'TEMPLATE'",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"78": [
{
"type": 314,
"typeName": "T_ENCAPSED_AND_WHITESPACE",
"char": " <foo>{x}<\/foo>",
2020-12-04 11:18:21 -05:00
"line": 78,
"original": {
"string": " <foo>{x}<\/foo>\n",
"lines": [
" <foo>{x}<\/foo>",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"79": [
{
"type": 387,
"typeName": "T_END_HEREDOC",
"char": "TEMPLATE",
2020-12-04 11:18:21 -05:00
"line": 79
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": "\n\n",
2020-12-04 11:18:21 -05:00
"line": 79
}
],
2020-12-04 11:18:21 -05:00
"80": [],
"81": [
{
"type": 384,
"typeName": "T_CLOSE_TAG",
"char": "?>",
2020-12-04 11:18:21 -05:00
"line": 81,
"original": {
"string": "?>\n",
"lines": [
"?>",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"82": [
{
"type": 313,
"typeName": "T_INLINE_HTML",
2020-12-04 11:18:21 -05:00
"char": "<!DOCTYPE html>",
"line": 82,
"original": {
2020-12-04 11:18:21 -05:00
"string": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>HTML<\/title>\n<\/head>\n<body>\n<h1>",
"lines": [
2020-12-04 11:18:21 -05:00
"<!DOCTYPE html>",
"<html lang=\"en\">",
2020-12-04 11:18:21 -05:00
"<head>",
"<title>HTML<\/title>",
"<\/head>",
"<body>",
"<h1>"
]
}
}
],
2020-12-04 11:18:21 -05:00
"83": [
{
"type": -1,
"typeName": "RAW",
"char": "<html lang=\"en\">"
}
],
"84": [
{
"type": -1,
"typeName": "RAW",
"char": "<head>"
}
],
"85": [
{
"type": -1,
"typeName": "RAW",
"char": "<title>HTML<\/title>"
}
],
"86": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/head>"
}
],
"87": [
{
"type": -1,
"typeName": "RAW",
"char": "<body>"
}
],
2020-12-04 11:18:21 -05:00
"88": [
{
"type": -1,
"typeName": "RAW",
"char": "<h1>"
},
{
"type": 383,
"typeName": "T_OPEN_TAG_WITH_ECHO",
"char": "<?=",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": 312,
"typeName": "T_VARIABLE",
"char": "$_SERVER",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": -1,
"typeName": "RAW",
"char": "["
},
{
"type": 315,
"typeName": "T_CONSTANT_ENCAPSED_STRING",
"char": "'HTTP_HOST'",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": -1,
"typeName": "RAW",
"char": "]"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": 384,
"typeName": "T_CLOSE_TAG",
"char": "?>",
2020-12-04 11:18:21 -05:00
"line": 88
},
{
"type": 313,
"typeName": "T_INLINE_HTML",
"char": "<\/h1>",
2020-12-04 11:18:21 -05:00
"line": 88,
"original": {
"string": "<\/h1>\n<\/body>\n<\/html>\n",
"lines": [
"<\/h1>",
"<\/body>",
"<\/html>",
""
]
}
}
],
2020-12-04 11:18:21 -05:00
"89": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/body>"
}
],
2020-12-04 11:18:21 -05:00
"90": [
{
"type": -1,
"typeName": "RAW",
"char": "<\/html>"
}
],
2020-12-04 11:18:21 -05:00
"91": [
{
"type": 382,
"typeName": "T_OPEN_TAG",
"char": "<?php ",
2020-12-04 11:18:21 -05:00
"line": 91
},
{
"type": 321,
"typeName": "T_EXIT",
"char": "exit",
2020-12-04 11:18:21 -05:00
"line": 91
},
{
"type": -1,
"typeName": "RAW",
"char": "("
},
{
"type": -1,
"typeName": "RAW",
"char": ")"
},
{
"type": -1,
"typeName": "RAW",
"char": ";"
},
{
"type": 385,
"typeName": "T_WHITESPACE",
"char": " ",
2020-12-04 11:18:21 -05:00
"line": 91
},
{
"type": 384,
"typeName": "T_CLOSE_TAG",
"char": "?>",
2020-12-04 11:18:21 -05:00
"line": 91
}
]
}
}