php-in-php: delete StringMultipartStandaloneLlvm — MultipartRuntime PHP bridge (#13031)#18615
Merged
Merged
Conversation
…multipart through MultipartRuntime PHP (#13031) Complete #13031 follow-up: SuperglobalRefreshUserScriptLlvm now links MultipartRuntime + MultipartNativeJitHelper instead of the ~1367-line LLVM quarantine. Removes dead standalone multipart LLVM monolith. Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 13, 2026
PurHur
added a commit
that referenced
this pull request
Jul 13, 2026
…untime PHP (#18643) (#18645) #18548 restored ~1052 LOC hand-LLVM delimited parse subhelpers for StringMultipartStandaloneLlvm; #18615 routes multipart through MultipartNativeJitHelper + ParseStrNativeJitHelper PHP instead. Verification: - php vendor/bin/phpunit test/unit/ParseStrRuntimeShrinkTest.php → OK (13) - php vendor/bin/phpunit test/unit/SuperglobalRefreshRuntimeShrinkTest.php → OK - php vendor/bin/phpunit test/unit/JIT/SuperglobalsBracketRuntimeStandaloneTest.php → OK - php script/check-selfhost-spine-coverage-sync.php → OK - make bootstrap-selfhost-vm-driver-execute-probe → OK 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
Completes #13031 follow-up: user-script CGI superglobal refresh no longer links the ~1367-line
StringMultipartStandaloneLlvm.phpLLVM quarantine. Multipart POST populate routes through the existingMultipartRuntime→MultipartNativeJitHelperPHP bridge (same pattern as #15624 / #9394).lib/JIT/Builtin/StringMultipartStandaloneLlvm.php(−1367 lines LLVM)SuperglobalRefreshUserScriptLlvmcallsMultipartRuntime::ensureUserScriptLinkedand__compiler_multipart_populate_post_bodyinstead of__phpc_parse_multipart_postcompiler_lib_spine_smoke/main.phpphp-src reference
main/rfc1867.c— multipart form parsing (semantics inlib/Web/MultipartParser.php+MultipartNativeJitHelper.php)PHP implementation path
lib/Web/MultipartParser.phplib/Web/MultipartNativeJitHelper.phplib/JIT/Builtin/MultipartRuntime.phpVerification
Closes #13031
Made with Cursor