Skip to content

PHP-Parser 3.0.4

Compare
Choose a tag to compare
@nikic nikic released this 10 Feb 20:21
· 952 commits to master since this release

Fixed

  • Fixed some extensibility issues in pretty printer (pUseType() is now public and pPrec() calls into p(), instead of directly dispatching to the type-specific printing method).
  • Fixed notice in bin/php-parse script.

Added

  • Error recovery from missing semicolons is now supported in more cases.
  • Error recovery from trailing commas in positions where PHP does not support them is now supported.