library/Rediska/Serializer/Adapter/PhpSerialize.php
public function unserialize($value)
    {
        set_error_handler(array($this, 'catchUnserializeNotice'));

        $unserializedValue = @unserialize($value);

        restore_error_handler();

        if (!$this->_unserialized) {
            $this->_unserialized = true;
            throw new Rediska_Serializer_Adapter_Exception("Can't unserialize value");
        }

        return $unserializedValue;
    }
public function unserialize($value)
    {
        set_error_handler(array($this, 'catchUnserializeNotice'));

        $unserializedValue = @unserialize($value);

        restore_error_handler();

        if (!$this->_unserialized) {
            $this->_unserialized = true;
            throw new Rediska_Serializer_Adapter_Exception("Can't unserialize value");
        }

        return $unserializedValue;
    }
Unserialize value

@throws Rediska_Serializer_Exception
@param string $value
@return mixed