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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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

        1. screenshot-1.png
          84 kB
          Fortify

              Assignee:
              Unassigned
              Reporter:
              Fortify
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: