--TEST-- PECL bug #63142 (memcache 3.0.7 segfaults with object (un)serialization) --SKIPIF-- --INI-- ;fix me later report_memleaks=0 --FILE-- obj = $obj; $memcache = new Memcache; $memcache->connect('127.0.0.1', 11211); $memcache->set('x', $obj, false, 300); $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo "."; $x = $memcache->get('x'); echo ".\n"; echo "Done\n"; ?> --EXPECTF-- ......... Done