Skip to content

PHP-Parser 4.0.3

Choose a tag to compare

@nikic nikic released this 15 Jul 17:26
· 700 commits to master since this release

Fixed

  • Fixed possible undefined offset notice in formatting-preserving printer. (#513)

Added

  • Improved error recovery inside arrays.
  • Preserve trailing comment inside classes. Note: This change is possibly BC breaking if your code validates that classes can only contain certain statement types. After this change, classes can also contain Nop statements, while this was not previously possible. (#509)