You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running bin/vm.php / bin/jit.php on the host PHP 8.2 fails before compilation:
Fatal error: Undefined constant "T_OPEN_TAG_WITH_ECHO" in vendor/nikic/php-parser/.../Lexer.php
script/ci-local.sh passes PHPUnit because the test harness may use a different code path, but interactive DevEx on modern PHP is broken without Docker.
Goal
Developers can run examples and the compiler CLI on PHP 8.1–8.3 without a custom Docker image.
Scope
Bump nikic/php-parser (and if needed ircmaxell/php-cfg) to versions whose token maps include PHP 8.x tokens
Problem
Running
bin/vm.php/bin/jit.phpon the host PHP 8.2 fails before compilation:script/ci-local.shpasses PHPUnit because the test harness may use a different code path, but interactive DevEx on modern PHP is broken without Docker.Goal
Developers can run examples and the compiler CLI on PHP 8.1–8.3 without a custom Docker image.
Scope
nikic/php-parser(and if neededircmaxell/php-cfg) to versions whose token maps include PHP 8.x tokenscomposer updatewith locked versions; document minimum PHP in README (Docs: Rewrite README feature list to match current compiler (2026) #48)php bin/vm.php -r 'echo 1;',php bin/vm.php -q name=World examples/001-SimpleWeb/example.phpscript/ci-local.shstill greenAcceptance criteria
vendor/Related