PHP 8.4.2 Released!

MongoDB\BSON\Document::offsetUnset

(mongodb >=1.17.0)

MongoDB\BSON\Document::offsetUnsetImplementation of ArrayAccess

Description

final public MongoDB\BSON\Document::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

add a note

User Contributed Notes

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