BSON\Binary
PHP Manual

BSON\Binary::__construct

(mongodb >=0.2.0)

BSON\Binary::__constructDescription

Descripción

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

Parámetros

data

subtype

Valores devueltos

Errores/Excepciones

Ejemplos

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

<?php

/* ... */

?>

El resultado del ejemplo sería algo similar a:

...

Ver también


BSON\Binary
PHP Manual