Home > PHP > Function > Memcache > Memcache::getExtendedStats()

Memcache::getExtendedStats()

Memcache::getExtendedStats - Get statistics from all servers in pool

Syntax

array Memcache::getExtendedStats ()

Arguments

-

Description

Memcache::getExtendedStats() returns a two-dimensional associative array with server statistics. Array keys correspond to host:port of server and values contain the individual server statistics. A failed server will have its corresponding entry set to FALSE. You can also use the memcache_get_extended_stats() function.

Version

PHP PECL memcache >= 2.0.0

Return value

Returns a two-dimensional associative array of server statistics or FALSE on failure.