Mongo
PHP Manual

Mongo::__toString

(PECL mongo >=0.9.0)

Mongo::__toStringString representation of this connection

说明

public string Mongo::__toString ( void )

参数

此函数没有参数。

返回值

Returns hostname and port for this connection.


Mongo
PHP Manual