Support casting of Int64 objects to scalar integers

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Unknown
    • 1.16.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Design decisions:

      • Should a warning be raised on truncation? Doing so would be consistent with existing getters that return a PHP integer from an int64_t.
      • Would a getInt() method be preferable to, or complement, a cast handler? Methods would allow better discovery of this feature through documentation.
      • Adding methods would allow the possibility of letting users control truncation behavior.

              Assignee:
              Andreas Braun
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: