Re: An BC issue in unserialize
| From: | Stas Malyshev | Date: | Thu, 17 Jul 2014 06:08:27 +0000 |
| Subject: | Re: An BC issue in unserialize | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75638@lists.php.net to get a copy of this message | ||
Hi!
> in such case, the serialized data could be shared by 5.5 and 5.6...
This is true, but what you presented is not serialized data. Serialized
data will be fine. But the code you shown instead tries to use
serializer as a roundabout way of instantiating objects. This is not the
right thing to do, this was never the purpose of the serializer and was
never guaranteed to work.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/