diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 31fef04..a07e825 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -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, diff --git a/AGENTS.md b/AGENTS.md index 41ee35e..767859b 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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. diff --git a/README.md b/README.md index 6284e0a..c6ac68b 100644 --- a/README.md +++ b/README.md @@ -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.