Skip to content

php-in-php: JIT array_intersect_key — ArrayIntersectKeyJitHelper PHP (#12551)#12555

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-12551-array-intersect-key-php
Jun 27, 2026
Merged

php-in-php: JIT array_intersect_key — ArrayIntersectKeyJitHelper PHP (#12551)#12555
PurHur merged 1 commit into
masterfrom
agent/issue-12551-array-intersect-key-php

Conversation

@PurHur

@PurHur PurHur commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference

  • ext/standard/array.cPHP_FUNCTION(array_intersect_key)

LLVM shrink

Embed path no longer emits arrayIntersectKeyHashTable LLVM from array_intersect_key() calls; standalone retains ArrayBuiltinHelper::arrayIntersectKey().

Verification

./script/docker-exec.sh -- bash -lc './vendor/bin/phpunit --filter ArrayIntersectKeyRuntimeShrinkTest test/unit/ArrayIntersectKeyRuntimeShrinkTest.php'
# OK (3 tests)

./script/docker-exec.sh -- bash -lc './vendor/bin/phpunit --filter array_intersect_key test/compliance/VMTest.php test/compliance/JITTest.php'
# OK (2 tests)

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

Closes #12551

Made with Cursor

…itHelper (#12551)

Embed/AOT JIT no longer emits ArrayBuiltinHelper LLVM for array_intersect_key;
SSOT lives in VmArray + thin PHP bridge matching slices 14–19 pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>
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 array_intersect_key — route embed LLVM through ArrayIntersectKeyJitHelper PHP (#1492 slice 20)

1 participant