github nikic/PHP-Parser v4.0.1
PHP-Parser 4.0.1

latest releases: v4.19.1, v4.19.0, v5.0.2...
6 years ago

Added

  • [PHP 7.3] Added support for trailing commas in function calls.
  • [PHP 7.3] Added support for by-reference array destructuring.
  • Added checks to node traverser to prevent replacing a statement with an expression or vice versa. This should prevent common mistakes in the implementation of node visitors.
  • Added the following methods to BuilderFactory, to simplify creation of expressions:
    • funcCall()
    • methodCall()
    • staticCall()
    • new()
    • constFetch()
    • classConstFetch()

Don't miss a new PHP-Parser release

NewReleases is sending notifications on new releases.