From b23460063f913dc6dfcfa1a3b0a71c07c4f5491e Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 26 Jun 2014 15:25:19 -0700 Subject: [PATCH] better explanation --- UPGRADING | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/UPGRADING b/UPGRADING index 92ed275a081..1fdcda7f387 100644 --- a/UPGRADING +++ b/UPGRADING @@ -363,9 +363,10 @@ PHP 5.4 UPGRADE NOTES Using O: for user classes not extending internal classes (including those implementing Serializable) is still supported in 5.4, though - it is deprecated and may not be supported in 5.6. Same for using O: for - internal classes implementing Serializable (like ArrayObject) and - classes that extend them. + it is deprecated and may not be supported in 5.6 for classes that do not + originally serialize to O:. Same for using O: for internal classes + implementing Serializable (like ArrayObject) and classes that extend + them. The reason for that is that O: format is meant to be used with classes that do not define custom handlers, and was never intended for the use