Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-2248

Remove Serializable interface implementations

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • 2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      The Serializable interface was deprecated in PHP 8.1. Since PHP 7.4, the magic methods are used when available instead of the interface.

      Once we drop support for PHP 7.2 and PHP 7.3, there will be no reason to retain the Serializable implementation; however, we may need to wait until a major version bump to drop it altogether.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: