We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dcbc98 commit e4a1333Copy full SHA for e4a1333
tests/bson/bug0592.phpt
@@ -22,12 +22,7 @@ $tests = [
22
23
foreach ($tests as $json) {
24
printf("Test %s\n", $json);
25
- try {
26
- $encoded = MongoDB\BSON\Document::fromJSON($json)->toPHP();
27
- var_dump($encoded);
28
- } catch ( MongoDB\Driver\Exception\InvalidArgumentException $e ) {
29
- echo "MongoDB\Driver\Exception\InvalidArgumentException: ", $e->getMessage(), "\n";
30
- }
+ var_dump(MongoDB\BSON\Document::fromJSON($json)->toPHP());
31
echo "\n";
32
}
33
0 commit comments