--TEST-- Session basic open, write, destroy --SKIPIF-- --INI-- session.save_handler = memcached memcached.sess_binary_protocol = Off --FILE-- TRUE]); $_SESSION['foo'] = 1; session_write_close(); $_SESSION = NULL; var_dump($_SESSION); session_start(); var_dump($_SESSION); session_write_close(); session_start(); session_destroy(); session_start(); var_dump($_SESSION); session_write_close(); --EXPECT-- NULL array(1) { ["foo"]=> int(1) } array(0) { }