1--TEST--
2Testing repated SessionHandler::open() calls
3--SKIPIF--
4<?php include('skipif.inc'); ?>
5--FILE--
6<?php
7
8ini_set('session.save_handler', 'files');
9$x = new SessionHandler;
10$x->open('','');
11$x->open('','');
12$x->open('','');
13$x->open('','');
14
15print "Done!\n";
16
17?>
18--EXPECTF--
19Warning: SessionHandler::open(): Session is not active in %s on line 5
20
21Warning: SessionHandler::open(): Session is not active in %s on line 6
22
23Warning: SessionHandler::open(): Session is not active in %s on line 7
24
25Warning: SessionHandler::open(): Session is not active in %s on line 8
26Done!
27