Delete one or more hash fields

@param  string $key
@return integer
177934
public function hdel($key) {

        $set = $this->get($key, array());

        if(!count($set)) return 0;

        $fields  = func_get_args();
        $removed = 0;

        for ($i=1; $i<count($fields); $i++){

            $field = $fields[$i];

            if(isset($set[$field])){
                unset($set[$field]);
                $removed++;
            }
        }

        $this->set($key, $set);

        return $removed;
    }
1017725
function del($key)
    {
        if ($key !== $hash = $this->_normalizeKey($key))
            $key = $hash;

        $properties = &$this->_referDataArrayReference();

        if (array_key_exists($key, $properties)) {
            unset($properties[$key]);
            unset($this->__mapedPropObjects[$hash]);
        }

        return $this;
    }
1229798
public function delete($key) {
        if ($this->clustered) {
            $status = true;
            foreach ($this->setconnections as $connection) {
                $status = $connection->delete($key) && $status;
            }
            return $status;
        }

        return $this->connection->delete($key);
    }
953078
public function remove($key)
	{
		$this->connect();
        
		$key = $this->formatKey($key);
		return $this->driver->delete($key);
	}
315853
public function hashRemove($key, $field) {
        $option = $this->getHashOption($key);
        if (!isset($option[$field])) {
            return false;
        } else {
            unset($option[$field]);
            return $this->setOption($key, $option);
        }
    }
184236
public function remove($key) {
        $value = $this->elements[$this->hash($key)];
        unset($this->elements[$this->hash($key)]);
        $this->fire(new MapRemoveEvent($key, $value));
        return $value;
    }
69886
public function delete($key) {
        if (!is_array($key)) {
            $key = array('key' => $key);
        }
        $key = $key['key'];
        $result = isset($this->store[$key]);
        unset($this->store[$key]);
        if ($this->maxsize !== false) {
            $this->storecount--;
        }
        return $result;
    }
42175
public function delete($key = '')
    {
        $node = $this->mainNode->getByKey($key);
        if (empty($node)) return $this->mainNode;
        $this->mainNode->children->removeNode($node);
        unset($node);

        return $this->mainNode;
    }
1164938
public function delete($key)
    {
        if (is_array($key)) {
            foreach ($key as $k) {
                $this->set($k, null);
            }
        } else {
            $this->set($key, null);
        }
        return $this;
    }
1134291
public function hdel($key) {

        $set = $this->getKey($collection, $key, []);

        if (!count($set)) return 0;

        $fields  = func_get_args();
        $removed = 0;

        for ($i=1; $i<count($fields); $i++){

            $field = $fields[$i];

            if (isset($set[$field])){
                unset($set[$field]);
                $removed++;
            }
        }

        $this->setKey($collection, $key, $set);

        return $removed;
    }
1087018
public static function delete( $key ) {
		unset( self::$option[ self::$key ][ $key ] );
		return update_option( self::$name, self::$option );
	}
1197195
public function delete($key)
    {
        $deleteCallback = function ($allDeleted, $cache) use ($key) {
            return $allDeleted && $cache->delete($key);
        };
        return array_reduce($this->caches, $deleteCallback, true);
    }
1061441
function delete($key) {
        $this->data[$key] = null;
        unset($this->data[$key]);
        return $this;
    }
525805
public function delete($key)
    {
        $this->type === 2 && $key = $this->conf['prefix'] . $key;
        return $this->memcache->delete($key);
    }
1043177
public function remove($key)
    {
        $key = strtr(strtolower($key), '_', '-');
        unset($this->_data[$key]);
        return $this;
    }
729280
public function delete($keys): int
    {
        if (!is_array($keys)) {
            $keys = [$keys];
        }
        return $this->handle->zRem($this->name, ...$keys);
    }
1020333
public function delete($key)
    {
        $file = $this->getFilePath($key);

        if (\is_dir($file)) {
            $this->clearDir($file);
            $deleted = \rmdir($file);
        } elseif (\file_exists($file)) {
            $deleted = \unlink($file);
        } else {
            $deleted = false;
        }

        if ($deleted) {
            $this->catalogKeyDelete($key);
        }

        return $deleted;
    }