library/Rediska/Command/GetHash.php
public function parseResponse($response)
    {
        $isField = true;
        $result = array();
        foreach($response as $fieldOrValue) {
            if ($isField) {
                $field = $fieldOrValue;
            } else {
                $result[$field] = $this->_rediska->getSerializer()->unserialize($fieldOrValue);
            }

            $isField = !$isField;
        }

        return $result;
    }
public function parseResponse($response)
    {
        $isField = true;
        $result = array();
        foreach($response as $fieldOrValue) {
            if ($isField) {
                $field = $fieldOrValue;
            } else {
                $result[$field] = $this->_rediska->getSerializer()->unserialize($fieldOrValue);
            }

            $isField = !$isField;
        }

        return $result;
    }
Parse response

@param array $response
@return array