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

Timestamp on 32-bit platforms breaks

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.0
    • Affects Version/s: 1.2.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Environment:
      PHP 7.0 on 32-bit (compiled with -m32)

      =====================================================================
      FAILED TEST SUMMARY
      ---------------------------------------------------------------------
      MongoDB\BSON\Timestamp debug handler [tests/bson/bson-timestamp-002.phpt]
      MongoDB\BSON\Timestamp constructor requires positive unsigned 32-bit integers [tests/bson/bson-timestamp-003.phpt]
      MongoDB\BSON\Timestamp constructor requires positive unsigned 32-bit integers (as string) [tests/bson/bson-timestamp-005.phpt]
      MongoDB\BSON\Timestamp serialization [tests/bson/bson-timestamp-serialization-001.phpt]
      MongoDB\BSON\Timestamp::__set_state() [tests/bson/bson-timestamp-set_state-001.phpt]
      MongoDB\BSON\Timestamp::__set_state() requires positive unsigned 32-bit integers [tests/bson/bson-timestamp-set_state_error-002.phpt]
      PHPC-592: Property name corrupted when unserializing 64-bit integer on 32-bit platform [tests/bson/bug0592.phpt]
      
      =====================================================================
      

            Assignee:
            derick Derick Rethans
            Reporter:
            derick Derick Rethans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: