-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
This ticket is a placeholder for discussing how we'd like to handle deserialization of BSON integers where the encoded size does not match the platform size. Ideally, we should allow lossless conversion of values between the database and PHP. Lossy conversion is not simply about 64-bit integers being serialized as 32-bit; if a 32-bit BSON type is deserialized to a 64-bit integer in PHP, we might write it back to the database as 64-bit (may be a problem in some cases).