diff --git a/README.md b/README.md index 36de23cde1..3bca288b92 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ PHP Parser This is a PHP 5.2 to PHP 8.2 parser written in PHP. Its purpose is to simplify static code analysis and manipulation. -[**Documentation for version 4.x**][doc_4_x] (stable; for running on PHP >= 7.0; for parsing PHP 5.2 to PHP 8.2). +[**Documentation for version 4.x**][doc_4_x] (stable; for running on PHP >= 7.1; for parsing PHP 5.2 to PHP 8.2). [Documentation for version 3.x][doc_3_x] (unsupported; for running on PHP >= 5.5; for parsing PHP 5.2 to PHP 7.2). diff --git a/doc/0_Introduction.markdown b/doc/0_Introduction.markdown index b300e733bc..0d9500c8f6 100644 --- a/doc/0_Introduction.markdown +++ b/doc/0_Introduction.markdown @@ -34,7 +34,7 @@ The parser supports parsing PHP 5.2-8.0, with the following exceptions: 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 7.4 source code running on PHP 7.0, for example. This emulation is somewhat +This allows to parse PHP 7.4 source code running on PHP 7.1, for example. This emulation is somewhat hacky and not perfect, but it should work well on any sane code. What output does it produce?