1--TEST--
2Test session_commit() 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_commit() : variation ***\n";
13
14var_dump($_SESSION);
15var_dump(session_commit());
16var_dump($_SESSION);
17var_dump(session_start());
18var_dump(session_destroy());
19
20echo "Done";
21ob_end_flush();
22?>
23--EXPECT--
24*** Testing session_commit() : variation ***
25array(0) {
26}
27bool(true)
28array(0) {
29}
30bool(true)
31bool(true)
32Done
33