Fixed
- Fixed some extensibility issues in pretty printer (
pUseType()
is now public andpPrec()
calls intop()
, instead of directly dispatching to the type-specific printing method). - Fixed notice in
bin/php-parse
script.
Added
- Error recovery from missing semicolons is now supported in more cases.
- Error recovery from trailing commas in positions where PHP does not support them is now supported.