PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Mongo::connectUtil

(PECL mongo >=0.9.0)

Mongo::connectUtilConnects with a database server

Description

protected bool Mongo::connectUtil ( void )
Warning

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

Parameters

This function has no parameters.

Return Values

If the connection was successful.

Errors/Exceptions

Throws MongoConnectionException if it fails to connect to the databases.

PHP Manual