Skip to content

PHP-Parser 4.10.3

Compare
Choose a tag to compare
@nikic nikic released this 03 Dec 17:47
· 422 commits to master since this release

Fixed

  • Fixed formatting-preserving pretty printing for "{$x}".
  • Ternary expressions are now treated as non-associative in the pretty printer, in order to generate code that is compatible with the parentheses requirement introduced in PHP 8.
  • Removed no longer necessary error_clear_last() call in lexer, which may interfere with fatal error handlers if invoked during shutdown.