PHP Parser v4.2.2 Release Notes

Release Date: 2019-05-25 // almost 5 years ago
  • โž• Added

    • ๐Ÿ“œ [PHP 7.4] Add support for arrow functions using a new Expr\ArrowFunction node. (#602)
    • ๐Ÿ“œ [PHP 7.4] Add support for array spreads, using a new unpack subnode on ArrayItem. (#609)
    • โž• Added support for inserting into empty list nodes in the formatting preserving pretty printer.

    ๐Ÿ”„ Changed

    • ๐Ÿ–จ php-parse will now print messages to stderr, so that stdout only contains the actual result of the operation (such as a JSON dump). (#605)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed attribute assignment for zero-length nop statements, and a related assertion failure in the formatting-preserving pretty printer. (#589)