Added
- [PHP 8.0] Added support for nullsafe operator, represented using the new
Expr\NullsafePropertyFetch
andExpr\NullsafeMethodCall
nodes. - Added
phpVersion
option to the emulative lexer, which allows controlling the target version to emulate (defaults to the latest available, currently PHP 8.0). This is useful to parse code that uses reserved keywords from newer PHP versions as identifiers.