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