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

Warn if ServerDescription::getLastUpdateTime() must be truncated

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.13.0
    • Affects Version/s: None
    • Component/s: None
    • None

      As is done for WriteConcern's wTimeoutMS field (PHPC-1411), we should raise a warning if ServerDescription::getLastUpdateTime() truncates a 64-bit value on a 32-bit platform. Additionally, the field can be reported as a string instead of an integer in ServerDescriptions debug info (i.e. var_dump() and var_export()).

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

              Created:
              Updated:
              Resolved: