Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-8.0
/
share
/
test
/
mongodb
/
tests
/
serverApi
/
//opt/php-8.0/share/test/mongodb/tests/serverApi/serverApi-debug.phpt
--TEST-- MongoDB\Driver\ServerApi debug output --FILE-- <?php var_dump(new MongoDB\Driver\ServerApi('1')); var_dump(new MongoDB\Driver\ServerApi('1', true)); var_dump(new MongoDB\Driver\ServerApi('1', null, true)); var_dump(new MongoDB\Driver\ServerApi('1', false, false)); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- object(MongoDB\Driver\ServerApi)#%d (%d) { ["version"]=> string(1) "1" ["strict"]=> NULL ["deprecationErrors"]=> NULL } object(MongoDB\Driver\ServerApi)#%d (%d) { ["version"]=> string(1) "1" ["strict"]=> bool(true) ["deprecationErrors"]=> NULL } object(MongoDB\Driver\ServerApi)#%d (%d) { ["version"]=> string(1) "1" ["strict"]=> NULL ["deprecationErrors"]=> bool(true) } object(MongoDB\Driver\ServerApi)#%d (%d) { ["version"]=> string(1) "1" ["strict"]=> bool(false) ["deprecationErrors"]=> bool(false) } ===DONE===