|
MongoDB\BSON\Binary::__constructConstruct a new Binary Beschreibung
final public MongoDB\BSON\Binary::__construct
( string
$data
, integer $type
)
Parameter-Liste
Fehler/Exceptions
Changelog
BeispieleBeispiel #1 MongoDB\BSON\Binary::__construct example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe:
object(MongoDB\BSON\Binary)#1 (2) {
["data"]=>
string(3) "foo"
["type"]=>
int(0)
}
Siehe auch |