mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-07-27 17:30:29 +02:00
Add the newline in reconstructTest() and run updateTests.php, to reduce spurious diffs in the future.
17 lines
245 B
Plaintext
17 lines
245 B
Plaintext
New without a class
|
|
-----
|
|
<?php
|
|
new;
|
|
-----
|
|
Syntax error, unexpected ';' from 2:4 to 2:4
|
|
array(
|
|
0: Stmt_Expression(
|
|
expr: Expr_New(
|
|
class: Expr_Error(
|
|
)
|
|
args: array(
|
|
)
|
|
)
|
|
)
|
|
)
|