Skip to content

PHP-Parser 3.1.0

Choose a tag to compare

@nikic nikic released this 28 Jul 14:47
· 1007 commits to master since this release

This version adds support for PHP 7.2.

Added

  • [PHP 7.2] Added support for trailing comma in group use statements.
  • [PHP 7.2] Added support for object type. This means object types will now be represented as a builtin type (a simple "object" string), rather than a class Name.

Fixed

  • Floating-point numbers are now printed correctly if the LC_NUMERIC locale uses a comma as decimal separator.

Changed

  • Name::$parts is no longer deprecated.