(PHP 5 >= 5.6.0, PHP 7)
Return information about open and cached links
array mysqli_get_links_stats ( void )
mysqli_get_links_stats() returns information about open and cached MySQL links.
Returns:
mysqli_get_links_stats() returns an associative array with three elements, keyed as follows:
total
An integer indicating the total number of open links in any state. active_plinks
An integ