Version 4.10.0

Added

  • [PHP 8.0] Added support for attributes. These are represented using a new AttributeGroup node containing Attribute nodes. A new attrGroups subnode is available on all node types that support attributes, i.e. Stmt\Class_, Stmt\Trait_, Stmt\Interface_, Stmt\Function_, Stmt\ClassMethod, Stmt\ClassConst, Stmt\Property, Expr\Closure, Expr\ArrowFunction and Param.
  • [PHP 8.0] Added support for nullsafe properties inside interpolated strings, in line with an upstream change.

Fixed

  • Improved compatibility with other libraries that use forward compatibility defines for PHP tokens.

项目简介

🚀 Github 镜像仓库 🚀

源项目地址

https://github.com/nikic/PHP-Parser

发行版本 70

PHP-Parser 4.13.0

全部发行版

贡献者 127

全部贡献者

开发语言

  • PHP 90.8 %
  • Yacc 9.2 %
  • Shell 0.0 %