• PHP Video Tutorials

PHP - Memcache::getStats() Function



Memcache::getStats() function can get the statistics of the server.

Syntax

array Memcache::getStats([ string $type [, int $slabid [, int $limit = 100 ]]] )

Memcache::getStats() function can return an associative array with server's statistics. Array keys corresponding to stats parameters and values to parameter's values. We can also use the memcache_get_stats() function.

Memcache::getStats() function can return an associative array of server statistics or false on failure.

Advertisements