{ "rows": [ { "render": "x?->bar();", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8, 8, 8, 7, 7, 7, 0, 7, 7, 7, 0, 0, 0, 9, 9, 7 ], "idx": 32 }, { "render": "", "hl": [], "idx": 33 }, { "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 ], "idx": 34 }, { "render": "", "hl": [], "idx": 35 }, { "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 ], "idx": 36 }, { "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 ], "idx": 37 }, { "render": "", "hl": [], "idx": 38 }, { "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 ], "idx": 39 }, { "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 ], "idx": 40 }, { "render": "", "hl": [], "idx": 41 }, { "render": " return $c;", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 8, 8, 7 ], "idx": 42 }, { "render": " }", "hl": [ 0, 0, 0, 0, 9 ], "idx": 43 }, { "render": "}", "hl": [ 9 ], "idx": 44 }, { "render": "", "hl": [], "idx": 45 }, { "render": "trait Baz {", "hl": [ 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 9 ], "idx": 46 }, { "render": " public function about(): array", "hl": [ 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 3, 3, 3, 3, 3, 3, 3, 3, 0, 0, 0, 0, 0, 0, 9, 9, 7, 0, 9, 9, 9, 9, 9 ], "idx": 47 }, { "render": " {", "hl": [ 0, 0, 0, 0, 9 ], "idx": 48 }, { "render": " return [", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 0, 9 ], "idx": 49 }, { "render": " '__CLASS__' => __CLASS__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7 ], "idx": 50 }, { "render": " '__DIR__' => __DIR__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 6, 6, 6, 6, 6, 6, 6, 7 ], "idx": 51 }, { "render": " '__FILE__' => __FILE__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 6, 6, 6, 6, 6, 6, 6, 6, 7 ], "idx": 52 }, { "render": " '__FUNCTION__' => __FUNCTION__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7 ], "idx": 53 }, { "render": " '__LINE__' => __LINE__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7 ], "idx": 54 }, { "render": " '__METHOD__' => __METHOD__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7 ], "idx": 55 }, { "render": " '__NAMESPACE__' => __NAMESPACE__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7 ], "idx": 56 }, { "render": " '__TRAIT__' => __TRAIT__,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 7, 7, 0, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7 ], "idx": 57 }, { "render": " ];", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 9, 7 ], "idx": 58 }, { "render": " }", "hl": [ 0, 0, 0, 0, 9 ], "idx": 59 }, { "render": "}", "hl": [ 9 ], "idx": 60 }, { "render": "", "hl": [], "idx": 61 }, { "render": "$square = fn (int $x) => $x ** 2;", "hl": [ 8, 8, 8, 8, 8, 8, 8, 0, 7, 0, 3, 3, 0, 9, 4, 4, 4, 0, 8, 8, 9, 0, 7, 7, 0, 8, 8, 0, 7, 7, 0, 6, 7 ], "idx": 62 }, { "render": "", "hl": [], "idx": 63 }, { "render": "foreach ([-1, 0, 1, 2] as $x)", "hl": [ 3, 3, 3, 3, 3, 3, 3, 0, 9, 9, 7, 6, 7, 0, 6, 7, 0, 6, 7, 0, 6, 9, 0, 7, 7, 0, 8, 8, 9 ], "idx": 64 }, { "render": "{", "hl": [ 9 ], "idx": 65 }, { "render": " $not = match ($x) {", "hl": [ 0, 0, 0, 0, 8, 8, 8, 8, 0, 7, 0, 3, 3, 3, 3, 3, 0, 9, 8, 8, 9, 0, 9 ], "idx": 66 }, { "render": " 0 => 1,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 7, 7, 0, 6, 7 ], "idx": 67 }, { "render": " 1,-1 => 0,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 6, 0, 7, 7, 0, 6, 7 ], "idx": 68 }, { "render": " default => 0,", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 3, 3, 3, 3, 0, 7, 7, 0, 6, 7 ], "idx": 69 }, { "render": " };", "hl": [ 0, 0, 0, 0, 9, 7 ], "idx": 70 }, { "render": "}", "hl": [ 9 ], "idx": 71 }, { "render": "", "hl": [], "idx": 72 }, { "render": "\/*", "hl": [ 2, 2 ], "idx": 73 }, { "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 ], "idx": 74 }, { "render": " *\/", "hl": [ 2, 2, 2 ], "idx": 75 }, { "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 ], "idx": 76 }, { "render": "", "hl": [], "idx": 77 }, { "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 ], "idx": 78 }, { "render": "", "hl": [], "idx": 79 }, { "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 ], "idx": 80 }, { "render": "$x = 3;", "hl": [ 8, 8, 0, 7, 0, 6, 7 ], "idx": 81 }, { "render": "", "hl": [], "idx": 82 }, { "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 ], "idx": 83 }, { "render": "$y = [", "hl": [ 8, 8, 0, 7, 0, 9 ], "idx": 84 }, { "render": " 1,", "hl": [ 0, 0, 0, 0, 6, 7 ], "idx": 85 }, { "render": " 2,", "hl": [ 0, 0, 0, 0, 6, 7 ], "idx": 86 }, { "render": " 3", "hl": [ 0, 0, 0, 0, 6 ], "idx": 87 }, { "render": "];", "hl": [ 9, 7 ], "idx": 88 }, { "render": "", "hl": [], "idx": 89 }, { "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 ], "idx": 90 }, { "render": "$q = ($x !== 2)", "hl": [ 8, 8, 0, 7, 0, 9, 8, 8, 0, 7, 7, 7, 0, 6, 9 ], "idx": 91 }, { "render": " ? 'yes'", "hl": [ 0, 0, 0, 0, 7, 0, 5, 5, 5, 5, 5 ], "idx": 92 }, { "render": " : 'no';", "hl": [ 0, 0, 0, 0, 7, 0, 5, 5, 5, 5, 7 ], "idx": 93 }, { "render": "", "hl": [], "idx": 94 }, { "render": "\/*", "hl": [ 2, 2 ], "idx": 95 }, { "render": "Heredoc", "hl": [ 2, 2, 2, 2, 2, 2, 2 ], "idx": 96 }, { "render": "*\/$z = $x + $y;", "hl": [ 2, 2, 8, 8, 0, 7, 0, 8, 8, 0, 7, 0, 8, 8, 7 ], "idx": 97 }, { "render": "$sql = <<{x}<\/foo>", "hl": [ 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 ], "idx": 104 }, { "render": "TEMPLATE;", "hl": [ 9, 9, 9, 9, 9, 9, 9, 9, 7 ], "idx": 105 }, { "render": "", "hl": [], "idx": 106 }, { "render": "?>", "hl": [ 9, 9 ], "idx": 107 }, { "render": "", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "idx": 108 }, { "render": "", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "idx": 109 }, { "render": "", "hl": [ 0, 0, 0, 0, 0, 0 ], "idx": 110 }, { "render": "HTML<\/title>", "hl": [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ], "idx": 111 }, { "render": "<\/head>", "hl": [ 0, 0, 0, 0, 0, 0, 0 ], "idx": 112 }, { "render": "<body>", "hl": [ 0, 0, 0, 0, 0, 0 ], "idx": 113 }, { "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 ], "idx": 114 }, { "render": "<\/body>", "hl": [ 0, 0, 0, 0, 0, 0, 0 ], "idx": 115 }, { "render": "<\/html>", "hl": [ 0, 0, 0, 0, 0, 0, 0 ], "idx": 116 }, { "render": "<?php exit(); ?>", "hl": [ 9, 9, 9, 9, 9, 9, 3, 3, 3, 3, 9, 9, 7, 0, 9, 9 ], "idx": 117 } ], "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": 390, "typeName": "T_OPEN_TAG", "char": "<?php ", "line": 1 }, { "type": 334, "typeName": "T_DECLARE", "char": "declare", "line": 1 }, { "type": 40, "typeName": "(", "char": "(", "line": 1 }, { "type": 311, "typeName": "T_STRING", "char": "strict_types", "line": 1 }, { "type": 61, "typeName": "=", "char": "=", "line": 1 }, { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 1 }, { "type": 41, "typeName": ")", "char": ")", "line": 1 }, { "type": 59, "typeName": ";", "char": ";", "line": 1 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 1 } ], "2": [], "3": [ { "type": 368, "typeName": "T_INTERFACE", "char": "interface", "line": 3 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 3 }, { "type": 311, "typeName": "T_STRING", "char": "Ifoo", "line": 3 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 3 }, { "type": 123, "typeName": "{", "char": "{", "line": 3 }, { "type": 125, "typeName": "}", "char": "}", "line": 3 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 3 } ], "4": [], "5": [ { "type": 356, "typeName": "T_ABSTRACT", "char": "abstract", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 5 }, { "type": 366, "typeName": "T_CLASS", "char": "class", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 5 }, { "type": 311, "typeName": "T_STRING", "char": "Foo", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 5 }, { "type": 370, "typeName": "T_IMPLEMENTS", "char": "implements", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 5 }, { "type": 311, "typeName": "T_STRING", "char": "Ifoo", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 5 }, { "type": 123, "typeName": "{", "char": "{", "line": 5 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 5 } ], "6": [ { "type": 389, "typeName": "T_DOC_COMMENT", "char": "\/**", "line": 6, "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", " *\/" ] } } ], "7": [ { "type": -1, "typeName": "RAW", "char": " * @param int $a", "line": 7 } ], "8": [ { "type": -1, "typeName": "RAW", "char": " * @param float $b", "line": 8 } ], "9": [ { "type": -1, "typeName": "RAW", "char": " * @param array $c", "line": 9 } ], "10": [ { "type": -1, "typeName": "RAW", "char": " * @param callable $d", "line": 10 } ], "11": [ { "type": -1, "typeName": "RAW", "char": " * @param string $e", "line": 11 } ], "12": [ { "type": -1, "typeName": "RAW", "char": " * @return string", "line": 12 } ], "13": [ { "type": -1, "typeName": "RAW", "char": " *\/", "line": 13 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 13 } ], "14": [ { "type": 356, "typeName": "T_ABSTRACT", "char": "abstract", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 360, "typeName": "T_PUBLIC", "char": "public", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 345, "typeName": "T_FUNCTION", "char": "function", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 311, "typeName": "T_STRING", "char": "bar", "line": 14 }, { "type": 40, "typeName": "(", "char": "(", "line": 14 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 14 }, { "type": 44, "typeName": ",", "char": ",", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 311, "typeName": "T_STRING", "char": "float", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 14 }, { "type": 44, "typeName": ",", "char": ",", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 373, "typeName": "T_ARRAY", "char": "array", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 14 }, { "type": 44, "typeName": ",", "char": ",", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 374, "typeName": "T_CALLABLE", "char": "callable", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$d", "line": 14 }, { "type": 44, "typeName": ",", "char": ",", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 311, "typeName": "T_STRING", "char": "string", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$e", "line": 14 }, { "type": 41, "typeName": ")", "char": ")", "line": 14 }, { "type": 58, "typeName": ":", "char": ":", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 14 }, { "type": 311, "typeName": "T_STRING", "char": "string", "line": 14 }, { "type": 59, "typeName": ";", "char": ";", "line": 14 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 14 } ], "15": [], "16": [ { "type": 359, "typeName": "T_PROTECTED", "char": "protected", "line": 16 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 16 }, { "type": 345, "typeName": "T_FUNCTION", "char": "function", "line": 16 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 16 }, { "type": 311, "typeName": "T_STRING", "char": "doNothing", "line": 16 }, { "type": 40, "typeName": "(", "char": "(", "line": 16 }, { "type": 41, "typeName": ")", "char": ")", "line": 16 }, { "type": 58, "typeName": ":", "char": ":", "line": 16 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 16 }, { "type": 311, "typeName": "T_STRING", "char": "void", "line": 16 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 16 }, { "type": 123, "typeName": "{", "char": "{", "line": 16 }, { "type": 125, "typeName": "}", "char": "}", "line": 16 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 16 } ], "17": [ { "type": 125, "typeName": "}", "char": "}", "line": 17 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 17 } ], "18": [], "19": [ { "type": 389, "typeName": "T_DOC_COMMENT", "char": "\/**", "line": 19, "original": { "string": "\/**\n * Docblock comment\n *\/", "lines": [ "\/**", " * Docblock comment", " *\/" ] } } ], "20": [ { "type": -1, "typeName": "RAW", "char": " * Docblock comment", "line": 20 } ], "21": [ { "type": -1, "typeName": "RAW", "char": " *\/", "line": 21 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 21 } ], "22": [ { "type": 366, "typeName": "T_CLASS", "char": "class", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 311, "typeName": "T_STRING", "char": "FooBar", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 369, "typeName": "T_EXTENDS", "char": "extends", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 311, "typeName": "T_STRING", "char": "Foo", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 370, "typeName": "T_IMPLEMENTS", "char": "implements", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 311, "typeName": "T_STRING", "char": "Ifoo", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 22 }, { "type": 123, "typeName": "{", "char": "{", "line": 22 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 22 } ], "23": [ { "type": 360, "typeName": "T_PUBLIC", "char": "public", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 345, "typeName": "T_FUNCTION", "char": "function", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 311, "typeName": "T_STRING", "char": "bar", "line": 23 }, { "type": 40, "typeName": "(", "char": "(", "line": 23 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 23 }, { "type": 44, "typeName": ",", "char": ",", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 311, "typeName": "T_STRING", "char": "float", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 23 }, { "type": 44, "typeName": ",", "char": ",", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 373, "typeName": "T_ARRAY", "char": "array", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 23 }, { "type": 44, "typeName": ",", "char": ",", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 374, "typeName": "T_CALLABLE", "char": "callable", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$d", "line": 23 }, { "type": 44, "typeName": ",", "char": ",", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 311, "typeName": "T_STRING", "char": "string", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$e", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 61, "typeName": "=", "char": "=", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'default'", "line": 23 }, { "type": 41, "typeName": ")", "char": ")", "line": 23 }, { "type": 58, "typeName": ":", "char": ":", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 23 }, { "type": 311, "typeName": "T_STRING", "char": "string", "line": 23 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 23 } ], "24": [ { "type": 123, "typeName": "{", "char": "{", "line": 24 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 24 } ], "25": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$cstr", "line": 25 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 25 }, { "type": 61, "typeName": "=", "char": "=", "line": 25 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 25 }, { "type": 311, "typeName": "T_STRING", "char": "print_r", "line": 25 }, { "type": 40, "typeName": "(", "char": "(", "line": 25 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 25 }, { "type": 44, "typeName": ",", "char": ",", "line": 25 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 25 }, { "type": 311, "typeName": "T_STRING", "char": "TRUE", "line": 25 }, { "type": 41, "typeName": ")", "char": ")", "line": 25 }, { "type": 59, "typeName": ";", "char": ";", "line": 25 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 25 } ], "26": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$d", "line": 26 }, { "type": 40, "typeName": "(", "char": "(", "line": 26 }, { "type": 41, "typeName": ")", "char": ")", "line": 26 }, { "type": 59, "typeName": ";", "char": ";", "line": 26 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 26 } ], "27": [], "28": [ { "type": 348, "typeName": "T_RETURN", "char": "return", "line": 28 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 28 }, { "type": 34, "typeName": "\"", "char": "\"", "line": 28 }, { "type": 397, "typeName": "T_CURLY_OPEN", "char": "{", "line": 28 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 28 }, { "type": 125, "typeName": "}", "char": "}", "line": 28 }, { "type": 317, "typeName": "T_ENCAPSED_AND_WHITESPACE", "char": ", ", "line": 28 }, { "type": 396, "typeName": "T_DOLLAR_OPEN_CURLY_BRACES", "char": "${", "line": 28 }, { "type": 319, "typeName": "T_STRING_VARNAME", "char": "b", "line": 28 }, { "type": 125, "typeName": "}", "char": "}", "line": 28 }, { "type": 317, "typeName": "T_ENCAPSED_AND_WHITESPACE", "char": ", ", "line": 28 }, { "type": 34, "typeName": "\"", "char": "\"", "line": 28 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 28 }, { "type": 46, "typeName": ".", "char": ".", "line": 28 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 28 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$cstr", "line": 28 }, { "type": 59, "typeName": ";", "char": ";", "line": 28 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 28 } ], "29": [ { "type": 125, "typeName": "}", "char": "}", "line": 29 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 29 } ], "30": [], "31": [ { "type": 358, "typeName": "T_PRIVATE", "char": "private", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 345, "typeName": "T_FUNCTION", "char": "function", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 311, "typeName": "T_STRING", "char": "operations", "line": 31 }, { "type": 40, "typeName": "(", "char": "(", "line": 31 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 31 }, { "type": 44, "typeName": ",", "char": ",", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 31 }, { "type": 41, "typeName": ")", "char": ")", "line": 31 }, { "type": 58, "typeName": ":", "char": ":", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 31 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 31 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 31 } ], "32": [ { "type": 123, "typeName": "{", "char": "{", "line": 32 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 32 } ], "33": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$this", "line": 33 }, { "type": 387, "typeName": "T_NULLSAFE_OBJECT_OPERATOR", "char": "?->", "line": 33 }, { "type": 311, "typeName": "T_STRING", "char": "x", "line": 33 }, { "type": 387, "typeName": "T_NULLSAFE_OBJECT_OPERATOR", "char": "?->", "line": 33 }, { "type": 311, "typeName": "T_STRING", "char": "bar", "line": 33 }, { "type": 40, "typeName": "(", "char": "(", "line": 33 }, { "type": 41, "typeName": ")", "char": ")", "line": 33 }, { "type": 59, "typeName": ";", "char": ";", "line": 33 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 33 } ], "34": [], "35": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$this", "line": 35 }, { "type": 386, "typeName": "T_OBJECT_OPERATOR", "char": "->", "line": 35 }, { "type": 311, "typeName": "T_STRING", "char": "doNothing", "line": 35 }, { "type": 40, "typeName": "(", "char": "(", "line": 35 }, { "type": 41, "typeName": ")", "char": ")", "line": 35 }, { "type": 59, "typeName": ";", "char": ";", "line": 35 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 35 } ], "36": [], "37": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 37 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 37 }, { "type": 61, "typeName": "=", "char": "=", "line": 37 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 37 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 37 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 37 }, { "type": 43, "typeName": "+", "char": "+", "line": 37 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 37 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 37 }, { "type": 59, "typeName": ";", "char": ";", "line": 37 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 37 } ], "38": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 38 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 38 }, { "type": 61, "typeName": "=", "char": "=", "line": 38 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 38 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 38 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 38 }, { "type": 45, "typeName": "-", "char": "-", "line": 38 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 38 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 38 }, { "type": 59, "typeName": ";", "char": ";", "line": 38 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 38 } ], "39": [], "40": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 40 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 40 }, { "type": 61, "typeName": "=", "char": "=", "line": 40 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 40 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 40 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 40 }, { "type": 42, "typeName": "*", "char": "*", "line": 40 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 40 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 40 }, { "type": 59, "typeName": ";", "char": ";", "line": 40 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 40 } ], "41": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$b", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 41 }, { "type": 61, "typeName": "=", "char": "=", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 41 }, { "type": 297, "typeName": "T_INT_CAST", "char": "(int)", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 41 }, { "type": 40, "typeName": "(", "char": "(", "line": 41 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 41 }, { "type": 47, "typeName": "\/", "char": "\/", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 41 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$a", "line": 41 }, { "type": 41, "typeName": ")", "char": ")", "line": 41 }, { "type": 59, "typeName": ";", "char": ";", "line": 41 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n ", "line": 41 } ], "42": [], "43": [ { "type": 348, "typeName": "T_RETURN", "char": "return", "line": 43 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 43 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$c", "line": 43 }, { "type": 59, "typeName": ";", "char": ";", "line": 43 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 43 } ], "44": [ { "type": 125, "typeName": "}", "char": "}", "line": 44 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 44 } ], "45": [ { "type": 125, "typeName": "}", "char": "}", "line": 45 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 45 } ], "46": [], "47": [ { "type": 367, "typeName": "T_TRAIT", "char": "trait", "line": 47 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 47 }, { "type": 311, "typeName": "T_STRING", "char": "Baz", "line": 47 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 47 }, { "type": 123, "typeName": "{", "char": "{", "line": 47 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 47 } ], "48": [ { "type": 360, "typeName": "T_PUBLIC", "char": "public", "line": 48 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 48 }, { "type": 345, "typeName": "T_FUNCTION", "char": "function", "line": 48 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 48 }, { "type": 311, "typeName": "T_STRING", "char": "about", "line": 48 }, { "type": 40, "typeName": "(", "char": "(", "line": 48 }, { "type": 41, "typeName": ")", "char": ")", "line": 48 }, { "type": 58, "typeName": ":", "char": ":", "line": 48 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 48 }, { "type": 373, "typeName": "T_ARRAY", "char": "array", "line": 48 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 48 } ], "49": [ { "type": 123, "typeName": "{", "char": "{", "line": 49 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 49 } ], "50": [ { "type": 348, "typeName": "T_RETURN", "char": "return", "line": 50 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 50 }, { "type": 91, "typeName": "[", "char": "[", "line": 50 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 50 } ], "51": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__CLASS__'", "line": 51 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 51 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 51 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 51 }, { "type": 378, "typeName": "T_CLASS_C", "char": "__CLASS__", "line": 51 }, { "type": 44, "typeName": ",", "char": ",", "line": 51 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 51 } ], "52": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__DIR__'", "line": 52 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 52 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 52 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 52 }, { "type": 377, "typeName": "T_DIR", "char": "__DIR__", "line": 52 }, { "type": 44, "typeName": ",", "char": ",", "line": 52 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 52 } ], "53": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__FILE__'", "line": 53 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 53 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 53 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 53 }, { "type": 376, "typeName": "T_FILE", "char": "__FILE__", "line": 53 }, { "type": 44, "typeName": ",", "char": ",", "line": 53 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 53 } ], "54": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__FUNCTION__'", "line": 54 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 54 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 54 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 54 }, { "type": 381, "typeName": "T_FUNC_C", "char": "__FUNCTION__", "line": 54 }, { "type": 44, "typeName": ",", "char": ",", "line": 54 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 54 } ], "55": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__LINE__'", "line": 55 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 55 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 55 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 55 }, { "type": 375, "typeName": "T_LINE", "char": "__LINE__", "line": 55 }, { "type": 44, "typeName": ",", "char": ",", "line": 55 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 55 } ], "56": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__METHOD__'", "line": 56 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 56 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 56 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 56 }, { "type": 380, "typeName": "T_METHOD_C", "char": "__METHOD__", "line": 56 }, { "type": 44, "typeName": ",", "char": ",", "line": 56 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 56 } ], "57": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__NAMESPACE__'", "line": 57 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 57 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 57 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 57 }, { "type": 382, "typeName": "T_NS_C", "char": "__NAMESPACE__", "line": 57 }, { "type": 44, "typeName": ",", "char": ",", "line": 57 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 57 } ], "58": [ { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'__TRAIT__'", "line": 58 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 58 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 58 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 58 }, { "type": 379, "typeName": "T_TRAIT_C", "char": "__TRAIT__", "line": 58 }, { "type": 44, "typeName": ",", "char": ",", "line": 58 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 58 } ], "59": [ { "type": 93, "typeName": "]", "char": "]", "line": 59 }, { "type": 59, "typeName": ";", "char": ";", "line": 59 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 59 } ], "60": [ { "type": 125, "typeName": "}", "char": "}", "line": 60 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 60 } ], "61": [ { "type": 125, "typeName": "}", "char": "}", "line": 61 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 61 } ], "62": [], "63": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$square", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 61, "typeName": "=", "char": "=", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 346, "typeName": "T_FN", "char": "fn", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 40, "typeName": "(", "char": "(", "line": 63 }, { "type": 311, "typeName": "T_STRING", "char": "int", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 63 }, { "type": 41, "typeName": ")", "char": ")", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 304, "typeName": "T_POW", "char": "**", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 63 }, { "type": 309, "typeName": "T_LNUMBER", "char": "2", "line": 63 }, { "type": 59, "typeName": ";", "char": ";", "line": 63 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 63 } ], "64": [], "65": [ { "type": 332, "typeName": "T_FOREACH", "char": "foreach", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 40, "typeName": "(", "char": "(", "line": 65 }, { "type": 91, "typeName": "[", "char": "[", "line": 65 }, { "type": 45, "typeName": "-", "char": "-", "line": 65 }, { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 65 }, { "type": 44, "typeName": ",", "char": ",", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 309, "typeName": "T_LNUMBER", "char": "0", "line": 65 }, { "type": 44, "typeName": ",", "char": ",", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 65 }, { "type": 44, "typeName": ",", "char": ",", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 309, "typeName": "T_LNUMBER", "char": "2", "line": 65 }, { "type": 93, "typeName": "]", "char": "]", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 336, "typeName": "T_AS", "char": "as", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 65 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 65 }, { "type": 41, "typeName": ")", "char": ")", "line": 65 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 65 } ], "66": [ { "type": 123, "typeName": "{", "char": "{", "line": 66 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 66 } ], "67": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$not", "line": 67 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 67 }, { "type": 61, "typeName": "=", "char": "=", "line": 67 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 67 }, { "type": 341, "typeName": "T_MATCH", "char": "match", "line": 67 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 67 }, { "type": 40, "typeName": "(", "char": "(", "line": 67 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 67 }, { "type": 41, "typeName": ")", "char": ")", "line": 67 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 67 }, { "type": 123, "typeName": "{", "char": "{", "line": 67 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 67 } ], "68": [ { "type": 309, "typeName": "T_LNUMBER", "char": "0", "line": 68 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 68 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 68 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 68 }, { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 68 }, { "type": 44, "typeName": ",", "char": ",", "line": 68 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 68 } ], "69": [ { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 69 }, { "type": 44, "typeName": ",", "char": ",", "line": 69 }, { "type": 45, "typeName": "-", "char": "-", "line": 69 }, { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 69 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 69 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 69 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 69 }, { "type": 309, "typeName": "T_LNUMBER", "char": "0", "line": 69 }, { "type": 44, "typeName": ",", "char": ",", "line": 69 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 69 } ], "70": [ { "type": 340, "typeName": "T_DEFAULT", "char": "default", "line": 70 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 70 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 70 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 70 }, { "type": 309, "typeName": "T_LNUMBER", "char": "0", "line": 70 }, { "type": 44, "typeName": ",", "char": ",", "line": 70 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 70 } ], "71": [ { "type": 125, "typeName": "}", "char": "}", "line": 71 }, { "type": 59, "typeName": ";", "char": ";", "line": 71 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 71 } ], "72": [ { "type": 125, "typeName": "}", "char": "}", "line": 72 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 72 } ], "73": [], "74": [ { "type": 388, "typeName": "T_COMMENT", "char": "\/*", "line": 74, "original": { "string": "\/*\n * Multi-line comment\n *\/", "lines": [ "\/*", " * Multi-line comment", " *\/" ] } } ], "75": [ { "type": -1, "typeName": "RAW", "char": " * Multi-line comment", "line": 75 } ], "76": [ { "type": -1, "typeName": "RAW", "char": " *\/", "line": 76 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 76 } ], "77": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$foobar", "line": 77 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 77 }, { "type": 61, "typeName": "=", "char": "=", "line": 77 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 77 }, { "type": 322, "typeName": "T_NEW", "char": "new", "line": 77 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 77 }, { "type": 311, "typeName": "T_STRING", "char": "FooBar", "line": 77 }, { "type": 40, "typeName": "(", "char": "(", "line": 77 }, { "type": 41, "typeName": ")", "char": ")", "line": 77 }, { "type": 59, "typeName": ";", "char": ";", "line": 77 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 77 } ], "78": [], "79": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$baz", "line": 79 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 79 }, { "type": 61, "typeName": "=", "char": "=", "line": 79 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 79 }, { "type": 91, "typeName": "[", "char": "[", "line": 79 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'a'", "line": 79 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 79 }, { "type": 269, "typeName": "T_DOUBLE_ARROW", "char": "=>", "line": 79 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 79 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'b'", "line": 79 }, { "type": 93, "typeName": "]", "char": "]", "line": 79 }, { "type": 59, "typeName": ";", "char": ";", "line": 79 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 79 } ], "80": [], "81": [ { "type": 388, "typeName": "T_COMMENT", "char": "\/\/ C++ style comment", "line": 81 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 81 } ], "82": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 82 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 82 }, { "type": 61, "typeName": "=", "char": "=", "line": 82 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 82 }, { "type": 309, "typeName": "T_LNUMBER", "char": "3", "line": 82 }, { "type": 59, "typeName": ";", "char": ";", "line": 82 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 82 } ], "83": [], "84": [ { "type": 388, "typeName": "T_COMMENT", "char": "# Perl-style comment", "line": 84 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 84 } ], "85": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$y", "line": 85 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 85 }, { "type": 61, "typeName": "=", "char": "=", "line": 85 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 85 }, { "type": 91, "typeName": "[", "char": "[", "line": 85 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 85 } ], "86": [ { "type": 309, "typeName": "T_LNUMBER", "char": "1", "line": 86 }, { "type": 44, "typeName": ",", "char": ",", "line": 86 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 86 } ], "87": [ { "type": 309, "typeName": "T_LNUMBER", "char": "2", "line": 87 }, { "type": 44, "typeName": ",", "char": ",", "line": 87 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 87 } ], "88": [ { "type": 309, "typeName": "T_LNUMBER", "char": "3", "line": 88 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 88 } ], "89": [ { "type": 93, "typeName": "]", "char": "]", "line": 89 }, { "type": 59, "typeName": ";", "char": ";", "line": 89 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 89 } ], "90": [], "91": [ { "type": 388, "typeName": "T_COMMENT", "char": "\/\/ Multi-line ternary statement", "line": 91 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 91 } ], "92": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$q", "line": 92 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 92 }, { "type": 61, "typeName": "=", "char": "=", "line": 92 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 92 }, { "type": 40, "typeName": "(", "char": "(", "line": 92 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 92 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 92 }, { "type": 290, "typeName": "T_IS_NOT_IDENTICAL", "char": "!==", "line": 92 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 92 }, { "type": 309, "typeName": "T_LNUMBER", "char": "2", "line": 92 }, { "type": 41, "typeName": ")", "char": ")", "line": 92 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 92 } ], "93": [ { "type": 63, "typeName": "?", "char": "?", "line": 93 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 93 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'yes'", "line": 93 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n ", "line": 93 } ], "94": [ { "type": 58, "typeName": ":", "char": ":", "line": 94 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 94 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'no'", "line": 94 }, { "type": 59, "typeName": ";", "char": ";", "line": 94 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 94 } ], "95": [], "96": [ { "type": 388, "typeName": "T_COMMENT", "char": "\/*", "line": 96, "original": { "string": "\/*\nHeredoc\n*\/", "lines": [ "\/*", "Heredoc", "*\/" ] } } ], "97": [ { "type": -1, "typeName": "RAW", "char": "Heredoc", "line": 97 } ], "98": [ { "type": -1, "typeName": "RAW", "char": "*\/", "line": 98 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$z", "line": 98 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 98 }, { "type": 61, "typeName": "=", "char": "=", "line": 98 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 98 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 98 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 98 }, { "type": 43, "typeName": "+", "char": "+", "line": 98 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 98 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$y", "line": 98 }, { "type": 59, "typeName": ";", "char": ";", "line": 98 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 98 } ], "99": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$sql", "line": 99 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 99 }, { "type": 61, "typeName": "=", "char": "=", "line": 99 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 99 }, { "type": 394, "typeName": "T_START_HEREDOC", "char": "<<<SQL", "line": 99, "original": { "string": "<<<SQL\n", "lines": [ "<<<SQL", "" ] } } ], "100": [ { "type": 317, "typeName": "T_ENCAPSED_AND_WHITESPACE", "char": " SELECT * FROM \"foo\" WHERE \"bar\"='baz' AND id=", "line": 100 }, { "type": 397, "typeName": "T_CURLY_OPEN", "char": "{", "line": 100 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$x", "line": 100 }, { "type": 125, "typeName": "}", "char": "}", "line": 100 }, { "type": 317, "typeName": "T_ENCAPSED_AND_WHITESPACE", "char": ";", "line": 100, "original": { "string": ";\n", "lines": [ ";", "" ] } } ], "101": [ { "type": 395, "typeName": "T_END_HEREDOC", "char": "SQL", "line": 101 }, { "type": 59, "typeName": ";", "char": ";", "line": 101 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 101 } ], "102": [], "103": [ { "type": 388, "typeName": "T_COMMENT", "char": "\/* Nowdoc *\/", "line": 103 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n", "line": 103 } ], "104": [ { "type": 315, "typeName": "T_VARIABLE", "char": "$template", "line": 104 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 104 }, { "type": 61, "typeName": "=", "char": "=", "line": 104 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 104 }, { "type": 394, "typeName": "T_START_HEREDOC", "char": "<<<'TEMPLATE'", "line": 104, "original": { "string": "<<<'TEMPLATE'\n", "lines": [ "<<<'TEMPLATE'", "" ] } } ], "105": [ { "type": 317, "typeName": "T_ENCAPSED_AND_WHITESPACE", "char": " <foo>{x}<\/foo>", "line": 105, "original": { "string": " <foo>{x}<\/foo>\n", "lines": [ " <foo>{x}<\/foo>", "" ] } } ], "106": [ { "type": 395, "typeName": "T_END_HEREDOC", "char": "TEMPLATE", "line": 106 }, { "type": 59, "typeName": ";", "char": ";", "line": 106 }, { "type": 393, "typeName": "T_WHITESPACE", "char": "\n\n", "line": 106 } ], "107": [], "108": [ { "type": 392, "typeName": "T_CLOSE_TAG", "char": "?>", "line": 108, "original": { "string": "?>\n", "lines": [ "?>", "" ] } } ], "109": [ { "type": 316, "typeName": "T_INLINE_HTML", "char": "<!DOCTYPE html>", "line": 109, "original": { "string": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n<title>HTML<\/title>\n<\/head>\n<body>\n<h1>", "lines": [ "<!DOCTYPE html>", "<html lang=\"en\">", "<head>", "<title>HTML<\/title>", "<\/head>", "<body>", "<h1>" ] } } ], "110": [ { "type": -1, "typeName": "RAW", "char": "<html lang=\"en\">", "line": 110 } ], "111": [ { "type": -1, "typeName": "RAW", "char": "<head>", "line": 111 } ], "112": [ { "type": -1, "typeName": "RAW", "char": "<title>HTML<\/title>", "line": 112 } ], "113": [ { "type": -1, "typeName": "RAW", "char": "<\/head>", "line": 113 } ], "114": [ { "type": -1, "typeName": "RAW", "char": "<body>", "line": 114 } ], "115": [ { "type": -1, "typeName": "RAW", "char": "<h1>", "line": 115 }, { "type": 391, "typeName": "T_OPEN_TAG_WITH_ECHO", "char": "<?=", "line": 115 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 115 }, { "type": 315, "typeName": "T_VARIABLE", "char": "$_SERVER", "line": 115 }, { "type": 91, "typeName": "[", "char": "[", "line": 115 }, { "type": 318, "typeName": "T_CONSTANT_ENCAPSED_STRING", "char": "'HTTP_HOST'", "line": 115 }, { "type": 93, "typeName": "]", "char": "]", "line": 115 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 115 }, { "type": 392, "typeName": "T_CLOSE_TAG", "char": "?>", "line": 115 }, { "type": 316, "typeName": "T_INLINE_HTML", "char": "<\/h1>", "line": 115, "original": { "string": "<\/h1>\n<\/body>\n<\/html>\n", "lines": [ "<\/h1>", "<\/body>", "<\/html>", "" ] } } ], "116": [ { "type": -1, "typeName": "RAW", "char": "<\/body>", "line": 116 } ], "117": [ { "type": -1, "typeName": "RAW", "char": "<\/html>", "line": 117 } ], "118": [ { "type": 390, "typeName": "T_OPEN_TAG", "char": "<?php ", "line": 118 }, { "type": 323, "typeName": "T_EXIT", "char": "exit", "line": 118 }, { "type": 40, "typeName": "(", "char": "(", "line": 118 }, { "type": 41, "typeName": ")", "char": ")", "line": 118 }, { "type": 59, "typeName": ";", "char": ";", "line": 118 }, { "type": 393, "typeName": "T_WHITESPACE", "char": " ", "line": 118 }, { "type": 392, "typeName": "T_CLOSE_TAG", "char": "?>", "line": 118 } ] } }