array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'mongodb-bson-document.tostring.php', 1 => 'MongoDB\\BSON\\Document::__toString', 2 => 'Returns the string representation of this BSON Document', ), 'up' => array ( 0 => 'class.mongodb-bson-document.php', 1 => 'MongoDB\\BSON\\Document', ), 'prev' => array ( 0 => 'mongodb-bson-document.torelaxedextendedjson.php', 1 => 'MongoDB\\BSON\\Document::toRelaxedExtendedJSON', ), 'next' => array ( 0 => 'class.mongodb-bson-packedarray.php', 1 => 'MongoDB\\BSON\\PackedArray', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/document/tostring.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\BSON\Document::__toString

(mongodb >=1.16.0)

MongoDB\BSON\Document::__toStringReturns the string representation of this BSON Document

说明

final public MongoDB\BSON\Document::__toString(): string

参数

此函数没有参数。

返回值

Returns the string representation of this document as BSON.

参见