This website requires JavaScript.
Explore
Help
Sign In
phabel
/
php-parser
Watch
1
Star
0
Fork
0
You've already forked php-parser
mirror of
https://github.com/phabelio/PHP-Parser.git
synced
2024-12-06 05:58:59 +01:00
Code
Issues
Projects
Releases
Wiki
Activity
6db8d9d5a5
php-parser
/
test
/
code
/
parser
/
expr
/
newWithoutClass.test
9 lines
97 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Disallow new without a class name Fixes #137.
2014-09-28 12:41:35 +02:00
New without a class
-----
<?php
new;
-----
Make column info 1-based
2015-04-18 21:20:45 +02:00
Syntax error, unexpected ';' from 2:4 to 2:4
Enable basic error recovery Adding only a single recovery rule for now. The API is now: * throwOnError parser option must be disabled. * List of Errors is available through $parser->getErrors(). This method is available either way. * If no recovery is possible $parser->parse() will return null. (Obviously only if throwOnError is disabled).
2015-04-30 17:37:19 +02:00
array(
)
Reference in New Issue
Copy Permalink