/** * Immediately invalidates all keys in the cache store * * Whether or not the cache store's memory or resource allocation is freed * is determined by the implementation * * @return boolean True on success, false on failure */ public function expireAll() { if (!$this->enabled) { return true; } $this->Logger->debug('Expire all keys'); $ns = ini_get('eaccelerator.name_space'); foreach (eaccelerator_list_keys() as $key => $value) { eaccelerator_rm(StringUtils::strRight($value['name'], $ns . ':')); } }