Added
- Add
ParentConnectingVisitor
andNodeConnectingVisitor
classes. - [PHP 8.0] Added support for match expressions. These are represented using a new
Expr\Match_
containingMatchArm
s. - [PHP 8.0] Added support for trailing comma in closure use lists.
Fixed
- Fixed missing error for unterminated comment with trailing newline (#688).
- Compatibility with PHP 8.0 has been restored: Namespaced names are now always represented by
T_NAME_*
tokens, using emulationg on older PHP versions. Full support for reserved keywords in namespaced names is not yet present.