projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
012841def0d8b7e773937de474f5261cbd140572
[yaffs-website]
/
vendor
/
nikic
/
php-parser
/
test
/
code
/
parser
/
errorHandling
/
eofError.test
1
Error positions
2
-----
3
<?php foo
4
-----
5
Syntax error, unexpected EOF from 1:10 to 1:10
6
array(
7
0: Stmt_Expression(
8
expr: Expr_ConstFetch(
9
name: Name(
10
parts: array(
11
0: foo
12
)
13
)
14
)
15
)
16
)
17
-----
18
<?php foo /* bar */
19
-----
20
Syntax error, unexpected EOF from 1:20 to 1:20
21
array(
22
0: Stmt_Expression(
23
expr: Expr_ConstFetch(
24
name: Name(
25
parts: array(
26
0: foo
27
)
28
)
29
)
30
)
31
1: Stmt_Nop(
32
comments: array(
33
0: /* bar */
34
)
35
)
36
)