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