Mongo
PHP Manual

Mongo::connectUtil

(PECL mongo >=0.9.0)

Mongo::connectUtilConnects with a database server

说明

protected bool Mongo::connectUtil ( void )
Warning

This is an internal function that you should never call yourself.

参数

此函数没有参数。

返回值

If the connection was successful.

错误/异常

Throws MongoConnectionException if it fails to connect to the databases.


Mongo
PHP Manual