github nikic/PHP-Parser v4.7.0
PHP-Parser 4.7.0

latest releases: v4.19.4, v4.19.3, v5.3.0...
4 years ago

Added

  • Add ParentConnectingVisitor and NodeConnectingVisitor classes.
  • [PHP 8.0] Added support for match expressions. These are represented using a new Expr\Match_ containing MatchArms.
  • [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.

Don't miss a new PHP-Parser release

NewReleases is sending notifications on new releases.