--- lib.php.orig 2015-01-29 10:25:57.252710786 +0100 +++ lib.php 2015-01-28 14:38:01.586499299 +0100 @@ -198,7 +198,7 @@ if ($result === null) { return false; } - return $result; + return unserialize($result); } /** @@ -226,7 +226,7 @@ * @return bool True if the operation was a success false otherwise. */ public function set($key, $data) { - return xcache_set($this->prefix.$key, $data, $this->definition->get_ttl()); + return xcache_set($this->prefix.$key, serialize($data), $this->definition->get_ttl()); } /**