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