: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
$groups = array_values($groups);
foreach ($this->_config['groups'] as $i => $group) {
$result[] = $group . $groups[$i];
* Increments the group value to simulate deletion of all keys under a group
* old values will remain in storage until they expire.
* @param string $group name of the group to be cleared
public function clearGroup($group)
return (bool)$this->_Memcached->increment($this->_config['prefix'] . $group);