Skip to content

php-in-php: lazy Stream* from ensureMinimal (#34836) - #34838

Merged
PurHur merged 1 commit into
masterfrom
agent/issue-34836-stream-ensureminimal-lazy
Aug 25, 2026
Merged

PurHur merged 1 commit into
masterfrom
agent/issue-34836-stream-ensureminimal-lazy

Conversation

@PurHur

@PurHur PurHur commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: main/streams/streams.c, main/streams/userspace.c.

Test plan

  • ./script/phpunit.sh --filter 'ContextMinimalStandaloneLazyStreamRuntimeShrinkTest|ContextMinimalStandaloneLazyCliArgvRuntimeShrinkTest|TypeDeadTypeInitializeLazyStreamRuntimeShrinkTest|ExamplesHelloWorldAotRegressionTest'OK (14 tests, 124 assertions)
  • ./script/aot-smoke.sh8/8
  • Zend / VM / AOT fopen(php://memory)+stream_get_contents+is_resource+fclosehi|1
  • hello-world AOT → hi

Made with Cursor

Drop StreamLifecycle/StreamRead/StreamBucket ensureLinked from
ensureMinimalUserStandaloneBodies so bootstrap-aot thin init no longer
eager NestedJIT those ABIs (peer #34822 / #34439; #32122 .1 mint class).
Call sites already ensureLinked before lookup; full standalone still links.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 23dd364 into master Aug 25, 2026
1 check failed
@PurHur
PurHur deleted the agent/issue-34836-stream-ensureminimal-lazy branch August 25, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant