Details
Description
In PHP 5.4 there is a change in the way the object references are serialized:
Quote:
"Support for object references in recursive serialize() calls
Prior to PHP 5.4, object references where not saved in recursive serialize calls."
This minor change, breaks down serialization of collections when column of type "array" is present - double serialization occurs.
I'm attaching a patch fixing the issue.
I confirm for possible future readers: this patch works perfectly well. (cf github for several forks of doctrine with other bugfixes).