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