github nikic/PHP-Parser v4.0.0beta1
PHP-Parser 4.0.0 Beta 1

latest releases: v4.19.1, v4.19.0, v5.0.2...
pre-release6 years ago

This is the first and likely last beta release for a new major version of the PHP-Parser library. The biggest new feature in this version is an experimental pretty-printing mode, which preserves formatting for parts of the code which have not been modified.

For more information on BC breaks in this release see the upgrading guide.

The following changelog only lists the changes from the previous alpha release. A complete changelog is also available.

Fixed

  • In formatting-preserving pretty printer: Fixed indentation when inserting into lists. (#466)

Added

  • In formatting-preserving pretty printer: Improved formatting of elements inserted into multi-line arrays.

Removed

  • The Autoloader class has been removed. It is now required to use the Composer autoloader.

Don't miss a new PHP-Parser release

NewReleases is sending notifications on new releases.