Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<MongoDB\BSON\BinaryInterface::getTypeMongoDB\BSON\Decimal128Interface>
^MongoDB\BSON\BinaryInterfaceLast updated: Mon, 26 Oct 2026

MongoDB\BSON\BinaryInterface::__toString

(mongodb >=1.3.0)

MongoDB\BSON\BinaryInterface::__toString — Returns the BinaryInterface's data

Description

abstract public function MongoDB\BSON\BinaryInterface::__toString(): string

This method is an alias of: MongoDB\BSON\BinaryInterface::getData().

Parameters

This function has no parameters.

Return Values

Returns the BinaryInterface's data.

See Also


<MongoDB\BSON\BinaryInterface::getTypeMongoDB\BSON\Decimal128Interface>
^MongoDB\BSON\BinaryInterfaceLast updated: Mon, 26 Oct 2026