Skip to content

php-in-php: route __value__writeBool through VmValueBoxWriteBool (#9570) - #11673

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-9570-valuebox-writebool-php
Jun 25, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-9570-valuebox-writebool-php

Conversation

@PurHur

@PurHur PurHur commented Jun 25, 2026

Copy link
Copy Markdown
Owner

Summary

Verification

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php vendor/bin/phpunit --filter ValueBoxWriteBoolRuntimeShrinkTest'
# OK (2 tests, 7 assertions)

make bootstrap-selfhost-vm-driver-execute-probe
# bootstrap-selfhost-vm-driver-execute-probe: OK

php script/check-selfhost-spine-coverage-sync.php
# OK (3158 files)

Closes #9570 (incremental — Refcount.php monolith shrink continues on follow-up PRs)

Made with Cursor

Move ValueBoxWriteBoolJit LLVM body into lib/VM/ SSOT; JIT file is thin
trampoline replacing former phpc_value_box.c bool writer path.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit e13c8d3 into master Jun 25, 2026
@PurHur
PurHur deleted the agent/issue-9570-valuebox-writebool-php branch June 25, 2026 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

php-in-php: JIT Refcount LLVM — shrink __ref__ zval refcount layer via VmValue PHP helpers (#1492)

1 participant