PHP mysqli_get_client_version() 函数

PHP 教程 · 2019-01-28 06:13:17

实例

将 MySQL 客户端库版本作为整数返回:

<?php

echo mysqli_get_client_version();

?>

定义和用法

mysqli_get_client_version() 函数将 MySQL 客户端库版本作为整数返回。

MySQL 客户端库版本将按照以下格式返回: 主要版本*10000 + 次要版本*100 + 子版本。例如:5.1.0 将返回 50100。

语法

mysqli_get_client_version(connection);

参数 描述
connection 可选。规定要使用的 MySQL 连接。

技术细节

返回值: 返回一个表示 MySQL 客户端库版本的整数。
PHP 版本: 5+

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Paradigms of Artificial Intelligence Programming

Paradigms of Artificial Intelligence Programming

Peter Norvig / Morgan Kaufmann / 1991-10-01 / USD 77.95

Paradigms of AI Programming is the first text to teach advanced Common Lisp techniques in the context of building major AI systems. By reconstructing authentic, complex AI programs using state-of-the-......一起来看看 《Paradigms of Artificial Intelligence Programming》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

URL 编码/解码
URL 编码/解码

URL 编码/解码