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

MongoCursorException::getHost

(PECL mongo >= 1.0.0)

MongoCursorException::getHostThe hostname of the server that encountered the error

Description

public string MongoCursorException::getHost ( void )

Returns the hostname of the server the query was sent too.

Parameters

This function has no parameters.

Return Values

Returns the hostname, or NULL if the hostname is unknown.

PHP Manual