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