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