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