--TEST-- MongoDB\Driver\Manager with disableClientPersistence=true referenced by Session --SKIPIF-- --FILE-- true]); ini_set('mongodb.debug', ''); echo "Creating session\n"; $session = $manager->startSession(); echo "Unsetting manager\n"; ini_set('mongodb.debug', 'stderr'); unset($manager); ini_set('mongodb.debug', ''); echo "Unsetting session\n"; ini_set('mongodb.debug', 'stderr'); unset($session); ini_set('mongodb.debug', ''); ?> ===DONE=== --EXPECTF-- %A [%s] PHONGO: DEBUG > Created client with hash: %s [%s] PHONGO: DEBUG > Stored non-persistent client Creating session Unsetting manager Unsetting session%A [%s] PHONGO: DEBUG > Destroying non-persistent client for Manager%A ===DONE===