MongoDB\BSON\Binary
PHP Manual

MongoDB\BSON\Binary::__construct

(mongodb >=1.0.0)

MongoDB\BSON\Binary::__constructDescription

Description

public MongoDB\BSON\Binary::__construct ( string $data , string $subtype )

Parameters

data

subtype

Return Values

Errors/Exceptions

Examples

Example #1 MongoDB\BSON\Binary::__construct() example

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


MongoDB\BSON\Binary
PHP Manual