1--TEST--
2Testing repated SessionHandler::open() calls
3--EXTENSIONS--
4session
5--SKIPIF--
6<?php include('skipif.inc'); ?>
7--FILE--
8<?php
9
10ini_set('session.save_handler', 'files');
11$x = new SessionHandler;
12
13try {
14    $x->open('','');
15} catch (Error $exception) {
16    echo $exception->getMessage() . "\n";
17}
18
19try {
20    $x->open('','');
21} catch (Error $exception) {
22    echo $exception->getMessage() . "\n";
23}
24
25try {
26    $x->open('','');
27} catch (Error $exception) {
28    echo $exception->getMessage() . "\n";
29}
30
31try {
32    $x->open('','');
33} catch (Error $exception) {
34    echo $exception->getMessage() . "\n";
35}
36
37print "Done!\n";
38
39?>
40--EXPECT--
41Session is not active
42Session is not active
43Session is not active
44Session is not active
45Done!
46