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