You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If PHP code is syntactically invalid, this currently returns null.
Parent nodes may or may not be able to handle that, leading to uncaught Error/Exception or callers getting invalid parse trees
Ideally the returned results would be identical to the parse tree for some other syntactically valid code.
Catch this exception at the level of statements in statement lists, or possibly earlier (e.g. convert $a + to $a, [$a, to [$a]
If PHP code is syntactically invalid, this currently returns null.
Parent nodes may or may not be able to handle that, leading to uncaught Error/Exception or callers getting invalid parse trees
Ideally the returned results would be identical to the parse tree for some other syntactically valid code.
Catch this exception at the level of statements in statement lists, or possibly earlier (e.g. convert $a + to $a, [$a, to [$a]
Same as TysonAndre/tolerant-php-parser-to-php-ast#3
The text was updated successfully, but these errors were encountered: