php8.5
Home/ Manual/ bson / binaryinterface/ MongoDB\BSON\BinaryInterface::__toString

MongoDB\BSON\BinaryInterface::__toString

PHP function Edit on GitHub ✎

(mongodb >=1.3.0)

Returns the BinaryInterface's data

Description

MongoDB\BSON\BinaryInterface::__toString(): string

Alias MongoDB\BSON\BinaryInterface::getData.

Parameters Parameters

Return Values

Returns the BinaryInterface's data.

See Also

  • MongoDB\BSON\BinaryInterface::getData
  • MongoDB\BSON\Binary::__toString

Source: reference/mongodb/bson/binaryinterface/tostring.xml · from the official PHP manual (php/doc-en)