mysqli::$client_info

mysqli::get_client_info

mysqli_get_client_info

(PHP 5, PHP 7)

mysqli::$client_info -- mysqli::get_client_info -- mysqli_get_client_infoGet MySQL client info

Description

Object oriented style

public mysqli::get_client_info(): string|null

Procedural style

mysqli_get_client_info(mysqli|null $mysql = null): string|null

Returns a string that represents the MySQL client library version.

Parameters

This function has no parameters.

Return Values

A string that represents the MySQL client library version

Examples

Example #1 mysqli_get_client_info

<?php

/* We don't need a connection to determine
   the version of mysql client library */

printf("Client library version: %s\n"mysqli_get_client_info());
?>

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top