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

BSON array keys should be disregarded during visitation

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

      BSON corpus spec tests for "Single Element Array with index set incorrectly" currently fail because we always use add_assoc() when appending elements of a BSON array to a PHP array. If we are visiting a BSON array, each element's key should be disregarded and we should use add_next_index() instead.

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

              Created:
              Updated:
              Resolved: