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

zval_to_bson() ignores BSON\Serializable interface

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 0.6.0
    • Affects Version/s: 0.5.1
    • Component/s: None
    • None

      The logic in zval_to_bson() differs from object_to_bson(), in that it ignores objects implementing BSON\Serializable and only processes classes that implement the more-specific BSON\Peristable interface.

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

              Created:
              Updated:
              Resolved: