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