mirror of
https://github.com/macintoshplus/mongo-php-driver.git
synced 2026-03-26 01:42:10 +01:00
17 lines
337 B
PHP
17 lines
337 B
PHP
--TEST--
|
|
MongoDB\Driver\Manager::__construct() URI defaults to "mongodb://127.0.0.1/"
|
|
--FILE--
|
|
<?php
|
|
|
|
ini_set('mongodb.debug', 'stderr');
|
|
$manager = new MongoDB\Driver\Manager();
|
|
ini_set('mongodb.debug', '');
|
|
|
|
?>
|
|
===DONE===
|
|
<?php exit(0); ?>
|
|
--EXPECTF--
|
|
[%s] PHONGO: DEBUG > Connection string: 'mongodb://127.0.0.1/'
|
|
%A
|
|
===DONE===
|