v4.8.0
版本发布时间: 2020-08-09 18:24:51
nikic/PHP-Parser最新发布版本:v5.3.0(2024-09-29 21:59:38)
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.