Skip to content

Stdlib: thin AOT stream_context_set_params notification Closures (#27573) - #27842

Merged
PurHur merged 2 commits into
masterfrom
fix/27573-stream-context-set-params-aot
Aug 5, 2026
Merged

PurHur merged 2 commits into
masterfrom
fix/27573-stream-context-set-params-aot

Conversation

@PurHur

@PurHur PurHur commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Summary

php-src reference

  • ext/standard/streamsfuncs.c — stream_context_set_params / parse_context_params

Test plan

  • Issue repro ×3: compile rc=0, prints true / has_notif
  • StreamContextRuntimeShrinkTest OK (15 tests)
  • Spine sync OK; inventory OK 7023/7023
  • AOT fixture stream_context_set_params_notification.phpt

Not covered: full ci-fast; deep set_option options merge (queued #27295 / #27437).

Made with Cursor

PurHur and others added 2 commits August 5, 2026 17:54
NestedJIT of StreamContextJitHelper fails LLVM verify under thin standalone;
emit create/set_params/get_params from hashtable markers and load context
HTs via valuePtrFromVariable so notification Closures survive get_params.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Regression: AOT stream_context_set_params() compile segfaults — VM/JIT match Zend (re-#8063, ext/standard/streams.c)

1 participant