--TEST-- ini_set('session.save_handler') with unix domain socket --SKIPIF-- --FILE-- connect($domainsocket, 0); $session_save_path = ", $domainsocket:0?weight=1, "; ini_set('session.save_handler', 'memcache'); ini_set('memcache.session_save_path', $session_save_path); $result1 = session_start(); $id = session_id(); $_SESSION['_test_key'] = 'Test'; $result2 = $memcache->get($id); session_write_close(); $result3 = $memcache->get($id); // Test destroy session_start(); $result4 = session_destroy(); $result5 = $memcache->get($id); var_dump($result1); var_dump($id); var_dump($result2); var_dump($result3); var_dump($result4); var_dump($result5); ?> --EXPECTF-- bool(true) string(%d) "%s" bool(false) string(%d) "%s" bool(true) bool(false)