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 246226b commit 9168392Copy full SHA for 9168392
tests/bson/bson-toJSON_error-001.phpt
@@ -6,8 +6,8 @@ BSON\toJSON(): BSON decoding exceptions
6
<?php
7
require_once __DIR__ . "/../utils/basic.inc";
8
9
-/* We can't really test for bson_iter_init() failure, since bson_reader_read()
10
- * already checks that the buffer is at least 5 bytes.
+/* We can't really test for bson_iter_init() failure within bson_as_json(),
+ * since bson_reader_read() already checks that the buffer is at least 5 bytes.
11
*/
12
$invalidBson = array(
13
'',
0 commit comments