Doctrine 1
  1. Doctrine 1
  2. DC-1056

Doctrine is not compatible with PHP 5.4 due to change in serialize() behaviour.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: None
    • Component/s: Record, Relations
    • Labels:
      None
    • Environment:
      PHP 5.4+

      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.

        Activity

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Marcin Gil
          • Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated: