(PHP 5 >= 5.6.0, PHP 7, PHP 8)
mysqli_get_links_stats — Return information about open and cached links
mysqli_get_links_stats(): array
mysqli_get_links_stats() returns information about open and cached MySQL links.
This function has no parameters.
mysqli_get_links_stats() returns an associative array with three elements, keyed as follows:
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.mysqli-get-links-stats.php