1--TEST--
2Test session_start() 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_start() : variation ***\n";
13
14var_dump(session_id());
15var_dump(session_start());
16var_dump(session_id());
17var_dump(session_destroy());
18var_dump(session_id());
19
20echo "Done";
21ob_end_flush();
22?>
23--EXPECTF--
24*** Testing session_start() : variation ***
25string(%d) "%s"
26
27Notice: session_start(): Ignoring session_start() because a session is already active in %s on line %d
28bool(true)
29string(%d) "%s"
30bool(true)
31string(0) ""
32Done
33