MongoBinData::__constructCreates a new binary data object. Description
public MongoBinData::__construct
( string
$data
[, int $type = 2
] )Creates a new binary data object.
There are seven types of binary data currently recognized by the BSON spec,
which are defined as
class constants. For
backwards compatibility, the PHP driver uses
Parameters
Return ValuesReturns a new binary data object. Changelog
|