PHP » GoLang |
login |
register |
about
|
GoLang mysqli::$server_version
request it (406)
GoLang replacement for PHP's mysqli::$server_version
[edit | history]
mysqli::$server_versionmysqli_get_server_version(PHP 5, PHP 7) mysqli::$server_version -- mysqli_get_server_version — Returns the version of the MySQL server as an integer DescriptionObject oriented style Procedural style
The mysqli_get_server_version() function returns the
version of the server connected to (represented by the
Parameters
Return ValuesAn integer representing the server version. The form of this version number is main_version * 10000 + minor_version * 100 + sub_version (i.e. version 4.1.0 is 40100). ExamplesExample #1 $mysqli->server_version example Object oriented style
<?php Procedural style
<?php The above examples will output: Server version: 40102 See Also
|
more
Recently updated
more
Most requested
more
Last requests
|