MYSQLI_GET_LINKS_STATS(3) 1 MYSQLI_GET_LINKS_STATS(3)
mysqli_get_links_stats - Return information about open and cached links
SYNOPSIS
array mysqli_get_links_stats (void )
DESCRIPTION
mysqli_get_links_stats(3) returns information about open and cached MySQL links.
PARAMETERS
This function has no parameters.
RETURN VALUES
mysqli_get_links_stats(3) returns an associative array with three elements, keyed as follows:
o $total
- An integer indicating the total number of open links in any state.
o $active_plinks
- An integer representing the number of active persistent connections.
o $cached_plinks
- An integer representing the number of inactive persistent connections.
PHP Documentation Group MYSQLI_GET_LINKS_STATS(3)