PHP 8.6 is ready and tightens session defaults
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.0 adds partial function application, a nanosecond-resolution Time\Duration type, an Io\Poll API for epoll and kqueue (not an async runtime), and clamp(). The change most likely to affect existing applications is session defaults: strict mode and HttpOnly are on, and SameSite is Lax unless php.ini overrides them. heise online says this can break cross-site POST flows such as SSO and payment redirects, mainly in Firefox and Safari, so test logins before upgrading. The reported security fixes and support dates were not independently verified.