The MongoDB\BSON\PackedArray class MongoDB\BSON\PackedArray
&reftitle.intro; Represents a BSON array. This class is used when reading data as raw BSON and cannot be modified.
&reftitle.classsynopsis; MongoDB\BSON\PackedArray final MongoDB\BSON\PackedArray MongoDB\BSON\Type ArrayAccess IteratorAggregate &Methods;
&reftitle.changelog; &Version; &Description; &mongodb.changelog.serializable-interface-removed; PECL mongodb 1.17.0 Implements MongoDB\BSON\Type. PECL mongodb 1.17.0 MongoDB\BSON\PackedArray cannot be serialized in contexts where a BSON document is expected. In earlier versions, the BSON array would have been converted to a document.
&reference.mongodb.bson.entities.packedarray;