2015-04-27 15:33:51 +02:00
|
|
|
Error positions
|
|
|
|
-----
|
|
|
|
<?php foo
|
|
|
|
-----
|
|
|
|
Syntax error, unexpected EOF from 1:10 to 1:10
|
2015-04-30 17:37:19 +02:00
|
|
|
array(
|
2017-01-19 22:25:22 +01:00
|
|
|
0: Stmt_Expression(
|
|
|
|
expr: Expr_ConstFetch(
|
|
|
|
name: Name(
|
|
|
|
parts: array(
|
|
|
|
0: foo
|
|
|
|
)
|
2016-04-20 16:47:10 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
2015-04-30 17:37:19 +02:00
|
|
|
)
|
2015-04-27 15:33:51 +02:00
|
|
|
-----
|
|
|
|
<?php foo /* bar */
|
|
|
|
-----
|
|
|
|
Syntax error, unexpected EOF from 1:20 to 1:20
|
2015-04-30 17:37:19 +02:00
|
|
|
array(
|
2017-01-19 22:25:22 +01:00
|
|
|
0: Stmt_Expression(
|
|
|
|
expr: Expr_ConstFetch(
|
|
|
|
name: Name(
|
|
|
|
parts: array(
|
|
|
|
0: foo
|
|
|
|
)
|
2016-04-20 16:47:10 +02:00
|
|
|
)
|
|
|
|
)
|
|
|
|
)
|
|
|
|
1: Stmt_Nop(
|
2016-04-05 11:53:50 +02:00
|
|
|
comments: array(
|
|
|
|
0: /* bar */
|
|
|
|
)
|
|
|
|
)
|
2016-04-20 16:47:10 +02:00
|
|
|
)
|