original_string: public function save($data, $id, $tags = array(), $specificLifetime = false)
      {
          $result = parent::save($data, $id, array(), $specificLifetime);
          if ($tags) {
              if (!method_exists($this->_handle, 'tag_add')) {
                  \Zend_Cache::throwException('Method tag_add() is not supported by the PHP memcached extension!');
              }
              foreach ($tags as $tag) {
                  $this->_handle->tag_add($tag, $id);
              }
              return true;
          }
          return $result;
      }
code: public function save($data, $id, $tags = array(), $specificLifetime = false)
      {
          $result = parent::save($data, $id, array(), $specificLifetime);
          if ($tags) {
              if (!method_exists($this->_handle, 'tag_add')) {
                  \Zend_Cache::throwException('Method tag_add() is not supported by the PHP memcached extension!');
              }
              foreach ($tags as $tag) {
                  $this->_handle->tag_add($tag, $id);
              }
              return true;
          }
          return $result;
      }
code_tokens: public function save ( $ data , $ id , $ tags = array ( ) , $ specificLifetime = false ) { $ result = parent :: save ( $ data , $ id , array ( ) , $ specificLifetime ) ; if ( $ tags ) { if ( ! method_exists ( $ this -> _handle , 'tag_add' ) ) { \ Zend_Cache :: throwException ( 'Method tag_add() is not supported by the PHP memcached extension!' ) ; } foreach ( $ tags as $ tag ) { $ this -> _handle -> tag_add ( $ tag , $ id ) ; } return true ; } return $ result ; }
docstring: Saves a data in memcached.
  Supports tags.
  
  @see \Zend_Cache_Backend_Memcached::save()
docstring_tokens: Saves a data in memcached . Supports tags .