BSON exceptions for MongoDB\BSON\toPHP() should also be mentioned in the Cursor documentation, since most users will experience these exceptions while iterating database results (rather than manually converting BSON).
This most recently came up regarding PHPC-302, which introduced an exception for unsupported BSON types.
- is related to
-
PHPC-302 Throw exceptions for unsupported BSON types
- Closed
- links to