PHP mysqli: get_client_info() function
mysqli_get_client_info() function / mysqli::get_client_info
The mysqli_get_client_info() function / mysqli::get_client_info returns the MySQL client library version.
Syntax:
Object oriented style
string mysqli::get_client_info ( void )
Procedural style
string mysqli_get_client_info ( mysqli $link )
Usage: Procedural style
mysqli_get_client_info(connection);
Parameter:
Name | Description | Required/Optional |
---|---|---|
connection | Specifies the MySQL connection to use. | Required |
Return value:
A string that represents the MySQL client library version.
Version: PHP 5, PHP 7
Example:
<?php
echo mysqli_get_client_info();
?>
Output:
mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.27 $
See also
Previous: get_charset
Next:
get_client_stats
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join