Hi internals, I'd like to propose a new custom object serialization mechanism intended to replace the broken Serializable interface:
https://wiki.php.net/rfc/custom_object_serialization This was already previously discussed in https://externals.io/message/98834, this just brings it into RFC form. The latest motivation for this is https://bugs.php.net/bug.php?id=77302, a compatibility issue in 7.3 affecting Symfony, caused by Serializable. We can't fix Serializable, but we can at least make sure that a working alternative exists. Regards, Nikita