PHP Parser v4.10.5 Release Notes

Release Date: 2021-05-03 // 7 months ago
  • โž• Added

    • ๐Ÿ‘ [PHP 8.1] Added support for enums. These are represented using the Stmt\Enum_ and Stmt\EnumCase nodes.
    • ๐Ÿ‘ [PHP 8.1] Added support for never type. This type will now be returned as an Identifier rather than Name.
    • โž• Added ClassConst builder.

    ๐Ÿ”„ Changed

    • Non-UTF-8 code units in strings will now be hex-encoded.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed precedence of arrow functions.