Problem
examples/README.md benchmark table lists 000 , 001 , 002 , 004 but omits 003-MiniWebApp . #539 ✅ VM lint + serve + PATH_INFO PHPTs are green; the missing row hides compile/run regressions for the north-star app.
#60 closed adding 001-SimpleWeb; no follow-up tracked 003.
Goal
Add examples/003-MiniWebApp/ to script/rebuild-examples.php / script/bench.php
Regenerate the benchmark table comment block in examples/README.md
Document VM column: public/index.php with QUERY_STRING=route=home or PATH_INFO env
AOT column: phpc build --project when AOT: Native user-class object model for phpc build --project #568 / Testing: ExamplesCompileTest MiniWebApp AOT lint-only stage (pre #568 link) #624 lint stage unblocks link
Implementation hints
File
Change
script/rebuild-examples.php
Include 003 when MINIWEBAPP_LINT_GATE=1 or BENCH_MINIWEBAPP=1
script/bench.php
VM: bin/vm.php with CGI env; optional JIT/AOT columns
examples/README.md
Regenerate <!-- benchmark table --> block
Scope
Acceptance criteria
MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.php
grep 003-MiniWebApp examples/README.md
docker run --rm -v " $( pwd) :/compiler" -w /compiler php-compiler:22.04-dev \
MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.php
Dependencies
Links
Problem
examples/README.mdbenchmark table lists 000, 001, 002, 004 but omits 003-MiniWebApp. #539 ✅ VM lint + serve + PATH_INFO PHPTs are green; the missing row hides compile/run regressions for the north-star app.#60 closed adding 001-SimpleWeb; no follow-up tracked 003.
Goal
examples/003-MiniWebApp/toscript/rebuild-examples.php/script/bench.phpexamples/README.mdpublic/index.phpwithQUERY_STRING=route=homeor PATH_INFO envphpc build --projectwhen AOT: Native user-class object model for phpc build --project #568 / Testing: ExamplesCompileTest MiniWebApp AOT lint-only stage (pre #568 link) #624 lint stage unblocks linkImplementation hints
script/rebuild-examples.phpMINIWEBAPP_LINT_GATE=1orBENCH_MINIWEBAPP=1script/bench.phpbin/vm.phpwith CGI env; optional JIT/AOT columnsexamples/README.md<!-- benchmark table -->blockScope
phpc lint --all examples/003-MiniWebAppexits 0 (same probe as CI: Default MINIWEBAPP_LINT_GATE=1 in web-smoke (post #539) #621)Acceptance criteria
docker run --rm -v "$(pwd):/compiler" -w /compiler php-compiler:22.04-dev \ MINIWEBAPP_LINT_GATE=1 ./script/rebuild-examples.phpDependencies
Links