For consistency with the behaviour of BSON\Document::get and BSON\PackedArray::get, the toPHP methods in both classes should not convert BSON long values to int scalars, but always return BSON\Int64 instances.
- related to
-
PHPC-2568 Document and PackedArray debug output does not preserve Int64 objects
-
- Backlog
-