php-in-php: route JIT ob_* stack through ObOutputJitHelper not LLVM monolith (#9268) - #11706
Merged
Merged
Conversation
…onolith (#9268) Move output-buffer semantics to ext/standard/ObOutputJitHelper.php for JIT/embed; thin ObOutputJitBridge LLVM trampolines replace the ~1k-line ObOutputRuntime body. Standalone AOT keeps LLVM in ObOutputStandaloneLlvm (ZlibRuntime quarantine pattern). Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
PurHur
added a commit
that referenced
this pull request
Jun 25, 2026
…11706). (#11709) Regenerate inventory for new ObOutput/Object LLVM helper files and add five missing require_once entries to compiler_lib_spine_smoke so spine coverage sync stays green after #9268. Co-authored-by: PurHur <PurHur@users.noreply.github.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ext/standard/ObOutputJitHelper.phpas PHP SSOT for JIT/embed output-buffer stack (mirrorslib/VM/OutputBuffer.phpsemantics).ObOutputRuntime.phpLLVM monolith with a 28-line delegator +ObOutputJitBridge.phpthin trampolines (NestedJitCompileScope→ compiled PHP helpers).ObOutputStandaloneLlvm.php(same pattern asZlibRuntime/StringZlibJit).LLVM shrink (JIT/embed path):
ObOutputRuntime.php1087 → 28 lines; stack logic moved to PHP (ObOutputJitHelper263 lines) + bridge (620 lines). NoObStorageGlobalsin JIT bridge.php-src ref:
ext/standard/output.cVerification
Closes #9268
Made with Cursor