Talk to an engineer

PHP 8.1 end of life

PHP 8.1 reached community end of life in Dec 2025. Vulnerabilities disclosed since then are not fixed upstream.

Nov 2021Released
Dec 2023Active support ends
Dec 2025Community end of life
Dec 2029SeaPHP LTS coverage through

PHP 8.1 introduced: Enums, fibers, never return type. Still the most deployed 8.x.

What to know when upgrading around PHP 8.1

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

Passing null to non-nullable internal function parameters is deprecated, often the noisiest change

Overriding internal methods without return types emits notices; add types or #[\ReturnTypeWillChange]

The Serializable interface is deprecated without __serialize() and __unserialize()

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

Still running PHP 8.1?

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