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

Error in var_export for BSON objects ( value is missing after export )

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

      When converting BSON objects for PHP export using var_export this is what happens:

      'check' =>
      MongoDB\BSON\ObjectID::__set_state(array(
      )),
      'timestamp' =>
      MongoDB\BSON\UTCDateTime::__set_state(array(
      )),
      'end' =>
      MongoDB\BSON\UTCDateTime::__set_state(array(
      ))

      I get an empty array without any values

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrei@odeski.ca Fortify
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: