PHP Manual

  • English French German Portuguese Spanish
PHP-Handbuch Funktionsreferenz Datenbankerweiterungen Anbieterspezifische Datenbankerweiterungen MySQL Mysqli Aliase und veraltete MySQLi Funktionen mysqli_get_links_stats
Aliase und veraltete MySQLi Funktionen mysqli_bind_param mysqli_bind_result mysqli_client_encoding mysqli_connect mysqli::disable_reads_from_master mysqli_disable_rpl_parse mysqli_enable_reads_from_master mysqli_enable_rpl_parse mysqli_escape_string mysqli_execute mysqli_fetch mysqli_get_cache_stats mysqli_get_links_stats mysqli_get_metadata mysqli_master_query mysqli_param_count mysqli_report mysqli_rpl_parse_enabled mysqli_rpl_probe mysqli_send_long_data mysqli::set_opt mysqli_slave_query
  • mysqli_get_cache_stats
  • mysqli_get_metadata

mysqli_get_links_stats

(PHP 5 >= 5.6.0)

mysqli_get_links_stats — Return information about open and cached links

Beschreibung

array mysqli_get_links_stats ( void )

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

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

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 integer representing the number of active persistent connections.

cached_plinks

An integer representing the number of inactive persistent connections.

© Copyright © 2001-2015 The PHP Group.

© Copyright 2014. Diseñado por PHP Manual usando jfCMS.