PHP 8.6 Release Announcement
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
PHP 8.6, released November 19, 2026 according to php.net, adds partial function application with ? placeholders, a \Time\Duration class, an Io\Poll API built on epoll, kqueue and similar mechanisms for event loops like ReactPHP and AMPHP, clamp(), a SortDirection enum, and readonly property defaults. Upgrade work centres on the deprecations: mbstring regex functions, return inside finally, and several aliases. Sessions also become stricter by default, with strict mode and HttpOnly on and SameSite set to Lax. The announcement gives no independent benchmarks.