标签: php memcached
有没有办法获取当前的memcached实例持久性ID PHP?
// Some place in code $persistence = 'my servername_' . md5(unique()); $memcachedObject = new Memcached($persistence);
然后在其他地方,比如:
$memcachedObject->getPersistenceId();