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