Exemple #1
0
 function bson_decode_multiple($data)
 {
     return Bson::decode_multiple($data);
 }
Exemple #2
0
 public function testIsDocument()
 {
     $this->assertFalse(Bson::isDocument(['foo']));
     $this->assertTrue(Bson::isDocument(['foo' => 1]));
     $this->assertTrue(Bson::isDocument(['foo', 'bar' => 1]));
 }