BSON\Binary
PHP Manual

BSON\Binary::__construct

(mongodb >=0.2.0)

BSON\Binary::__constructDescription

Description

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

Parameters

data

subtype

Return Values

Errors/Exceptions

Examples

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

<?php

/* ... */

?>

The above example will output something similar to:

...

See Also


BSON\Binary
PHP Manual