-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.2.2
-
Component/s: None
-
None
BSON corpus spec tests for "Empty-string key subdoc" currently fail because is_public_property() returns false for an property whose name is an empty string.
This is an edge case, but such a property name could be created by casting ['' => 1] to an object (i.e. stdClass), which is exactly the code path encountered by the spec test when the BSON data is round-tripped through PHP.
- is depended on by
-
PHPC-714 Implement BSON corpus test suite
- Closed