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