(PECL memcached >= 0.1.5)
Get server pool version info
public array Memcached::getVersion ( void )
Memcached::getVersion() returns an array containing the version info for all available memcache servers.
Returns:
Array of server versions, one entry per server.
Examples:
Memcached::getVersion() example
<?php $m = new Memcached(); $m->addServer('localhost', 11211); print_r($m->getVersion()); ?>
The above example will output something similar to:
Array ( [localhost:11211] => 1.2.6 )
Please login to continue.