Skip to content

php-in-php: lazy openssl/hash/json/libcrypt/password/random_bytes Type::initialize ensureLinked (#34332) - #34334

Merged
PurHur merged 1 commit into
masterfrom
fix/34332-lazy-crypto-json-type-initialize-ensurelinked
Aug 24, 2026
Merged

PurHur merged 1 commit into
masterfrom
fix/34332-lazy-crypto-json-type-initialize-ensurelinked

Conversation

@PurHur

@PurHur PurHur commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference

  • ext/openssl — encrypt/decrypt, sign/verify, digest, pbkdf2
  • ext/hash/hash.c — hash / hash_hmac / hash_equals / hash_*_algos
  • ext/json — json_encode / json_decode
  • ext/standard/crypt.c / password.c / random.c

Test plan

  • ./script/phpunit.sh --filter 'TypeDeadTypeInitializeLazyCryptoJsonRuntimeShrinkTest|TypeDeadOpensslEncryptAbiRuntimeShrinkTest|TypeDeadOpensslSignAbiRuntimeShrinkTest|TypeDeadOpensslDigestAbiRuntimeShrinkTest|TypeDeadOpensslPbkdf2AbiRuntimeShrinkTest|TypeDeadHashCryptoAbiRuntimeShrinkTest|TypeDeadHashEqualsAlgosAbiRuntimeShrinkTest|TypeDeadJsonAbiRuntimeShrinkTest|TypeDeadLibcryptPasswordRandomAbiRuntimeShrinkTest|TypeDeadPasswordCryptoAbiRuntimeShrinkTest|TypeDeadRandomBytesAbiRuntimeShrinkTest' → OK (44 tests, 293 assertions)
  • ./script/aot-smoke.sh → 8 passed, 0 failed
  • ./script/docker-exec.sh -- bash -lc './script/cold-build-check.sh' → ok (38s)

Closes #34332

Made with Cursor

…e::initialize ensureLinked (#34332)

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 72cb99b into master Aug 24, 2026
1 check failed
@PurHur
PurHur deleted the fix/34332-lazy-crypto-json-type-initialize-ensurelinked branch August 24, 2026 04:29
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 Type::initialize always-on openssl/hash/json/libcrypt/password/random_bytes ensureLinked — lazy Jit* ABI (peer #34327)

1 participant