--TEST-- PECL bug #11221 (Double free when returning cached object with __sleep) --SKIPIF-- --FILE-- set('block', $block)); return $block; } $cache = new memcache; $cache->connect($host, $port); cache_failure(); echo "Done\n"; ?> --EXPECTF-- bool(true) Done