public function get($k)
 {
     return apc_get($k);
 }
Example #2
0
 function _apc($key, $data, $store = false)
 {
     // default to 'retrieve', returns 2 if no change
     return $store == false && apc_exists($key) ? apc_fetch($key) : (apc_exists($key) && apc_get($key) != $data ? apc_store($key, $data) : 2);
 }