Skip to content

Stdlib: bake openssl_x509_read() TypeError/argc for JIT/AOT (#33497) - #33500

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-33497-openssl-x509-read-aot
Aug 21, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-33497-openssl-x509-read-aot

Conversation

@PurHur

@PurHur PurHur commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

Closes #33497.

Test plan

  • ./script/aot-smoke.sh → 8/8
  • ./script/docker-exec.sh -- bash -lc 'php bin/vm.php test/repro/issue_33497_openssl_x509_read_aot.php' → null-type=TypeError / argc=ArgumentCountError
  • same repro via php bin/compile.php + binary → same labels (rc=0)
  • ./script/phpunit.sh --filter OpensslX509ReadAotTest → OK (3 tests, 11 assertions)

Made with Cursor

Leftover of #7268: emit catchable ArgumentCountError/TypeError via
ExceptionBridge instead of LogicException on null/argc (peer #33487/#33492).
Happy-path PEM→OpenSSLCertificate remains VM-only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit b173a4e into master Aug 21, 2026
1 check failed
@PurHur
PurHur deleted the agent/issue-33497-openssl-x509-read-aot branch August 21, 2026 16:00
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.

Stdlib: openssl_x509_read() JIT leftover of #7268 — AOT LogicException (ext/openssl/openssl.c)

1 participant