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
{{ message }}
Repository navigation
php-in-php: pack() JIT/AOT — delete lib/AOT/runtime/phpc_pack.c, lower from ext/standard/VmPack.php #5231
pack() has PHP implementations in ext/standard/VmPack.php and ext/standard/JitPack.php, but JIT/AOT still call lib/AOT/runtime/phpc_pack.c (~500 lines of format-string logic). Self-host and PHP-in-PHP goals require native lowering without growing the C runtime.
C runtime shrink: deleted lib/AOT/runtime/phpc_pack.c (~544 lines); removed from lib/AOT/Linker.php.
PHP path: VM uses ext/standard/PackEngine.php (php-src ext/standard/pack.c); JIT/AOT links lib/JIT/Builtin/pack_jit_runtime.c via PackJitRuntime (follow-up: full LLVM from PackEngine, like #6306 for unpack).
Verification:
rg phpc_pack lib/AOT/runtime # empty
vendor/bin/phpunit test/unit/PackEngineTest.php # OK (3/3)
vendor/bin/phpunit test/unit/PackBuiltinTest.php --filter testVmPack # OK (1/1)
vendor/bin/phpunit test/unit/JIT/StringPackRuntimeStandaloneTest.php # OK (1/1)
php script/bootstrap-inventory.php --check # OK
Activity
PurHur commentedon Jun 6, 2026
claim: PHP Runtime → PHP — starting this run (#5231 pack: PackEngine VM + PackJitRuntime bitcode, delete lib/AOT/runtime/phpc_pack.c).
php-in-php: pack() VM via PackEngine, delete phpc_pack.c from AOT link (
PurHur commentedon Jun 6, 2026
Merged via #6510.
C runtime shrink: deleted
lib/AOT/runtime/phpc_pack.c(~544 lines); removed fromlib/AOT/Linker.php.PHP path: VM uses
ext/standard/PackEngine.php(php-srcext/standard/pack.c); JIT/AOT linkslib/JIT/Builtin/pack_jit_runtime.cviaPackJitRuntime(follow-up: full LLVM from PackEngine, like #6306 for unpack).Verification: