PHP 8.1 RFC: Phasing out Serializable
Phasing out Serializable | |
Improvement | |
PHP 8.1 | |
Implemented | |
Serializable interface deprecated |
RFC Vote: Phasing out Serializable
- | |
>= 2/3 | |
Yes: 36No: 0 |
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
.