Learn PHP Programming Language for Free - PHP Teacher PHP Teacher
PostsCategory Partners Manual Magazines
  • « mysqli_get_client_stats
  • mysqli_report »
  • PHP Manual
  • Aliases and deprecated Mysqli Functions
  • Return information about open and cached links

mysqli_get_links_stats

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

mysqli_get_links_stats — Return information about open and cached links

Description

mysqli_get_links_stats(): array

mysqli_get_links_stats() returns information about open and cached MySQL links.

Parameters

This function has no parameters.

Return Values

mysqli_get_links_stats() returns an associative array with three elements, keyed as follows:

total

An int indicating the total number of open links in any state.

active_plinks

An int representing the number of active persistent connections.

cached_plinks

An int representing the number of inactive persistent connections.

↑ and ↓ to navigate • Enter to select • Esc to close • / to open
Learn PHP Programming Language for Free - PHP Teacher

Free PHP learning resources for developers of all levels.

Blog

  • Posts
  • Categories

Resources

  • Laravel Books

Other

  • RSS
  • Site Map
  • GitHub
Laravel Company Logo Laravel Company

Part of the Laravel Company ecosystem delivering integrated messaging, e-commerce, and SEO solutions.

© 2026 Laravel Software. All Rights Reserved.