mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-04-30 10:38:16 +02:00
Update some PHP version numbers
This commit is contained in:
parent
867ae5148d
commit
1b1ff8995b
@ -1,8 +1,6 @@
|
|||||||
Version 3.0.0-dev
|
Version 3.0.0-dev
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
Nothing yet.
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
* [7.1] Added support for `void` and `iterable` types. These will now be represented as strings
|
* [7.1] Added support for `void` and `iterable` types. These will now be represented as strings
|
||||||
|
@ -3,7 +3,7 @@ PHP Parser
|
|||||||
|
|
||||||
[](https://travis-ci.org/nikic/PHP-Parser) [](https://coveralls.io/github/nikic/PHP-Parser?branch=master)
|
[](https://travis-ci.org/nikic/PHP-Parser) [](https://coveralls.io/github/nikic/PHP-Parser?branch=master)
|
||||||
|
|
||||||
This is a PHP 5.2 to PHP 7.0 parser written in PHP. Its purpose is to simplify static code analysis and
|
This is a PHP 5.2 to PHP 7.1 parser written in PHP. Its purpose is to simplify static code analysis and
|
||||||
manipulation.
|
manipulation.
|
||||||
|
|
||||||
[**Documentation for version 2.x**][doc_master] (stable; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0).
|
[**Documentation for version 2.x**][doc_master] (stable; for running on PHP >= 5.4; for parsing PHP 5.2 to PHP 7.0).
|
||||||
@ -93,4 +93,5 @@ Component documentation:
|
|||||||
2. [Lexer](doc/component/Lexer.markdown)
|
2. [Lexer](doc/component/Lexer.markdown)
|
||||||
|
|
||||||
[doc_1_x]: https://github.com/nikic/PHP-Parser/tree/1.x/doc
|
[doc_1_x]: https://github.com/nikic/PHP-Parser/tree/1.x/doc
|
||||||
|
[doc_2_x]: https://github.com/nikic/PHP-Parser/tree/2.x/doc
|
||||||
[doc_master]: https://github.com/nikic/PHP-Parser/tree/master/doc
|
[doc_master]: https://github.com/nikic/PHP-Parser/tree/master/doc
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
Introduction
|
Introduction
|
||||||
============
|
============
|
||||||
|
|
||||||
This project is a PHP 5.2 to PHP 7.0 parser **written in PHP itself**.
|
This project is a PHP 5.2 to PHP 7.1 parser **written in PHP itself**.
|
||||||
|
|
||||||
What is this for?
|
What is this for?
|
||||||
-----------------
|
-----------------
|
||||||
@ -29,9 +29,9 @@ What can it parse?
|
|||||||
The parser supports parsing PHP 5.2-5.6 and PHP 7.
|
The parser supports parsing PHP 5.2-5.6 and PHP 7.
|
||||||
|
|
||||||
As the parser is based on the tokens returned by `token_get_all` (which is only able to lex the PHP
|
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 new tokens from 5.5, 5.6 and 7.0 is
|
version it runs on), additionally a wrapper for emulating tokens from newer versions is provided.
|
||||||
provided. This allows to parse PHP 7.0 source code running on PHP 5.4, for example. This emulation
|
This allows to parse PHP 7.1 source code running on PHP 5.5, for example. This emulation is somewhat
|
||||||
is somewhat hacky and not perfect, but it should work well on any sane code.
|
hacky and not perfect, but it should work well on any sane code.
|
||||||
|
|
||||||
What output does it produce?
|
What output does it produce?
|
||||||
----------------------------
|
----------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user