iTTL : $iTTL); return $bResult; } /** * Delete cache from shared memory * * @param string $sKey - file name * @return result of the operation */ function delData($sKey) { if (!xcache_isset($sKey)) return true; return xcache_unset($sKey); } /** * Check if xcache functions are available * @return boolean */ function isAvailable() { return extension_loaded('xcache'); } /** * Check if xcache extension is loaded * @return boolean */ function isInstalled() { return extension_loaded('xcache'); } /** * remove all data from cache by key prefix * @return true on success */ function removeAllByPrefix ($s) { return xcache_unset_by_prefix ($s); } }