Mercurial > hg > isophonics-drupal-site
diff vendor/nikic/php-parser/doc/0_Introduction.markdown @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 5fb285c0d0e3 |
children |
line wrap: on
line diff
--- a/vendor/nikic/php-parser/doc/0_Introduction.markdown Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/nikic/php-parser/doc/0_Introduction.markdown Thu Feb 28 13:21:36 2019 +0000 @@ -1,7 +1,7 @@ Introduction ============ -This project is a PHP 5.2 to PHP 7.2 parser **written in PHP itself**. +This project is a PHP 5.2 to PHP 7.3 parser **written in PHP itself**. What is this for? ----------------- @@ -26,11 +26,11 @@ What can it parse? ------------------ -The parser supports parsing PHP 5.2-7.2. +The parser supports parsing PHP 5.2-7.3. 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.2 source code running on PHP 5.5, for example. This emulation is somewhat +This allows to parse PHP 7.3 source code running on PHP 7.0, for example. This emulation is somewhat hacky and not perfect, but it should work well on any sane code. What output does it produce?