Skip to content

php-in-php: NestedJIT bool extract + array_is_list packed check for HashAlgos AOT (#20652) - #20726

Merged
PurHur merged 2 commits into
masterfrom
agent/runtime-php-hash-algos-aot-pack-20652
Jul 18, 2026
Merged

PurHur merged 2 commits into
masterfrom
agent/runtime-php-hash-algos-aot-pack-20652

Conversation

@PurHur

@PurHur PurHur commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference

C / runtime shrink

Verification

./script/docker-exec.sh -- bash -lc 'source script/php-env.sh
vendor/bin/phpunit test/unit/ArrayIsListRuntimeShrinkTest.php
# OK (3 tests, 15 assertions)
vendor/bin/phpunit test/aot/AotTest.php --filter hash_hmac_algos
# OK (1 test, 5 assertions)
make bootstrap-selfhost-vm-driver-execute-probe
# OK /compiler/build/selfhost-lib-spine-smoke
php script/bootstrap-inventory.php --check
# OK 5803/5803
'

Closes #20652

Test plan

  • ArrayIsList shrink unit tests
  • AOT hash_hmac_algos fixture
  • bootstrap-selfhost-vm-driver-execute-probe

Made with Cursor

PurHur and others added 2 commits July 18, 2026 23:13
…ashAlgos AOT (#20652)

Route ArrayIsListJitHelper through HashTable::isPackedList (NestedJIT LLVM)
instead of VmArray::isList foreach, and extract bool helper results without
readLong. Update hash_hmac_algos AOT fixture to use user-script foreach
(in_array NestedJIT iterate still broken under AOT).

Co-authored-by: Cursor <cursoragent@cursor.com>
…w-up (#20652)

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 116114f into master Jul 18, 2026
1 check failed
@PurHur
PurHur deleted the agent/runtime-php-hash-algos-aot-pack-20652 branch July 18, 2026 23:15
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: drop isThinStandaloneAotMain kernel from StringHashAlgos/HmacAlgos — always JitVmHelperLink + HashAlgosJitHelper (re-#20050)

1 participant