9 Syntax error, unexpected T_STRING from 4:1 to 4:3
10 Syntax error, unexpected T_STRING from 5:1 to 5:3
11 Syntax error, unexpected EOF from 5:6 to 5:6
48 Syntax error, unexpected T_STRING from 4:1 to 4:3
85 Syntax error, unexpected T_STRING from 5:1 to 5:3
120 Syntax error, unexpected ';' from 3:5 to 3:5
139 Syntax error, unexpected '}' from 4:1 to 4:1
163 Syntax error, unexpected T_VARIABLE, expecting '(' from 6:1 to 6:2
169 expr: Scalar_LNumber(
177 expr: Scalar_LNumber(
185 expr: Scalar_LNumber(
198 // The output here drops the loop - would require Error node to handle this
200 Syntax error, unexpected ')' from 4:8 to 4:8
206 expr: Scalar_LNumber(
214 expr: Scalar_LNumber(
222 expr: Scalar_LNumber(
228 0: // The output here drops the loop - would require Error node to handle this
234 // Can't recover this yet, as the '}' for the inner_statement_list
235 // is always required.
242 Syntax error, unexpected EOF from 8:12 to 8:12
249 Syntax error, unexpected ';', expecting T_STRING or T_VARIABLE or '{' or '$' from 3:1 to 3:1
251 0: Expr_PropertyFetch[2:1 - 2:6](
252 var: Expr_Variable[2:1 - 2:4](
255 name: Expr_Error[3:1 - 2:6](
266 Syntax error, unexpected '}', expecting T_STRING or T_VARIABLE or '{' or '$' from 4:1 to 4:1
268 0: Stmt_Function[2:1 - 4:1](
275 0: Expr_PropertyFetch[3:5 - 3:10](
276 var: Expr_Variable[3:5 - 3:8](
279 name: Expr_Error[4:1 - 3:10](
289 Syntax error, unexpected EOF from 2:6 to 2:6
306 Syntax error, unexpected EOF from 2:4 to 2:4
308 0: Expr_New[2:1 - 2:3](
309 class: Expr_Error[2:4 - 2:3](
320 Syntax error, unexpected EOF from 2:16 to 2:16
335 Syntax error, unexpected EOF, expecting T_VARIABLE or '{' or '$' from 2:2 to 2:2
347 Syntax error, unexpected EOF, expecting T_VARIABLE or '{' or '$' from 2:7 to 2:7
349 0: Expr_StaticPropertyFetch(
364 Syntax error, unexpected EOF from 2:6 to 2:6
366 0: Expr_ClassConstFetch(
395 Syntax error, unexpected T_USE, expecting ';' or '{' from 3:1 to 3:3
396 Syntax error, unexpected T_USE, expecting ';' from 5:1 to 5:3
397 Syntax error, unexpected T_CONST, expecting ';' from 6:1 to 6:5
398 Syntax error, unexpected T_BREAK, expecting ';' from 7:1 to 7:5
399 Syntax error, unexpected T_THROW, expecting ';' from 15:1 to 15:5
409 type: TYPE_NORMAL (1)
412 type: TYPE_UNKNOWN (0)
423 type: TYPE_FUNCTION (2)
426 type: TYPE_UNKNOWN (0)
437 type: TYPE_UNKNOWN (0)
445 type: TYPE_NORMAL (1)
459 value: Scalar_LNumber(
485 expr: Scalar_LNumber(
518 use function A\{b, };
522 class X implements Y, {
530 interface I extends J, {}
537 function foo($a, ) {}
543 for ($a, ; $b, ; $c, );
544 function ($a, ) use ($b, ) {};
547 A trailing comma is not allowed here from 5:6 to 5:6
548 A trailing comma is not allowed here from 6:13 to 6:13
549 A trailing comma is not allowed here from 8:21 to 8:21
550 A trailing comma is not allowed here from 9:10 to 9:10
551 A trailing comma is not allowed here from 10:10 to 10:10
552 A trailing comma is not allowed here from 11:25 to 11:25
553 A trailing comma is not allowed here from 13:17 to 13:17
554 A trailing comma is not allowed here from 14:14 to 14:14
555 A trailing comma is not allowed here from 16:22 to 16:22
556 A trailing comma is not allowed here from 18:9 to 18:9
557 A trailing comma is not allowed here from 19:9 to 19:9
558 A trailing comma is not allowed here from 21:13 to 21:13
559 A trailing comma is not allowed here from 23:16 to 23:16
560 A trailing comma is not allowed here from 24:7 to 24:7
561 A trailing comma is not allowed here from 25:10 to 25:10
562 A trailing comma is not allowed here from 26:10 to 26:10
563 A trailing comma is not allowed here from 27:8 to 27:8
564 A trailing comma is not allowed here from 29:8 to 29:8
565 A trailing comma is not allowed here from 29:14 to 29:14
566 A trailing comma is not allowed here from 29:20 to 29:20
567 A trailing comma is not allowed here from 30:13 to 30:13
568 A trailing comma is not allowed here from 30:24 to 30:24
571 type: TYPE_UNKNOWN (0)
579 type: TYPE_NORMAL (1)
590 type: TYPE_FUNCTION (2)
598 type: TYPE_UNKNOWN (0)
609 type: TYPE_NORMAL (1)
612 type: TYPE_UNKNOWN (0)
626 value: Scalar_LNumber(
664 0: Stmt_TraitUseAdaptation_Precedence(
686 value: Scalar_LNumber(
693 flags: MODIFIER_PUBLIC (1)
695 0: Stmt_PropertyProperty(
731 0: Stmt_DeclareDeclare(
733 value: Scalar_LNumber(
764 value: Expr_Variable(
842 Syntax error, unexpected ')' from 3:10 to 3:10
844 0: Expr_FuncCall[3:1 - 3:10](
845 name: Name[3:1 - 3:3](
852 value: Expr_ClassConstFetch[3:5 - 3:9](
853 class: Name[3:5 - 3:7](
858 name: Expr_Error[3:10 - 3:9](