PHP 8.3.0 RC 6 available for testing

The MongoDB\BSON\PackedArray class

(mongodb >=1.16.0)

简介

Represents a BSON array. This class is used when reading data as raw BSON and cannot be modified.

类摘要

final class MongoDB\BSON\PackedArray implements MongoDB\BSON\Type, IteratorAggregate, Serializable {
/* 方法 */
final private __construct()
final static public fromPHP(array $value): MongoDB\BSON\PackedArray
final public get(int $key): mixed
final public has(int $index): bool
final public serialize(): string
final public toPHP(?array $typeMap = null): array|object
final public __toString(): string
final public unserialize(string $data): void
}

更新日志

版本 说明
PECL mongodb 1.17.0 Implements MongoDB\BSON\Type.

目录

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top