| PHP » GoLang | login |
            register |
            
            about | 
| GoLang MongoDB\Driver\Server::getPort
                                request it (636)
                            GoLang replacement for PHP's MongoDB\Driver\Server::getPort
                            [edit | history] 
                             PHP MongoDB\Driver\Server::getPortPHP original manual for MongoDB\Driver\Server::getPort [ show | php.net ]MongoDB\Driver\Server::getPort(mongodb >=1.0.0) MongoDB\Driver\Server::getPort — Returns the port on which this server is listening Description
   final public int MongoDB\Driver\Server::getPort
    ( void
   ) Returns the port on which this server is listening. ParametersThis function has no parameters. Return ValuesReturns the port on which this server is listening. Errors/Exceptions
 ExamplesExample #1 MongoDB\Driver\Server::getPort() example 
<?phpThe above example will output: int(27017) See Also
 | 
                    more
                     Most requested
 
                    more
                     Last requests
 |