Skip to content

Commit 8c58eb4

Browse files
committed
Release PHP-Parser 4.8.0
1 parent 23d9c17 commit 8c58eb4

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
Version 4.7.1-dev
1+
Version 4.8.1-dev
22
-----------------
33

4+
Version 4.8.0 (2020-08-09)
5+
--------------------------
6+
7+
### Added
8+
9+
* [PHP 8.0] Added support for nullsafe operator, represented using the new
10+
`Expr\NullsafePropertyFetch` and `Expr\NullsafeMethodCall` nodes.
11+
* Added `phpVersion` option to the emulative lexer, which allows controlling the target version to
12+
emulate (defaults to the latest available, currently PHP 8.0). This is useful to parse code that
13+
uses reserved keywords from newer PHP versions as identifiers.
14+
415
Version 4.7.0 (2020-07-25)
516
--------------------------
617

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
},
2323
"extra": {
2424
"branch-alias": {
25-
"dev-master": "4.7-dev"
25+
"dev-master": "4.8-dev"
2626
}
2727
},
2828
"autoload": {

0 commit comments

Comments
 (0)