Skip to content

Commit

Permalink
Update current version number
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Nov 12, 2023
1 parent 5b3b990 commit 4c5efd5
Show file tree
Hide file tree
Showing 2 changed files with 4 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,12 +59,12 @@ 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 90.
argument to ensure forward-compatibility. The current version is 100.

```php
$ast = ast\parse_code('<?php ...', $version=70);
$ast = ast\parse_code('<?php ...', $version=100);
// or
$ast = ast\parse_file('file.php', $version=70);
$ast = ast\parse_file('file.php', $version=100);
```

The abstract syntax tree returned by these functions consists of `ast\Node` objects.
Expand Down
1 change: 1 addition & 0 deletions RELEASE_CHECKLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
* Run scripts/generate_ast_stub.php against PHP master.
* Update version in php_ast.h to remove dev suffix.
* Update version, release date in package.xml.
* Check whether "The current version" in README.md is up to date.
* Run `pecl package package.xml`.
* Run `pecl install ast-XXX.tgz`.
* Commit.
Expand Down

0 comments on commit 4c5efd5

Please sign in to comment.