관리-도구
편집 파일: serverDescription-getLastUpdateTime-001.phpt
--TEST-- MongoDB\Driver\ServerDescription::getLastUpdateTime() --SKIPIF-- <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?> <?php if (8 !== PHP_INT_SIZE) { die('skip Only for 64-bit platform'); } ?> <?php skip_if_not_live(); ?> --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $manager = create_test_manager(); $server = $manager->selectServer(new MongoDB\Driver\ReadPreference('primary')); var_dump($server->getServerDescription()->getLastUpdateTime()); ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- int(%d) ===DONE===