mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-07-24 07:41:35 +02:00
6
test/code/parser/expr/newWithoutClass.test-fail
Normal file
6
test/code/parser/expr/newWithoutClass.test-fail
Normal file
@@ -0,0 +1,6 @@
|
||||
New without a class
|
||||
-----
|
||||
<?php
|
||||
new;
|
||||
-----
|
||||
Syntax error, unexpected ';' on line 2
|
Reference in New Issue
Block a user