1--TEST--
2Test session_start() function : variation
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--FILE--
6<?php
7
8ob_start();
9
10/*
11 * Prototype : bool session_start(void)
12 * Description : Initialize session data
13 * Source code : ext/session/session.c
14 */
15
16echo "*** Testing session_start() : variation ***\n";
17
18var_dump(session_start());
19var_dump(session_destroy());
20var_dump(session_start());
21var_dump(session_destroy());
22var_dump(session_start());
23var_dump(session_destroy());
24var_dump(session_start());
25var_dump(session_destroy());
26var_dump(session_start());
27var_dump(session_destroy());
28
29echo "Done";
30ob_end_flush();
31?>
32--EXPECT--
33*** Testing session_start() : variation ***
34bool(true)
35bool(true)
36bool(true)
37bool(true)
38bool(true)
39bool(true)
40bool(true)
41bool(true)
42bool(true)
43bool(true)
44Done
45