Skip to content

php-in-php: drop Type::initialize always-on file I/O ensureLinked (#34423) - #34425

Merged
PurHur merged 1 commit into
masterfrom
fix/34423-type-init-lazy-file-io
Aug 24, 2026
Merged

PurHur merged 1 commit into
masterfrom
fix/34423-type-init-lazy-file-io

Conversation

@PurHur

@PurHur PurHur commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • ./script/phpunit.sh --filter 'TypeDeadTypeInitializeLazyFileIo|TypeDead(Readfile|FileGetContents|FilePutContents|MimeContentType|GetMetaTags|ErrorLog|GetHeaders|ParseUrl)Abi' → OK (35 tests, 157 assertions)
  • ./script/docker-exec.sh -- bash -lc 'php bin/vm.php test/repro/issue_34423_file_io_aot.php' → putget:'hi\n' / url:example.com / DONE
  • php bin/compile.php -o /tmp/i34423.bin … && /tmp/i34423.bin → same output
  • ./script/aot-smoke.sh → 8 passed, 0 failed
  • script/cold-build-check.sh → ok (39s)

Did not run north-star5-verify --strict / full make test-harness / ./script/release-readiness.sh.

Made with Cursor

Drop always-on NestedJIT of readfile/file_get_contents/file_put_contents and
related URL helpers on the full load path so leftover Type decls cannot mint
*.1 symbols (#32122). Call sites ensureLinked before lookup.

Co-authored-by: Cursor <cursoragent@cursor.com>
@PurHur
PurHur merged commit 0397c38 into master Aug 24, 2026
@PurHur
PurHur deleted the fix/34423-type-init-lazy-file-io branch August 24, 2026 14:47
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 Type::initialize always-on file I/O ensureLinked — lazy Jit* ABI (peer #34414)

1 participant