library/Rediska/Serializer.php
public function unserialize($value)
    {
        if (is_null($value)) {
            return null;
        } else if (is_numeric($value)) {
            if (strpos($value, '.') === false) {
                $unserializedValue = (integer)$value;
            } else {
                $unserializedValue = (float)$value;
            }

            if ((string)$unserializedValue !== $value) {
                $unserializedValue = $value;
            }
        } else {
            try {
                $unserializedValue = $this->_adapter->unserialize($value);
            } catch (Rediska_Serializer_Adapter_Exception $e) {
                $unserializedValue = $value;
            }
        }

        return $unserializedValue;
    }
public function unserialize($value)
    {
        if (is_null($value)) {
            return null;
        } else if (is_numeric($value)) {
            if (strpos($value, '.') === false) {
                $unserializedValue = (integer)$value;
            } else {
                $unserializedValue = (float)$value;
            }

            if ((string)$unserializedValue !== $value) {
                $unserializedValue = $value;
            }
        } else {
            try {
                $unserializedValue = $this->_adapter->unserialize($value);
            } catch (Rediska_Serializer_Adapter_Exception $e) {
                $unserializedValue = $value;
            }
        }

        return $unserializedValue;
    }
Unserailize value

@param string $value Serialized value
@return mixed