(PECL mongo >=1.3.0)
Examples:
MongoClient basic usage
A connection manager for PHP and MongoDB.
This class is used to create and manage connections. A typical use is:
<?php
$m = new MongoClient(); // connect
$db = $m->foo; // get the database named "foo"
?>