packagist nikic/php-parser v0.9.5
PHP-Parser 0.9.5

latest releases: dev-master, v5.3.1, v4.19.4...
10 years ago

This is the last release on the 0.9 branch. All users on PHP >= 5.3 are encouraged to use version 1.0 instead, which is mostly compatible.

  • Add NodeTraverser::removeVisitor() method, which removes a visitor from the node traverser. The method was not added to the corresponding NodeTraverserInterface to avoid BC breaks with custom traversers (it is added in version 1.0).
  • Deprecated PHPParser_Template and PHPParser_TemplateLoader. This functionality does not belong in the main project and - as far as I know - nobody is using it.
  • Fix alias resolution in NameResolver: Class names are now correctly handled as case-insensitive.
  • The undefined variable error, which is used in the lexer to reset the error state, will no longer interfere with custom error handlers.
  • Make lexer compatible with xdebug.scream.

Don't miss a new php-parser release

NewReleases is sending notifications on new releases.