Memcache::getExtendedStats -- Get statistics from all servers in pool
Description
array Memcache::getExtendedStats ( void )
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.
Note:
This function has been added to Memcache version 2.0.0.
Return Values
Returns a two-dimensional associative array of server statistics or FALSE
on failure.
Examples
Example 1. Memcache::getExtendedStats() example
<?php $memcache_obj = new Memcache; $memcache_obj->addServer('memcache_host', 11211); $memcache_obj->addServer('failed_host', 11211);