|
MongoDB\BSON\Binary::__toStringReturns the Binary's data Description
final public string MongoDB\BSON\Binary::__toString
( void
)
This method is an alias of: MongoDB\BSON\Binary::getData. ParametersThis function has no parameters. Return ValuesReturns the Binary's code. Errors/Exceptions
ExamplesExample #1 MongoDB\BSON\Binary::__toString example
<?php The above example will output: string(3) "foo" See Also
|