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://www.codercto.com/courses/l/5.html

查看所有标签

Flexible Rails

Flexible Rails

Peter Armstrong / Manning Publications / 2008-01-23 / USD 44.99

Rails is a fantastic tool for web application development, but its Ajax-driven interfaces stop short of the richness you gain with a tool like Adobe Flex. Simply put, Flex is the most productive way t......一起来看看 《Flexible Rails》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

html转js在线工具
html转js在线工具

html转js在线工具