--TEST-- MongoDB\Driver\BulkWriteCommand debug output --FILE-- true, 'comment' => 'foo', 'let' => ['foo' => 1], 'ordered' => true, 'verboseResults' => true, ]); var_dump($bulk); ?> ===DONE=== --EXPECTF-- object(MongoDB\Driver\BulkWriteCommand)#%d (%d) { ["bypassDocumentValidation"]=> bool(true) ["comment"]=> string(3) "foo" ["let"]=> object(stdClass)#%d (%d) { ["foo"]=> int(1) } ["ordered"]=> bool(true) ["verboseResults"]=> bool(true) ["session"]=> NULL } ===DONE===