PHP 8.4.0 RC4 available for testing

MongoDB\BSON\Document::fromBSON

(mongodb >=1.16.0)

MongoDB\BSON\Document::fromBSONConstruct a new document instance from a BSON string

Descrizione

final static public MongoDB\BSON\Document::fromBSON(string $bson): MongoDB\BSON\Document

Elenco dei parametri

bson (string)

A string containing a document in BSON format.

Valori restituiti

Returns a new MongoDB\BSON\Document instance.

Errori/Eccezioni

Vedere anche:

add a note

User Contributed Notes

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