Implement compare_objects handler for ReadConcern, ReadPreference, and WriteConcern so that instances can be compared using the == operator. As discussed in mongodb/mongo-php-library#1082, the current behavior uses PHP's default object handler and always considers instances of these classes equal since there are no object properties to compare (the zend_object properties used for comparison are unrelated to the internal properties on the PHPC struct).
- is depended on by
-
PHPLIB-1150 Refactor tests using object comparison for ReadConcern/ReadPreference/WriteConcern
-
- Blocked
-