1 /*
2 +----------------------------------------------------------------------+
3 | PHP Version 7 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 of the PHP license, |
8 | that is bundled with this package in the file LICENSE, and is |
9 | available through the world-wide-web at the following url: |
10 | http://www.php.net/license/3_01.txt |
11 | If you did not receive a copy of the PHP license and are unable to |
12 | obtain it through the world-wide-web, please send a note to |
13 | license@php.net so we can mail you a copy immediately. |
14 +----------------------------------------------------------------------+
15 | Author: Johannes Schlueter <johannes@php.net> |
16 +----------------------------------------------------------------------+
17 */
18
19 /*
20 DO NOT EDIT THIS FILE!
21 This file is generated using tokenizer_data_gen.sh
22 */
23
24 #include "php.h"
25 #include "zend.h"
26 #include <zend_language_parser.h>
27
28
tokenizer_register_constants(INIT_FUNC_ARGS)29 void tokenizer_register_constants(INIT_FUNC_ARGS) {
30 REGISTER_LONG_CONSTANT("T_INCLUDE", T_INCLUDE, CONST_CS | CONST_PERSISTENT);
31 REGISTER_LONG_CONSTANT("T_INCLUDE_ONCE", T_INCLUDE_ONCE, CONST_CS | CONST_PERSISTENT);
32 REGISTER_LONG_CONSTANT("T_REQUIRE", T_REQUIRE, CONST_CS | CONST_PERSISTENT);
33 REGISTER_LONG_CONSTANT("T_REQUIRE_ONCE", T_REQUIRE_ONCE, CONST_CS | CONST_PERSISTENT);
34 REGISTER_LONG_CONSTANT("T_LOGICAL_OR", T_LOGICAL_OR, CONST_CS | CONST_PERSISTENT);
35 REGISTER_LONG_CONSTANT("T_LOGICAL_XOR", T_LOGICAL_XOR, CONST_CS | CONST_PERSISTENT);
36 REGISTER_LONG_CONSTANT("T_LOGICAL_AND", T_LOGICAL_AND, CONST_CS | CONST_PERSISTENT);
37 REGISTER_LONG_CONSTANT("T_PRINT", T_PRINT, CONST_CS | CONST_PERSISTENT);
38 REGISTER_LONG_CONSTANT("T_YIELD", T_YIELD, CONST_CS | CONST_PERSISTENT);
39 REGISTER_LONG_CONSTANT("T_DOUBLE_ARROW", T_DOUBLE_ARROW, CONST_CS | CONST_PERSISTENT);
40 REGISTER_LONG_CONSTANT("T_YIELD_FROM", T_YIELD_FROM, CONST_CS | CONST_PERSISTENT);
41 REGISTER_LONG_CONSTANT("T_PLUS_EQUAL", T_PLUS_EQUAL, CONST_CS | CONST_PERSISTENT);
42 REGISTER_LONG_CONSTANT("T_MINUS_EQUAL", T_MINUS_EQUAL, CONST_CS | CONST_PERSISTENT);
43 REGISTER_LONG_CONSTANT("T_MUL_EQUAL", T_MUL_EQUAL, CONST_CS | CONST_PERSISTENT);
44 REGISTER_LONG_CONSTANT("T_DIV_EQUAL", T_DIV_EQUAL, CONST_CS | CONST_PERSISTENT);
45 REGISTER_LONG_CONSTANT("T_CONCAT_EQUAL", T_CONCAT_EQUAL, CONST_CS | CONST_PERSISTENT);
46 REGISTER_LONG_CONSTANT("T_MOD_EQUAL", T_MOD_EQUAL, CONST_CS | CONST_PERSISTENT);
47 REGISTER_LONG_CONSTANT("T_AND_EQUAL", T_AND_EQUAL, CONST_CS | CONST_PERSISTENT);
48 REGISTER_LONG_CONSTANT("T_OR_EQUAL", T_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
49 REGISTER_LONG_CONSTANT("T_XOR_EQUAL", T_XOR_EQUAL, CONST_CS | CONST_PERSISTENT);
50 REGISTER_LONG_CONSTANT("T_SL_EQUAL", T_SL_EQUAL, CONST_CS | CONST_PERSISTENT);
51 REGISTER_LONG_CONSTANT("T_SR_EQUAL", T_SR_EQUAL, CONST_CS | CONST_PERSISTENT);
52 REGISTER_LONG_CONSTANT("T_POW_EQUAL", T_POW_EQUAL, CONST_CS | CONST_PERSISTENT);
53 REGISTER_LONG_CONSTANT("T_COALESCE_EQUAL", T_COALESCE_EQUAL, CONST_CS | CONST_PERSISTENT);
54 REGISTER_LONG_CONSTANT("T_COALESCE", T_COALESCE, CONST_CS | CONST_PERSISTENT);
55 REGISTER_LONG_CONSTANT("T_BOOLEAN_OR", T_BOOLEAN_OR, CONST_CS | CONST_PERSISTENT);
56 REGISTER_LONG_CONSTANT("T_BOOLEAN_AND", T_BOOLEAN_AND, CONST_CS | CONST_PERSISTENT);
57 REGISTER_LONG_CONSTANT("T_IS_EQUAL", T_IS_EQUAL, CONST_CS | CONST_PERSISTENT);
58 REGISTER_LONG_CONSTANT("T_IS_NOT_EQUAL", T_IS_NOT_EQUAL, CONST_CS | CONST_PERSISTENT);
59 REGISTER_LONG_CONSTANT("T_IS_IDENTICAL", T_IS_IDENTICAL, CONST_CS | CONST_PERSISTENT);
60 REGISTER_LONG_CONSTANT("T_IS_NOT_IDENTICAL", T_IS_NOT_IDENTICAL, CONST_CS | CONST_PERSISTENT);
61 REGISTER_LONG_CONSTANT("T_SPACESHIP", T_SPACESHIP, CONST_CS | CONST_PERSISTENT);
62 REGISTER_LONG_CONSTANT("T_IS_SMALLER_OR_EQUAL", T_IS_SMALLER_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
63 REGISTER_LONG_CONSTANT("T_IS_GREATER_OR_EQUAL", T_IS_GREATER_OR_EQUAL, CONST_CS | CONST_PERSISTENT);
64 REGISTER_LONG_CONSTANT("T_SL", T_SL, CONST_CS | CONST_PERSISTENT);
65 REGISTER_LONG_CONSTANT("T_SR", T_SR, CONST_CS | CONST_PERSISTENT);
66 REGISTER_LONG_CONSTANT("T_INSTANCEOF", T_INSTANCEOF, CONST_CS | CONST_PERSISTENT);
67 REGISTER_LONG_CONSTANT("T_INT_CAST", T_INT_CAST, CONST_CS | CONST_PERSISTENT);
68 REGISTER_LONG_CONSTANT("T_DOUBLE_CAST", T_DOUBLE_CAST, CONST_CS | CONST_PERSISTENT);
69 REGISTER_LONG_CONSTANT("T_STRING_CAST", T_STRING_CAST, CONST_CS | CONST_PERSISTENT);
70 REGISTER_LONG_CONSTANT("T_ARRAY_CAST", T_ARRAY_CAST, CONST_CS | CONST_PERSISTENT);
71 REGISTER_LONG_CONSTANT("T_OBJECT_CAST", T_OBJECT_CAST, CONST_CS | CONST_PERSISTENT);
72 REGISTER_LONG_CONSTANT("T_BOOL_CAST", T_BOOL_CAST, CONST_CS | CONST_PERSISTENT);
73 REGISTER_LONG_CONSTANT("T_UNSET_CAST", T_UNSET_CAST, CONST_CS | CONST_PERSISTENT);
74 REGISTER_LONG_CONSTANT("T_POW", T_POW, CONST_CS | CONST_PERSISTENT);
75 REGISTER_LONG_CONSTANT("T_NEW", T_NEW, CONST_CS | CONST_PERSISTENT);
76 REGISTER_LONG_CONSTANT("T_CLONE", T_CLONE, CONST_CS | CONST_PERSISTENT);
77 REGISTER_LONG_CONSTANT("T_ELSEIF", T_ELSEIF, CONST_CS | CONST_PERSISTENT);
78 REGISTER_LONG_CONSTANT("T_ELSE", T_ELSE, CONST_CS | CONST_PERSISTENT);
79 REGISTER_LONG_CONSTANT("T_LNUMBER", T_LNUMBER, CONST_CS | CONST_PERSISTENT);
80 REGISTER_LONG_CONSTANT("T_DNUMBER", T_DNUMBER, CONST_CS | CONST_PERSISTENT);
81 REGISTER_LONG_CONSTANT("T_STRING", T_STRING, CONST_CS | CONST_PERSISTENT);
82 REGISTER_LONG_CONSTANT("T_VARIABLE", T_VARIABLE, CONST_CS | CONST_PERSISTENT);
83 REGISTER_LONG_CONSTANT("T_INLINE_HTML", T_INLINE_HTML, CONST_CS | CONST_PERSISTENT);
84 REGISTER_LONG_CONSTANT("T_ENCAPSED_AND_WHITESPACE", T_ENCAPSED_AND_WHITESPACE, CONST_CS | CONST_PERSISTENT);
85 REGISTER_LONG_CONSTANT("T_CONSTANT_ENCAPSED_STRING", T_CONSTANT_ENCAPSED_STRING, CONST_CS | CONST_PERSISTENT);
86 REGISTER_LONG_CONSTANT("T_STRING_VARNAME", T_STRING_VARNAME, CONST_CS | CONST_PERSISTENT);
87 REGISTER_LONG_CONSTANT("T_NUM_STRING", T_NUM_STRING, CONST_CS | CONST_PERSISTENT);
88 REGISTER_LONG_CONSTANT("T_EVAL", T_EVAL, CONST_CS | CONST_PERSISTENT);
89 REGISTER_LONG_CONSTANT("T_INC", T_INC, CONST_CS | CONST_PERSISTENT);
90 REGISTER_LONG_CONSTANT("T_DEC", T_DEC, CONST_CS | CONST_PERSISTENT);
91 REGISTER_LONG_CONSTANT("T_EXIT", T_EXIT, CONST_CS | CONST_PERSISTENT);
92 REGISTER_LONG_CONSTANT("T_IF", T_IF, CONST_CS | CONST_PERSISTENT);
93 REGISTER_LONG_CONSTANT("T_ENDIF", T_ENDIF, CONST_CS | CONST_PERSISTENT);
94 REGISTER_LONG_CONSTANT("T_ECHO", T_ECHO, CONST_CS | CONST_PERSISTENT);
95 REGISTER_LONG_CONSTANT("T_DO", T_DO, CONST_CS | CONST_PERSISTENT);
96 REGISTER_LONG_CONSTANT("T_WHILE", T_WHILE, CONST_CS | CONST_PERSISTENT);
97 REGISTER_LONG_CONSTANT("T_ENDWHILE", T_ENDWHILE, CONST_CS | CONST_PERSISTENT);
98 REGISTER_LONG_CONSTANT("T_FOR", T_FOR, CONST_CS | CONST_PERSISTENT);
99 REGISTER_LONG_CONSTANT("T_ENDFOR", T_ENDFOR, CONST_CS | CONST_PERSISTENT);
100 REGISTER_LONG_CONSTANT("T_FOREACH", T_FOREACH, CONST_CS | CONST_PERSISTENT);
101 REGISTER_LONG_CONSTANT("T_ENDFOREACH", T_ENDFOREACH, CONST_CS | CONST_PERSISTENT);
102 REGISTER_LONG_CONSTANT("T_DECLARE", T_DECLARE, CONST_CS | CONST_PERSISTENT);
103 REGISTER_LONG_CONSTANT("T_ENDDECLARE", T_ENDDECLARE, CONST_CS | CONST_PERSISTENT);
104 REGISTER_LONG_CONSTANT("T_AS", T_AS, CONST_CS | CONST_PERSISTENT);
105 REGISTER_LONG_CONSTANT("T_SWITCH", T_SWITCH, CONST_CS | CONST_PERSISTENT);
106 REGISTER_LONG_CONSTANT("T_ENDSWITCH", T_ENDSWITCH, CONST_CS | CONST_PERSISTENT);
107 REGISTER_LONG_CONSTANT("T_CASE", T_CASE, CONST_CS | CONST_PERSISTENT);
108 REGISTER_LONG_CONSTANT("T_DEFAULT", T_DEFAULT, CONST_CS | CONST_PERSISTENT);
109 REGISTER_LONG_CONSTANT("T_BREAK", T_BREAK, CONST_CS | CONST_PERSISTENT);
110 REGISTER_LONG_CONSTANT("T_CONTINUE", T_CONTINUE, CONST_CS | CONST_PERSISTENT);
111 REGISTER_LONG_CONSTANT("T_GOTO", T_GOTO, CONST_CS | CONST_PERSISTENT);
112 REGISTER_LONG_CONSTANT("T_FUNCTION", T_FUNCTION, CONST_CS | CONST_PERSISTENT);
113 REGISTER_LONG_CONSTANT("T_FN", T_FN, CONST_CS | CONST_PERSISTENT);
114 REGISTER_LONG_CONSTANT("T_CONST", T_CONST, CONST_CS | CONST_PERSISTENT);
115 REGISTER_LONG_CONSTANT("T_RETURN", T_RETURN, CONST_CS | CONST_PERSISTENT);
116 REGISTER_LONG_CONSTANT("T_TRY", T_TRY, CONST_CS | CONST_PERSISTENT);
117 REGISTER_LONG_CONSTANT("T_CATCH", T_CATCH, CONST_CS | CONST_PERSISTENT);
118 REGISTER_LONG_CONSTANT("T_FINALLY", T_FINALLY, CONST_CS | CONST_PERSISTENT);
119 REGISTER_LONG_CONSTANT("T_THROW", T_THROW, CONST_CS | CONST_PERSISTENT);
120 REGISTER_LONG_CONSTANT("T_USE", T_USE, CONST_CS | CONST_PERSISTENT);
121 REGISTER_LONG_CONSTANT("T_INSTEADOF", T_INSTEADOF, CONST_CS | CONST_PERSISTENT);
122 REGISTER_LONG_CONSTANT("T_GLOBAL", T_GLOBAL, CONST_CS | CONST_PERSISTENT);
123 REGISTER_LONG_CONSTANT("T_STATIC", T_STATIC, CONST_CS | CONST_PERSISTENT);
124 REGISTER_LONG_CONSTANT("T_ABSTRACT", T_ABSTRACT, CONST_CS | CONST_PERSISTENT);
125 REGISTER_LONG_CONSTANT("T_FINAL", T_FINAL, CONST_CS | CONST_PERSISTENT);
126 REGISTER_LONG_CONSTANT("T_PRIVATE", T_PRIVATE, CONST_CS | CONST_PERSISTENT);
127 REGISTER_LONG_CONSTANT("T_PROTECTED", T_PROTECTED, CONST_CS | CONST_PERSISTENT);
128 REGISTER_LONG_CONSTANT("T_PUBLIC", T_PUBLIC, CONST_CS | CONST_PERSISTENT);
129 REGISTER_LONG_CONSTANT("T_VAR", T_VAR, CONST_CS | CONST_PERSISTENT);
130 REGISTER_LONG_CONSTANT("T_UNSET", T_UNSET, CONST_CS | CONST_PERSISTENT);
131 REGISTER_LONG_CONSTANT("T_ISSET", T_ISSET, CONST_CS | CONST_PERSISTENT);
132 REGISTER_LONG_CONSTANT("T_EMPTY", T_EMPTY, CONST_CS | CONST_PERSISTENT);
133 REGISTER_LONG_CONSTANT("T_HALT_COMPILER", T_HALT_COMPILER, CONST_CS | CONST_PERSISTENT);
134 REGISTER_LONG_CONSTANT("T_CLASS", T_CLASS, CONST_CS | CONST_PERSISTENT);
135 REGISTER_LONG_CONSTANT("T_TRAIT", T_TRAIT, CONST_CS | CONST_PERSISTENT);
136 REGISTER_LONG_CONSTANT("T_INTERFACE", T_INTERFACE, CONST_CS | CONST_PERSISTENT);
137 REGISTER_LONG_CONSTANT("T_EXTENDS", T_EXTENDS, CONST_CS | CONST_PERSISTENT);
138 REGISTER_LONG_CONSTANT("T_IMPLEMENTS", T_IMPLEMENTS, CONST_CS | CONST_PERSISTENT);
139 REGISTER_LONG_CONSTANT("T_OBJECT_OPERATOR", T_OBJECT_OPERATOR, CONST_CS | CONST_PERSISTENT);
140 REGISTER_LONG_CONSTANT("T_LIST", T_LIST, CONST_CS | CONST_PERSISTENT);
141 REGISTER_LONG_CONSTANT("T_ARRAY", T_ARRAY, CONST_CS | CONST_PERSISTENT);
142 REGISTER_LONG_CONSTANT("T_CALLABLE", T_CALLABLE, CONST_CS | CONST_PERSISTENT);
143 REGISTER_LONG_CONSTANT("T_LINE", T_LINE, CONST_CS | CONST_PERSISTENT);
144 REGISTER_LONG_CONSTANT("T_FILE", T_FILE, CONST_CS | CONST_PERSISTENT);
145 REGISTER_LONG_CONSTANT("T_DIR", T_DIR, CONST_CS | CONST_PERSISTENT);
146 REGISTER_LONG_CONSTANT("T_CLASS_C", T_CLASS_C, CONST_CS | CONST_PERSISTENT);
147 REGISTER_LONG_CONSTANT("T_TRAIT_C", T_TRAIT_C, CONST_CS | CONST_PERSISTENT);
148 REGISTER_LONG_CONSTANT("T_METHOD_C", T_METHOD_C, CONST_CS | CONST_PERSISTENT);
149 REGISTER_LONG_CONSTANT("T_FUNC_C", T_FUNC_C, CONST_CS | CONST_PERSISTENT);
150 REGISTER_LONG_CONSTANT("T_COMMENT", T_COMMENT, CONST_CS | CONST_PERSISTENT);
151 REGISTER_LONG_CONSTANT("T_DOC_COMMENT", T_DOC_COMMENT, CONST_CS | CONST_PERSISTENT);
152 REGISTER_LONG_CONSTANT("T_OPEN_TAG", T_OPEN_TAG, CONST_CS | CONST_PERSISTENT);
153 REGISTER_LONG_CONSTANT("T_OPEN_TAG_WITH_ECHO", T_OPEN_TAG_WITH_ECHO, CONST_CS | CONST_PERSISTENT);
154 REGISTER_LONG_CONSTANT("T_CLOSE_TAG", T_CLOSE_TAG, CONST_CS | CONST_PERSISTENT);
155 REGISTER_LONG_CONSTANT("T_WHITESPACE", T_WHITESPACE, CONST_CS | CONST_PERSISTENT);
156 REGISTER_LONG_CONSTANT("T_START_HEREDOC", T_START_HEREDOC, CONST_CS | CONST_PERSISTENT);
157 REGISTER_LONG_CONSTANT("T_END_HEREDOC", T_END_HEREDOC, CONST_CS | CONST_PERSISTENT);
158 REGISTER_LONG_CONSTANT("T_DOLLAR_OPEN_CURLY_BRACES", T_DOLLAR_OPEN_CURLY_BRACES, CONST_CS | CONST_PERSISTENT);
159 REGISTER_LONG_CONSTANT("T_CURLY_OPEN", T_CURLY_OPEN, CONST_CS | CONST_PERSISTENT);
160 REGISTER_LONG_CONSTANT("T_PAAMAYIM_NEKUDOTAYIM", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT);
161 REGISTER_LONG_CONSTANT("T_NAMESPACE", T_NAMESPACE, CONST_CS | CONST_PERSISTENT);
162 REGISTER_LONG_CONSTANT("T_NS_C", T_NS_C, CONST_CS | CONST_PERSISTENT);
163 REGISTER_LONG_CONSTANT("T_NS_SEPARATOR", T_NS_SEPARATOR, CONST_CS | CONST_PERSISTENT);
164 REGISTER_LONG_CONSTANT("T_ELLIPSIS", T_ELLIPSIS, CONST_CS | CONST_PERSISTENT);
165 REGISTER_LONG_CONSTANT("T_BAD_CHARACTER", T_BAD_CHARACTER, CONST_CS | CONST_PERSISTENT);
166 REGISTER_LONG_CONSTANT("T_DOUBLE_COLON", T_PAAMAYIM_NEKUDOTAYIM, CONST_CS | CONST_PERSISTENT);
167 }
168
get_token_type_name(int token_type)169 char *get_token_type_name(int token_type)
170 {
171 switch (token_type) {
172
173 case T_INCLUDE: return "T_INCLUDE";
174 case T_INCLUDE_ONCE: return "T_INCLUDE_ONCE";
175 case T_REQUIRE: return "T_REQUIRE";
176 case T_REQUIRE_ONCE: return "T_REQUIRE_ONCE";
177 case T_LOGICAL_OR: return "T_LOGICAL_OR";
178 case T_LOGICAL_XOR: return "T_LOGICAL_XOR";
179 case T_LOGICAL_AND: return "T_LOGICAL_AND";
180 case T_PRINT: return "T_PRINT";
181 case T_YIELD: return "T_YIELD";
182 case T_DOUBLE_ARROW: return "T_DOUBLE_ARROW";
183 case T_YIELD_FROM: return "T_YIELD_FROM";
184 case T_PLUS_EQUAL: return "T_PLUS_EQUAL";
185 case T_MINUS_EQUAL: return "T_MINUS_EQUAL";
186 case T_MUL_EQUAL: return "T_MUL_EQUAL";
187 case T_DIV_EQUAL: return "T_DIV_EQUAL";
188 case T_CONCAT_EQUAL: return "T_CONCAT_EQUAL";
189 case T_MOD_EQUAL: return "T_MOD_EQUAL";
190 case T_AND_EQUAL: return "T_AND_EQUAL";
191 case T_OR_EQUAL: return "T_OR_EQUAL";
192 case T_XOR_EQUAL: return "T_XOR_EQUAL";
193 case T_SL_EQUAL: return "T_SL_EQUAL";
194 case T_SR_EQUAL: return "T_SR_EQUAL";
195 case T_POW_EQUAL: return "T_POW_EQUAL";
196 case T_COALESCE_EQUAL: return "T_COALESCE_EQUAL";
197 case T_COALESCE: return "T_COALESCE";
198 case T_BOOLEAN_OR: return "T_BOOLEAN_OR";
199 case T_BOOLEAN_AND: return "T_BOOLEAN_AND";
200 case T_IS_EQUAL: return "T_IS_EQUAL";
201 case T_IS_NOT_EQUAL: return "T_IS_NOT_EQUAL";
202 case T_IS_IDENTICAL: return "T_IS_IDENTICAL";
203 case T_IS_NOT_IDENTICAL: return "T_IS_NOT_IDENTICAL";
204 case T_SPACESHIP: return "T_SPACESHIP";
205 case T_IS_SMALLER_OR_EQUAL: return "T_IS_SMALLER_OR_EQUAL";
206 case T_IS_GREATER_OR_EQUAL: return "T_IS_GREATER_OR_EQUAL";
207 case T_SL: return "T_SL";
208 case T_SR: return "T_SR";
209 case T_INSTANCEOF: return "T_INSTANCEOF";
210 case T_INT_CAST: return "T_INT_CAST";
211 case T_DOUBLE_CAST: return "T_DOUBLE_CAST";
212 case T_STRING_CAST: return "T_STRING_CAST";
213 case T_ARRAY_CAST: return "T_ARRAY_CAST";
214 case T_OBJECT_CAST: return "T_OBJECT_CAST";
215 case T_BOOL_CAST: return "T_BOOL_CAST";
216 case T_UNSET_CAST: return "T_UNSET_CAST";
217 case T_POW: return "T_POW";
218 case T_NEW: return "T_NEW";
219 case T_CLONE: return "T_CLONE";
220 case T_ELSEIF: return "T_ELSEIF";
221 case T_ELSE: return "T_ELSE";
222 case T_LNUMBER: return "T_LNUMBER";
223 case T_DNUMBER: return "T_DNUMBER";
224 case T_STRING: return "T_STRING";
225 case T_VARIABLE: return "T_VARIABLE";
226 case T_INLINE_HTML: return "T_INLINE_HTML";
227 case T_ENCAPSED_AND_WHITESPACE: return "T_ENCAPSED_AND_WHITESPACE";
228 case T_CONSTANT_ENCAPSED_STRING: return "T_CONSTANT_ENCAPSED_STRING";
229 case T_STRING_VARNAME: return "T_STRING_VARNAME";
230 case T_NUM_STRING: return "T_NUM_STRING";
231 case T_EVAL: return "T_EVAL";
232 case T_INC: return "T_INC";
233 case T_DEC: return "T_DEC";
234 case T_EXIT: return "T_EXIT";
235 case T_IF: return "T_IF";
236 case T_ENDIF: return "T_ENDIF";
237 case T_ECHO: return "T_ECHO";
238 case T_DO: return "T_DO";
239 case T_WHILE: return "T_WHILE";
240 case T_ENDWHILE: return "T_ENDWHILE";
241 case T_FOR: return "T_FOR";
242 case T_ENDFOR: return "T_ENDFOR";
243 case T_FOREACH: return "T_FOREACH";
244 case T_ENDFOREACH: return "T_ENDFOREACH";
245 case T_DECLARE: return "T_DECLARE";
246 case T_ENDDECLARE: return "T_ENDDECLARE";
247 case T_AS: return "T_AS";
248 case T_SWITCH: return "T_SWITCH";
249 case T_ENDSWITCH: return "T_ENDSWITCH";
250 case T_CASE: return "T_CASE";
251 case T_DEFAULT: return "T_DEFAULT";
252 case T_BREAK: return "T_BREAK";
253 case T_CONTINUE: return "T_CONTINUE";
254 case T_GOTO: return "T_GOTO";
255 case T_FUNCTION: return "T_FUNCTION";
256 case T_FN: return "T_FN";
257 case T_CONST: return "T_CONST";
258 case T_RETURN: return "T_RETURN";
259 case T_TRY: return "T_TRY";
260 case T_CATCH: return "T_CATCH";
261 case T_FINALLY: return "T_FINALLY";
262 case T_THROW: return "T_THROW";
263 case T_USE: return "T_USE";
264 case T_INSTEADOF: return "T_INSTEADOF";
265 case T_GLOBAL: return "T_GLOBAL";
266 case T_STATIC: return "T_STATIC";
267 case T_ABSTRACT: return "T_ABSTRACT";
268 case T_FINAL: return "T_FINAL";
269 case T_PRIVATE: return "T_PRIVATE";
270 case T_PROTECTED: return "T_PROTECTED";
271 case T_PUBLIC: return "T_PUBLIC";
272 case T_VAR: return "T_VAR";
273 case T_UNSET: return "T_UNSET";
274 case T_ISSET: return "T_ISSET";
275 case T_EMPTY: return "T_EMPTY";
276 case T_HALT_COMPILER: return "T_HALT_COMPILER";
277 case T_CLASS: return "T_CLASS";
278 case T_TRAIT: return "T_TRAIT";
279 case T_INTERFACE: return "T_INTERFACE";
280 case T_EXTENDS: return "T_EXTENDS";
281 case T_IMPLEMENTS: return "T_IMPLEMENTS";
282 case T_OBJECT_OPERATOR: return "T_OBJECT_OPERATOR";
283 case T_LIST: return "T_LIST";
284 case T_ARRAY: return "T_ARRAY";
285 case T_CALLABLE: return "T_CALLABLE";
286 case T_LINE: return "T_LINE";
287 case T_FILE: return "T_FILE";
288 case T_DIR: return "T_DIR";
289 case T_CLASS_C: return "T_CLASS_C";
290 case T_TRAIT_C: return "T_TRAIT_C";
291 case T_METHOD_C: return "T_METHOD_C";
292 case T_FUNC_C: return "T_FUNC_C";
293 case T_COMMENT: return "T_COMMENT";
294 case T_DOC_COMMENT: return "T_DOC_COMMENT";
295 case T_OPEN_TAG: return "T_OPEN_TAG";
296 case T_OPEN_TAG_WITH_ECHO: return "T_OPEN_TAG_WITH_ECHO";
297 case T_CLOSE_TAG: return "T_CLOSE_TAG";
298 case T_WHITESPACE: return "T_WHITESPACE";
299 case T_START_HEREDOC: return "T_START_HEREDOC";
300 case T_END_HEREDOC: return "T_END_HEREDOC";
301 case T_DOLLAR_OPEN_CURLY_BRACES: return "T_DOLLAR_OPEN_CURLY_BRACES";
302 case T_CURLY_OPEN: return "T_CURLY_OPEN";
303 case T_PAAMAYIM_NEKUDOTAYIM: return "T_DOUBLE_COLON";
304 case T_NAMESPACE: return "T_NAMESPACE";
305 case T_NS_C: return "T_NS_C";
306 case T_NS_SEPARATOR: return "T_NS_SEPARATOR";
307 case T_ELLIPSIS: return "T_ELLIPSIS";
308 case T_BAD_CHARACTER: return "T_BAD_CHARACTER";
309
310 }
311 return "UNKNOWN";
312 }
313
314