Category
bootstrap
Problem
Self-host AOT compile-spine audit shows PHPCompiler\Compiler::compileFunc is still an entry stub under PHP_COMPILER_SELFHOST_AOT=1 + PHP_COMPILER_M3_COMPILE_DRIVER=1.
This blocks shrinking the remaining stub surface on the parseAndCompile → standalone → Compiler::compile spine.
Evidence (current)
docs/selfhost-aot-stub-audit.md (generated by script/audit-selfhost-aot-stubs.php) currently lists:
- Self-host entry stubs:
PHPCompiler\Compiler::compileFunc (compiler_spine)
php-src reference
Not php-src specific; this is a self-host/bootstrap completeness gap.
Repro / how to observe
php script/audit-selfhost-aot-stubs.php --check
Confirm Compiler::compileFunc appears under Self-host entry stubs.
Scope (this repo)
lib/Compiler.php (or wherever compileFunc is implemented)
- Self-host lowering policies and audit sources:
script/selfhost-aot-stub-audit-lib.php
docs/selfhost-aot-stub-audit.md
Done when
Compiler::compileFunc no longer appears under Self-host entry stubs in docs/selfhost-aot-stub-audit.md.
php script/audit-selfhost-aot-stubs.php --check stays green.
- Fast self-host gates still pass:
make bootstrap-selfhost-vm-driver-execute-probe
make north-star5-verify-fast
Category
bootstrap
Problem
Self-host AOT compile-spine audit shows
PHPCompiler\Compiler::compileFuncis still an entry stub underPHP_COMPILER_SELFHOST_AOT=1+PHP_COMPILER_M3_COMPILE_DRIVER=1.This blocks shrinking the remaining stub surface on the
parseAndCompile → standalone → Compiler::compilespine.Evidence (current)
docs/selfhost-aot-stub-audit.md(generated byscript/audit-selfhost-aot-stubs.php) currently lists:PHPCompiler\Compiler::compileFunc(compiler_spine)php-src reference
Not php-src specific; this is a self-host/bootstrap completeness gap.
Repro / how to observe
Confirm
Compiler::compileFuncappears under Self-host entry stubs.Scope (this repo)
lib/Compiler.php(or wherevercompileFuncis implemented)script/selfhost-aot-stub-audit-lib.phpdocs/selfhost-aot-stub-audit.mdDone when
Compiler::compileFuncno longer appears under Self-host entry stubs indocs/selfhost-aot-stub-audit.md.php script/audit-selfhost-aot-stubs.php --checkstays green.make bootstrap-selfhost-vm-driver-execute-probemake north-star5-verify-fast