php-parser/test/code/parser/expr/newWithoutClass.test-fail

6 lines
81 B
Plaintext
Raw Normal View History

New without a class
-----
<?php
new;
-----
Syntax error, unexpected ';' on line 2