# MongoDB\BSON\PackedArray::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\PackedArray::offsetUnset — Implementation of ArrayAccess

### 说明

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

Unsets the value at the specified index.

### 参数

`key`

  The index being unset.

### 返回值

没有返回值。

### 错误／异常

- Always throws a MongoDB\Driver\Exception\LogicException.

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open