1--TEST-- 2Test session_start() function : variation 3--SKIPIF-- 4<?php include('skipif.inc'); ?> 5--INI-- 6session.auto_start=1 7--FILE-- 8<?php 9 10ob_start(); 11 12echo "*** Testing session_write_close() : variation ***\n"; 13 14var_dump($_SESSION); 15var_dump(session_write_close()); 16var_dump($_SESSION); 17var_dump(session_start()); 18var_dump(session_destroy()); 19 20echo "Done"; 21ob_end_flush(); 22?> 23--EXPECT-- 24*** Testing session_write_close() : variation *** 25array(0) { 26} 27bool(true) 28array(0) { 29} 30bool(true) 31bool(true) 32Done 33