Skip to content

Commit

Permalink
Update README.md to indicate that the current version is 110
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre committed Aug 10, 2024
1 parent 1fc2c3a commit c2fb034
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Basic usage

Code can be parsed using either `ast\parse_code()`, which accepts a code string, or
`ast\parse_file()`, which accepts a file path. Additionally, both functions require a `$version`
argument to ensure forward-compatibility. The current version is 100.
argument to ensure forward-compatibility. The current version is 110.

```php
$ast = ast\parse_code('<?php ...', $version=100);
Expand Down Expand Up @@ -508,12 +508,12 @@ are listed.

### 110 (current)

Supported since 1.1.2 (2024-08-08).
Supported since 1.1.2 (2024-08-10).

* Add a `hooks` child node for `AST_PROP_ELEM` (PHP 8.4 property hooks) and `AST_PARAM` (constructor property promotion can have property hooks) (AST version 110+)
* Add new node kinds `AST_PROPERTY_HOOK` and `AST_PROPERTY_HOOK_SHORT_BODY`.

### 100 (current)
### 100 (stable)

Supported since 1.1.1 (2023-11-12).

Expand Down

0 comments on commit c2fb034

Please sign in to comment.