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
#58 / #145 track OOP in compliance PHPTs; #207 tracks phpc serve --jit. There is no CI signal that the full MiniWebApp project graph (phpc.json + includes[] + public/index.php) compiles under JIT after OOP lands — only flat examples/*/example.php JIT paths.
Contributors can fix Router::dispatch in VM while JIT still throws not jittable for ClassMethod or project link fails silently until someone runs bin/jit.php manually.
Goal
test/unit/MiniWebAppJitProjectTest.php with @group llvm:
Skip when LlvmToolchain::isReady() is false (same probe as ExamplesCompileTest).
Run project JIT entry documented in examples/003-MiniWebApp/README.md (e.g. php bin/jit.php public/index.php with QUERY_STRING=route=home or phpc build --project --jit when CLI flag exists).
Exit 0 and stdout contains MiniWebApp needle (home route).
Problem
#58 / #145 track OOP in compliance PHPTs; #207 tracks
phpc serve --jit. There is no CI signal that the full MiniWebApp project graph (phpc.json+includes[]+public/index.php) compiles under JIT after OOP lands — only flatexamples/*/example.phpJIT paths.Contributors can fix
Router::dispatchin VM while JIT still throwsnot jittableforClassMethodor project link fails silently until someone runsbin/jit.phpmanually.Goal
test/unit/MiniWebAppJitProjectTest.phpwith@group llvm:LlvmToolchain::isReady()is false (same probe asExamplesCompileTest).examples/003-MiniWebApp/README.md(e.g.php bin/jit.php public/index.phpwithQUERY_STRING=route=homeorphpc build --project --jitwhen CLI flag exists).MiniWebAppneedle (home route).markTestSkippedlinking Language: Class methods and property access in JIT #58 / Language: JIT include/require compile-time lowering (#54 follow-up) #475 / AOT: Native user-class object model for phpc build --project #568 — not Reference app: examples/003-MiniWebApp (router, templates, forms) #67 (closed).Implementation hints
test/unit/MiniWebAppJitProjectTest.phpExamplesCompileTestQUERY_STRING=route=homeor PATH_INFO env keys fromDevServerMiniWebAppVmCliTestscript/ci-local.shllvm groupMINIWEBAPP_JIT_PROJECT_GATE=1if slowscript/check-jit-compliance-ran.phpUnblock order
Router.php/ templatesClassMethod)Native AOT project link remains #568 / #454 — out of scope here.
Acceptance criteria
Harness:
Dependencies
Links
examples/003-MiniWebApp/phpc.json