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_id());
19var_dump(session_start());
20var_dump(session_id());
21var_dump(session_destroy());
22var_dump(session_id());
23
24echo "Done";
25ob_end_flush();
26?>
27--EXPECTF--
28*** Testing session_start() : variation ***
29string(0) ""
30bool(true)
31string(%d) "%s"
32bool(true)
33string(0) ""
34Done
35