Skip to content

PHP-Parser 2.0.0

Choose a tag to compare

@nikic nikic released this 04 Dec 15:36
· 1167 commits to master since this release

This release adds complete support for parsing PHP 7 code.

A description of backwards incompatible changes between version 1.x and 2.0 can be found in the upgrading guide.

A complete list of changes between 1.x and 2.0 can be found in the changelog.

There has been only one additional change since version 2.0.0-beta1:

  • String parts of encapsed strings are now represented using Scalar\EncapsStringPart nodes. Previously raw strings were used. This affects the parts child of Scalar\Encaps and Expr\ShellExec. The change has been done to allow assignment of attributes to encapsed string parts.