-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 1.4.0
-
Component/s: None
-
None
The __clone() method on BSONArray and BSONDocument should respect that some objects within the base ArrayObject may not be cloneable. Failure to do so may result in errors such as:
"Trying to clone an uncloneable object of class %s"
This is particularly important because the driver's BSON classes cannot be cloned (pending PHPC-1230).
- is related to
-
PHPC-1230 Support object cloning for BSON classes
- Closed
-
PHPLIB-190 Support object cloning for BSONArray and BSONDocument
- Closed
- links to