PHP Parser v4.7.0 Release Notes
Release Date: 2020-07-25 // almost 4 years ago-
โ 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.
- โ Add