1--TEST--
2Test session_encode() 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_encode() : variation ***\n";
13
14var_dump(session_encode());
15var_dump(session_destroy());
16var_dump(session_encode());
17
18echo "Done";
19ob_end_flush();
20?>
21--EXPECTF--
22*** Testing session_encode() : variation ***
23bool(false)
24bool(true)
25
26Warning: session_encode(): Cannot encode non-existent session in %s on line %d
27bool(false)
28Done
29