library/Rediska/Command/CompareSets.php
public function parseResponses($responses)
    {
        if (!$this->isAtomic()) {
            if ($this->_storeConnection) {
                $values = $responses[0];
            } else {
                $values = array_values($this->_compareSets($responses));
            }

            $unserializedValues = array_map(array($this->_rediska->getSerializer(), 'unserialize'), $values);

            if (is_null($this->storeKey)) {
                return $unserializedValues;
            } else {
                $this->_rediska->delete($this->storeKey);
                foreach($unserializedValues as $value) {
                    $this->_rediska->addToSet($this->storeKey, $value);
                }
                return true;
            }
        } else {
            $reply = $responses[0];
            if (is_null($this->storeKey)) {
                $reply = array_map(array($this->_rediska->getSerializer(), 'unserialize'), $reply);
            } else {
                $reply = (boolean)$reply;
            }

            return $reply;
        }
    }
public function parseResponses($responses)
    {
        if (!$this->isAtomic()) {
            if ($this->_storeConnection) {
                $values = $responses[0];
            } else {
                $values = array_values($this->_compareSets($responses));
            }

            $unserializedValues = array_map(array($this->_rediska->getSerializer(), 'unserialize'), $values);

            if (is_null($this->storeKey)) {
                return $unserializedValues;
            } else {
                $this->_rediska->delete($this->storeKey);
                foreach($unserializedValues as $value) {
                    $this->_rediska->addToSet($this->storeKey, $value);
                }
                return true;
            }
        } else {
            $reply = $responses[0];
            if (is_null($this->storeKey)) {
                $reply = array_map(array($this->_rediska->getSerializer(), 'unserialize'), $reply);
            } else {
                $reply = (boolean)$reply;
            }

            return $reply;
        }
    }
Parse responses

@param array $responses
@return boolean|array