Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
opt
/
php-8.2
/
share
/
test
/
mongodb
/
tests
/
topologyDescription
/
//opt/php-8.2/share/test/mongodb/tests/topologyDescription/topologyDescription-constants.phpt
--TEST-- MongoDB\Driver\TopologyDescription constants --FILE-- <?php var_dump(MongoDB\Driver\TopologyDescription::TYPE_UNKNOWN); var_dump(MongoDB\Driver\TopologyDescription::TYPE_SINGLE); var_dump(MongoDB\Driver\TopologyDescription::TYPE_SHARDED); var_dump(MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_NO_PRIMARY); var_dump(MongoDB\Driver\TopologyDescription::TYPE_REPLICA_SET_WITH_PRIMARY); var_dump(MongoDB\Driver\TopologyDescription::TYPE_LOAD_BALANCED); ?> ===DONE=== <?php exit(0); ?> --EXPECT-- string(7) "Unknown" string(6) "Single" string(7) "Sharded" string(19) "ReplicaSetNoPrimary" string(21) "ReplicaSetWithPrimary" string(12) "LoadBalanced" ===DONE===