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