Skip to content

Commit

Permalink
Release PHP-Parser 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Sep 15, 2024
1 parent b9c8374 commit 23c79fb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Version 5.2.0-dev
-----------------
Version 5.2.0 (2024-09-15)
--------------------------

### Added

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ PHP Parser
This is a PHP parser written in PHP. Its purpose is to simplify static code analysis and
manipulation.

[**Documentation for version 5.x**][doc_master] (current; for running on PHP >= 7.4; for parsing PHP 7.0 to PHP 8.3, with limited support for parsing PHP 5.x).
[**Documentation for version 5.x**][doc_master] (current; for running on PHP >= 7.4; for parsing PHP 7.0 to PHP 8.4, with limited support for parsing PHP 5.x).

[Documentation for version 4.x][doc_4_x] (supported; for running on PHP >= 7.0; for parsing PHP 5.2 to PHP 8.3).

Expand Down
2 changes: 1 addition & 1 deletion doc/0_Introduction.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ following caveats:

As the parser is based on the tokens returned by `token_get_all` (which is only able to lex the PHP
version it runs on), additionally a wrapper for emulating tokens from newer versions is provided.
This allows to parse PHP 8.3 source code running on PHP 7.4, for example. This emulation is not
This allows to parse PHP 8.4 source code running on PHP 7.4, for example. This emulation is not
perfect, but works well in practice.

Finally, it should be noted that the parser aims to accept all valid code, not reject all invalid
Expand Down

0 comments on commit 23c79fb

Please sign in to comment.