summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug55688.phpt
blob: 8db48384af0c0b7defa110ce99cea95d96630486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--TEST--
Bug #55688 (Crash when calling SessionHandler::gc())
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
html_errors=0
session.save_handler=files
--FILE--
<?php
ini_set('session.save_handler', 'files');
$x = new SessionHandler;
$x->gc(1);
?>
--EXPECTF--
Warning: SessionHandler::gc(): Parent session handler is not open in %s on line %d