github nikic/PHP-Parser v1.4.0
PHP-Parser 1.4.0

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

Added

  • Added interface PhpParser\Node\FunctionLike, which is implemented by Stmt\ClassMethod, Stmt\Function_ and Expr\Closure nodes. This interface provides getters for their common subnodes.
  • Added Node\Stmt\ClassLike::getMethod() to look up a specific method on a class/interface/trait.

Fixed

  • Fixed isPublic() return value for implicitly public properties and methods that define an additional modifier like static or abstract.
  • Properties are now accepted by the trait builder.
  • Fixed __HALT_COMPILER_OFFSET__ support on HHVM.

Don't miss a new PHP-Parser release

NewReleases is sending notifications on new releases.