diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ec8633ed3..0fac7acf1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ -Version 5.2.0-dev ------------------ +Version 5.2.0 (2024-09-15) +-------------------------- ### Added diff --git a/README.md b/README.md index 7555838e27..edb3ed32f3 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/doc/0_Introduction.markdown b/doc/0_Introduction.markdown index efcf221e07..3c1de6fc38 100644 --- a/doc/0_Introduction.markdown +++ b/doc/0_Introduction.markdown @@ -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