MysqlndUhConnection::getServerVersion
Returns the version of the MySQL server as an integer
&reftitle.description;
public integerMysqlndUhConnection::getServerVersion
mysqlnd_connectionconnection
Returns the version of the MySQL server as an integer.
&reftitle.parameters;
connection
Mysqlnd connection handle. Do not modify!
&reftitle.returnvalues;
The MySQL version.
&reftitle.examples;
MysqlndUhConnection::getServerVersion example
server_version);
?>
]]>
&example.outputs;
NULL,
))
proxy::getServerVersion returns 50145
int(50145)
]]>
&reftitle.seealso;
mysqlnd_uh_set_connection_proxy
mysqli_get_server_version
mysql_get_server_version