Download the PHP package ondrejmirtes/phplrt-runtime without Composer
On this page you can find all versions of the php package ondrejmirtes/phplrt-runtime. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ondrejmirtes/phplrt-runtime
More information about ondrejmirtes/phplrt-runtime
Files in ondrejmirtes/phplrt-runtime
Package phplrt-runtime
Short Description phplrt runtime (lexer, parser, source, position and their contracts) downgraded to PHP 7.4
License MIT
Homepage https://github.com/phplrt/phplrt
Informations about the package phplrt-runtime
phplrt runtime for PHP 7.4
The runtime half of phplrt (lexer, parser, source, position and their contracts), downgraded to PHP 7.4 so that PHPStan can run a parser generated by the phplrt compiler everywhere PHPStan runs.
It replaces phplrt/runtime and the packages it is made of. Only the
runtime is here: grammars are compiled with upstream phplrt/compiler
on a recent PHP.
How it is built
Every release is rebuilt from an upstream phplrt tag:
which creates these commits:
- the upstream sources, copied verbatim,
- manual changes Rector cannot do (
build/manual.py): enums become singleton classes (Channel::Hidden()) and string constants,WeakMapbecomesSplObjectStorage, and so on. It also appliesbuild/interpreter.patch, which makes the recursive descent interpreter faster without changing what it reads, DowngradeLevelSetList::DOWN_TO_PHP_74applied by Rector,- this build tooling.
Versions follow upstream with a fourth number: 4.2.4.0 is upstream 4.2.4. The fourth number grows
when the fork itself changes: 4.2.4.1 is upstream 4.2.4 with the
interpreter patch.
All versions of phplrt-runtime with dependencies
ext-json Version *
ext-pcre Version *
symfony/polyfill-php80 Version ^1.23
symfony/polyfill-php81 Version ^1.27