From e2ea0f105c9c6c60b19f2584d72205e5b1fe11e8 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 9 Apr 2019 14:57:06 +0200 Subject: Fix bug #77866: Port Serializable SPL classes to use __unserialize() Payloads created using Serializable are still supported. --- UPGRADING | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'UPGRADING') diff --git a/UPGRADING b/UPGRADING index 7b460da4a0..33704bdb02 100644 --- a/UPGRADING +++ b/UPGRADING @@ -87,6 +87,11 @@ PHP 7.4 UPGRADE NOTES . SplPriorityQueue::setExtractFlags() will throw an exception if zero is passed. Previously this would generate a recoverable fatal error on the next extraction operation. + . ArrayObject, ArrayIterator, SplDoublyLinkedList and SplObjectStorage now + support the __serialize() + __unserialize() mechanism in addition to the + Serializable interface. This means that serialization payloads created on + older PHP versions can still be unserialized, but new payloads created by + PHP 7.4 will not be understood by older versions. - Standard: . The "o" serialization format has been removed. As it is never produced by -- cgit v1.2.1