PHP » GoLang |
login |
register |
about
|
GoLang MongoDB\Driver\Server::getHost
request it (274)
GoLang replacement for PHP's MongoDB\Driver\Server::getHost
[edit | history]
PHP MongoDB\Driver\Server::getHostPHP original manual for MongoDB\Driver\Server::getHost [ show | php.net ]MongoDB\Driver\Server::getHost(mongodb >=1.0.0) MongoDB\Driver\Server::getHost — Returns the hostname of this server Description
final public string MongoDB\Driver\Server::getHost
( void
)
Returns the hostname of this server. ParametersThis function has no parameters. Return ValuesReturns the hostname of this server. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\Server::getHost() example
<?php The above example will output: string(9) "localhost" See Also
|
more
Recently updated
more
Most requested
more
Last requests
|