array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'it', ), 'this' => array ( 0 => 'mongodb-driver-serverdescription.getport.php', 1 => 'MongoDB\\Driver\\ServerDescription::getPort', 2 => 'Returns the port on which this server is listening', ), 'up' => array ( 0 => 'class.mongodb-driver-serverdescription.php', 1 => 'MongoDB\\Driver\\ServerDescription', ), 'prev' => array ( 0 => 'mongodb-driver-serverdescription.getlastupdatetime.php', 1 => 'MongoDB\\Driver\\ServerDescription::getLastUpdateTime', ), 'next' => array ( 0 => 'mongodb-driver-serverdescription.getroundtriptime.php', 1 => 'MongoDB\\Driver\\ServerDescription::getRoundTripTime', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/serverdescription/getport.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getPort — Returns the port on which this server is listening
Returns the port on which this server is listening.
Questa funzione non contiene parametri.
Returns the port on which this server is listening.