public function __toString() { $this->initialize(); return $this->mongo->__toString(); }
<?php $mc = new MongoClient("", array("connect" => false)); var_dump($mc->__toString());