--TEST-- MongoDB\Driver\Query debug output with comment option --FILE-- ['foo' => 1]] )); ?> ===DONE=== --EXPECTF-- object(MongoDB\Driver\Query)#%d (%d) { ["filter"]=> object(stdClass)#%d (0) { } ["options"]=> object(stdClass)#%d (%d) { ["comment"]=> object(stdClass)#%d (%d) { ["foo"]=> int(1) } } ["readConcern"]=> NULL } ===DONE===