Skip to content

Commit 0e7ef05

Browse files
TysonAndrenikic
authored andcommitted
Change current AST version from 60 to 70 (nikic#119)
And mark version 70 as no longer being experimental
1 parent 96589b6 commit 0e7ef05

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,15 +467,17 @@ function accepts a boolean argument that determines whether deprecated versions
467467
In the following the changes in the respective AST versions, as well as their current support state,
468468
are listed.
469469

470-
### 70 (experimental)
470+
### 70 (current)
471+
472+
Supported since 1.0.1 (2019-02-11).
471473

472474
* `AST_PROP_GROUP` was added to support PHP 7.4's typed properties.
473475
The property visibility modifiers are now part of `AST_PROP_GROUP` instead of `AST_PROP_DECL`.
474476

475477
Note that property group type information is only available with AST versions 70+.
476478
* `AST_CLASS_NAME` is created instead of `AST_CLASS_CONST` for `SomeClass::class`.
477479

478-
### 60 (current)
480+
### 60 (stable)
479481

480482
Supported since 0.1.7 (2018-10-06).
481483

ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#define AST_CACHE_SLOT_LINENO &AST_G(cache_slots)[3 * 2]
2929
#define AST_CACHE_SLOT_CHILDREN &AST_G(cache_slots)[3 * 3]
3030

31-
#define AST_CURRENT_VERSION 60
31+
#define AST_CURRENT_VERSION 70
3232

3333
/* Additional flags for BINARY_OP */
3434
#define AST_BINARY_IS_GREATER 256

0 commit comments

Comments
 (0)