Add support for var_export() and __set_state() in CursorId.c

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 1.10.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      MongoDB\Driver\CursorId cannot be exported using var_export. To make this consistent with other classes, behaviour from MongoDB\BSON\Int64 needs to be duplicated here.

      This also includes adding an initialized field to the php_phongo_cursorid_t struct to be able to differentiate an uninitialised struct from one with cursor ID 0.

            Assignee:
            Tanli Su (Inactive)
            Reporter:
            Andreas Braun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: