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-bsonserialize-001.phpt
--TEST-- MongoDB\Driver\ReadConcern::bsonSerialize() --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) { echo toJSON(fromPHP($test)), "\n"; } ?> ===DONE=== <?php exit(0); ?> --EXPECT-- { } { "level" : "linearizable" } { "level" : "local" } { "level" : "majority" } { "level" : "available" } ===DONE===