Skip to content

php-in-php: lazy ExceptionBridge from ensureMinimal (#34732) - #34734

Merged
PurHur merged 1 commit into
masterfrom
fix/34732-lazy-exception-bridge-minimal
Aug 25, 2026
Merged

php-in-php: lazy ExceptionBridge from ensureMinimal (#34732)#34734
PurHur merged 1 commit into
masterfrom
fix/34732-lazy-exception-bridge-minimal

Conversation

@PurHur

@PurHur PurHur commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ./script/phpunit.sh --filter 'ContextMinimalStandaloneLazy|ExceptionBridgeRuntimeShrink'OK (34 tests, 272 assertions)
  • ./script/docker-exec.sh -- bash -lc './script/aot-smoke.sh'8 passed, 0 failed
  • php bin/compile.php -o /tmp/h.bin -r 'echo "hi\n";' && /tmp/h.binhi
  • AOT typed-param TypeError still catchable (f(int $x); f("a")caught)

Made with Cursor

Thin AOT hello-world no longer NestedJITs TypeErrorRaise/JitThrow during
init; TypeErrorRaise::ensureLinked implements standalone bodies at call
sites (peer #34695 / #32122 .1 mint class).

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 9af4ba3 into master Aug 25, 2026
1 check failed
@PurHur
PurHur deleted the fix/34732-lazy-exception-bridge-minimal branch August 25, 2026 15:45
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 Context ensureMinimalUserStandaloneBodies always-on ExceptionBridge — lazy at TypeErrorRaise call sites (peer #34695)

1 participant