-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
PHP Drivers
-
Not Needed
-
MonogDB\BSON\UTCDateTime currently accepts a string, attempting to parse this as an Int64 value. In an effort to remove string as a fallback type for 64-bit integers on 32-bit platforms, support for this should be deprecated for removal in 2.0.
To allow passing 64-bit timestamps on 32-bit systems, the constructor should instead take a MongoDB\BSON\Int64 instance.