Skip to content

Commit 90c0432

Browse files
committed
Mark version 20 as current
1 parent 1ca15bd commit 90c0432

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Version changelog
289289

290290
* Use string names for child nodes of kinds with fixed length.
291291

292-
### 20 (unstable)
292+
### 20 (current)
293293

294294
* `AST_GREATER`, `AST_GREATER_EQUAL`, `AST_OR`, `AST_AND` nodes are now represented using
295295
`AST_BINARY_OP` with flags `BINARY_IS_GREATER`, `BINARY_IS_GREATER_OR_EQUAL`, `BINARY_BOOL_OR`
@@ -301,7 +301,7 @@ Version changelog
301301
it was a simple string containing the name.
302302
* Nested `AST_STMT_LIST`s are now flattened out.
303303

304-
### 15 (current)
304+
### 15 (supported)
305305

306306
* In line with an upstream change, the `docComment` property on `AST_PROP_DECL` has been moved to
307307
`AST_PROP_ELEM`. This means that each property in one property declaration can have its own

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)[2 * 2]
2929
#define AST_CACHE_SLOT_CHILDREN &AST_G(cache_slots)[2 * 3]
3030

31-
#define AST_CURRENT_VERSION 15
31+
#define AST_CURRENT_VERSION 20
3232

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

tests/version_errors.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ try {
1717

1818
?>
1919
--EXPECTF--
20-
No version specified. Current version is 15. All versions (including experimental): {10, 15, 20, %s}
21-
Unknown version 100. Current version is 15. All versions (including experimental): {10, 15, 20, %s}
20+
No version specified. Current version is %d. All versions (including experimental): {10, 15, 20, %s}
21+
Unknown version 100. Current version is %d. All versions (including experimental): {10, 15, 20, %s}

0 commit comments

Comments
 (0)