original_string: public function fetch($key)
      {
  
          if (!\array_key_exists($key, $this->hash)) {
              return false;
          }
  
          $data = $this->hash[$key];
  
          //check to see if it expired
          if ($data && ($data[0] == 0 || \time() <= $data[0])) {
              return $data[1];
          } else {
              $this->delete($key);
              return false;
          }
      }
code: public function fetch($key)
      {
  
          if (!\array_key_exists($key, $this->hash)) {
              return false;
          }
  
          $data = $this->hash[$key];
  
          //check to see if it expired
          if ($data && ($data[0] == 0 || \time() <= $data[0])) {
              return $data[1];
          } else {
              $this->delete($key);
              return false;
          }
      }
code_tokens: public function fetch ( $ key ) { if ( ! \ array_key_exists ( $ key , $ this -> hash ) ) { return false ; } $ data = $ this -> hash [ $ key ] ; //check to see if it expired if ( $ data && ( $ data [ 0 ] == 0 || \ time ( ) <= $ data [ 0 ] ) ) { return $ data [ 1 ] ; } else { $ this -> delete ( $ key ) ; return false ; } }
docstring: Fetches the cache from memcache
docstring_tokens: Fetches the cache from memcache