PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\BSON\Binary::__construct
request it (337)
GoLang replacement for PHP's MongoDB\BSON\Binary::__construct
[edit | history]
PHP MongoDB\BSON\Binary::__constructPHP original manual for MongoDB\BSON\Binary::__construct [ show | php.net ]MongoDB\BSON\Binary::__construct(mongodb >=1.0.0) MongoDB\BSON\Binary::__construct — Construct a new Binary Description
final public MongoDB\BSON\Binary::__construct
( string
$data
, int $type
)ParametersErrors/Exceptions
Changelog
ExamplesExample #1 MongoDB\BSON\Binary::__construct() example
<?php The above example will output: object(MongoDB\BSON\Binary)#1 (2) { ["data"]=> string(3) "foo" ["type"]=> int(0) } See Also |
more
Recently updated
more
Most requested
more
Last requests
|