Skip to content

php-in-php: lazy SuperglobalRefresh from ensureFullStandaloneBodies (#35137) - #35141

Closed
PurHur wants to merge 1 commit into
masterfrom
fix/35137-lazy-superglobal-refresh-ensure-full
Closed

PurHur wants to merge 1 commit into
masterfrom
fix/35137-lazy-superglobal-refresh-ensure-full

Conversation

@PurHur

@PurHur PurHur commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Summary

php-src: main/php_variables.c

Closes #35137

Test plan

  • ./script/phpunit.sh --filter 'ContextFullStandaloneLazy|ContextMinimalStandaloneLazyIni|ExamplesHelloWorldAotRegressionTest::testContextMinimal' → OK (51 tests, 360 assertions)
  • ./script/aot-smoke.sh → 8 passed, 0 failed
  • No new lib/AOT/runtime/*.c

Made with Cursor

…35137)

Defer __superglobals__refresh NestedJIT to compileToFile for every standalone
so full init cannot mint superglobals_refresh.1 (#32122 class). php-src: main/php_variables.c.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur

PurHur commented Aug 26, 2026

Copy link
Copy Markdown
Owner Author

Duplicate of already-merged #35140 for #35137 — closing; picking next queue item.

@PurHur PurHur closed this Aug 26, 2026
@PurHur
PurHur deleted the fix/35137-lazy-superglobal-refresh-ensure-full branch August 26, 2026 14:12
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 ensureFullStandaloneBodies always-on SuperglobalRefreshRuntime — lazy at compileToFile (main/php_variables.c)

1 participant