$time + $ttl, 'mtime' => $time, 'data' => unserialize($data) ); } // ------------------------------------------------------------------------ /** * is_supported() * * Check to see if APC is available on this system, bail if it isn't. * * @return bool */ public function is_supported() { if ( ! extension_loaded('apc') OR ! ini_get('apc.enabled')) { log_message('debug', 'The APC PHP extension must be loaded to use APC Cache.'); return FALSE; } return TRUE; } }