(mongodb >=1.0.0)
MongoDB\BSON\Binary::getType — Returns the Binary's type
锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷
Returns the Binary's type.
Example #1 MongoDB\BSON\Binary::getType() example
<?php
$binary = new MongoDB\BSON\Binary('foo', MongoDB\BSON\Binary::TYPE_GENERIC);
var_dump($binary->getType());
?>
锟斤拷锟斤拷锟斤拷锟教伙拷锟斤拷锟斤拷锟�
int(0)