PHP 8.1 RFC: Phasing out Serializable

Phasing out Serializable
PHP 8.1
Implemented
Serializable interface deprecated

RFC Vote: Phasing out Serializable

Implemented
-
> 50%
Yes: 36No: 0

Phasing out Serializable

TypeImprovement
Version PHP 8.1

The new custom object serialization mechanism RFC introduced new __serialize() and __unserialize() magic methods in PHP 7.4, with the intent of replacing the broken Serializable interface. This RFC finalizes that work by laying out a plan for the eventual removal of Serializable.

Subscribe to PHP.Watch newsletter for monthly updates

You will receive an email on last Wednesday of every month and on major PHP releases with new articles related to PHP, upcoming changes, new features and what's changing in the language. No marketing emails, no selling of your contacts, no click-tracking, and one-click instant unsubscribe from any email you receive.