Skip to content

ci: run every job on PHP 8.6 alongside 8.4 and 8.5 - #34

Merged
lisachenko merged 2 commits into
mainfrom
feature/wonderful-johnson-03ot8f
Nov 21, 2026
Merged

lisachenko merged 2 commits into
mainfrom
feature/wonderful-johnson-03ot8f

Conversation

@lisachenko

@lisachenko lisachenko commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds '8.6' to every CI matrix: tests, tests-opcache, both soaks and the php-cgi request-boundary gate. All legs are required.
  • z-engine constraint: ~8.4.2 || ~8.5.0 || ~8.6.0. Every minor resolves a stable tag; z-engine 8.6.0 is released.
  • PHPUnit floor goes from ^12.2 to ^12.3.6. Releases before 12.3.6 pass -d report_memleaks=0 to every .phpt child, and PHP 8.6 reports that directive as deprecated at startup. The notice ends up in the captured output, so any --EXPECT-- block fails on lowest deps.
  • README and AGENTS.md now list 8.6.

Verified on PHP 8.6.0 (NTS, linux-x64), against z-engine 8.6.0

  • vendor/bin/phpunit: 190 tests OK, run once with opcache off and once with opcache.enable_cli=1
  • tools/soak.php 5000 and tools/soak-drop.php 5000: OK
  • tools/request-boundary/run.sh 100 (php-cgi 8.6): GATE OK, 99 request boundaries in one worker

Merge order: native-php-coroutines consumes this package as dev-main, so its 8.6 legs only go green after this PR is merged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6

The z-engine constraint gains ~8.6.0@dev (8.6.x-dev until z-engine tags
8.6.0, with prefer-stable keeping 8.4/8.5 on their tags), and the PHPUnit
floor goes to ^12.3.6, the first release that no longer passes the
report_memleaks directive PHP 8.6 deprecates to .phpt children.

Verified on PHP 8.6.0: unit and lifecycle suite with and without opcache,
both 5k-cycle soaks, and the php-cgi multi-request gate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6
z-engine tagged 8.6.0, so the PHP 8.6 line no longer needs its 8.6.x-dev
branch: the constraint becomes ~8.4.2 || ~8.5.0 || ~8.6.0, every minor
resolves a stable tag, and the docs drop the root-level workaround a
consumer on PHP 8.6 needed until now.

The prefer-stable flag existed only to keep 8.4/8.5 on their tags while
the dev constraint was present, and goes with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxhC1D34vSRsQVcgd3HwS6
@lisachenko
lisachenko marked this pull request as ready for review November 21, 2026 13:40
@lisachenko
lisachenko merged commit 0433382 into main Nov 21, 2026
15 checks passed
@lisachenko
lisachenko deleted the feature/wonderful-johnson-03ot8f branch November 21, 2026 13:40
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.

2 participants