Talk to an engineer

PHP 8.6 end of life

PHP 8.6 is in active support: bug and security fixes until Dec 2028, security fixes only until Dec 2030.

Nov 2026Released
Dec 2028Active support ends
Dec 2030Community end of life
Dec 2034SeaPHP LTS coverage through

PHP 8.6 introduced: Partial function application, Duration class, polling API, clamp().

What to know when upgrading around PHP 8.6

The changes that cost real time in upgrades, from compatibility scans across real codebases.

Session defaults change: strict mode and HttpOnly cookies are on, and SameSite is Lax

return inside finally, is_double(), is_long(), spl_object_hash() and the mbstring regex functions are deprecated

More functions throw ValueError for out-of-range values, invalid flags or NUL bytes

The full walk-through is in our field guide to upgrading from PHP 7.4 to 8.x.

Still running PHP 8.6?

Tell us where it runs and what depends on it. An engineer replies within one business day.