PHP mysqli_get_client_version() 函数
PHP 教程
· 2019-01-28 06:13:17
实例
将 MySQL 客户端库版本作为整数返回:
<?php
echo mysqli_get_client_version();
?>
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
Python Algorithms
Magnus Lie Hetland / Apress / 2010-11-24 / USD 49.99
Python Algorithms explains the Python approach to algorithm analysis and design. Written by Magnus Lie Hetland, author of Beginning Python, this book is sharply focused on classical algorithms, but it......一起来看看 《Python Algorithms》 这本书的介绍吧!