Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-7.4
/
share
/
test
/
mongodb
/
tests
/
readConcern
/
//opt/php-7.4/share/test/mongodb/tests/readConcern/readconcern-debug-001.phpt
--TEST-- MongoDB\Driver\ReadConcern debug output --FILE-- <?php require_once __DIR__ . '/../utils/basic.inc'; $tests = [ new MongoDB\Driver\ReadConcern(), new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::LINEARIZABLE), new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::LOCAL), new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::MAJORITY), new MongoDB\Driver\ReadConcern(MongoDB\Driver\ReadConcern::AVAILABLE), ]; foreach ($tests as $test) { var_dump($test); } ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(MongoDB\Driver\ReadConcern)#%d (%d) { } object(MongoDB\Driver\ReadConcern)#%d (%d) { ["level"]=> string(12) "linearizable" } object(MongoDB\Driver\ReadConcern)#%d (%d) { ["level"]=> string(5) "local" } object(MongoDB\Driver\ReadConcern)#%d (%d) { ["level"]=> string(8) "majority" } object(MongoDB\Driver\ReadConcern)#%d (%d) { ["level"]=> string(9) "available" } ===DONE===