Skip to content

Commit

Permalink
Update minimum PHP version in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Mar 2, 2024
1 parent 051ad21 commit c2403aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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 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).

Expand Down
2 changes: 1 addition & 1 deletion doc/0_Introduction.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit c2403aa

Please sign in to comment.