MongoDB\BSON\PackedArray::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\PackedArray::offsetUnsetImplementation of ArrayAccess

Description

final public MongoDB\BSON\PackedArray::offsetUnset(mixed $key): void

Unsets the value at the specified index.

Parameters

key

The index being unset.

Return Values

No value is returned.

Errors/Exceptions