Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,10 @@

return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
// This branch targets PHP 8.6, which php-cs-fixer does not list as
// supported while it is pre-release; the codebase uses no 8.6-only syntax,
// so the fixer output stays stable. Drop once the fixer supports 8.6.
// This branch targets PHP 8.6, whose syntax php-cs-fixer does not list as
// supported yet (PHP_VERSION_SYNTAX_SUPPORTED is still 8.5); the codebase
// uses no 8.6-only syntax, so the fixer output stays stable. Drop once the
// fixer supports 8.6.
->setUnsupportedPhpVersionAllowed(true)
->setRules([
'@PER-CS2.0' => true,
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ offsets; the opcache file-cache relocator runs on ZTS since issue #118.
The 8.4 and 8.5 artifacts are maintained on the `8.4` and `8.5` branches;
`include/8.6/darwin-*` is maintained here - after changing the generator,
refresh it with one `workflow_dispatch` run of the workflow on `master`.
A leg whose PHP build setup-php cannot provide (a pre-release 8.6, or a
A leg whose PHP build setup-php cannot provide (a pre-release minor, or a
thread-safety mode with no build) skips cleanly and self-heals on a later
run; the CI presence guards keep the gap visible as warnings.

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ Engine memory layouts change between every PHP minor version, so each PHP minor

| PHP | OS / Arch / TS | Branch | Status |
|-----|----------------|--------|--------|
| 8.6 | linux-x64 (nts, zts) | `master` | 🚧 in progress¹ |
| 8.6 | linux-x64 (nts, zts), darwin-x64 (nts, zts), darwin-arm64 (nts, zts) | `master` | ✅ supported¹ |
| 8.5 | linux-x64 (nts, zts), darwin-x64 (nts, zts), darwin-arm64 (nts, zts), windows-x64 (nts, zts) | `8.5` | ✅ supported |
| 8.4 | linux-x64 (nts, zts), darwin-x64 (nts, zts), darwin-arm64 (nts, zts), windows-x64 (nts, zts) | `8.4` | ✅ supported |
| 8.0 | linux-x64-nts | `8.0` | 🧊 frozen (legacy) |

¹ PHP 8.6 is pre-release; definitions track the latest beta. darwin-* and windows-* artifacts land through the generation workflows as 8.6 builds become available on those runners.
¹ Supported since the PHP 8.6.0 release: the committed linux definitions regenerate byte for byte from the 8.6.0 GA build, and CI re-verifies the darwin ones on macOS runners. The windows-x64 definitions are not committed yet; they land through one run of the "Generate windows headers" workflow on `master`, and until then the Windows legs warn and skip.

> **Version matching is not optional.** Running Z-Engine against a PHP minor it was not built for corrupts memory. `Core::init()` enforces the match and aborts with a clear message rather than letting you crash.

Expand Down
Loading