1--TEST--
2Bug #55688 (Crash when calling SessionHandler::gc())
3--EXTENSIONS--
4session
5--INI--
6html_errors=0
7session.save_handler=files
8--FILE--
9<?php
10ini_set('session.save_handler', 'files');
11$x = new SessionHandler;
12
13try {
14    $x->gc(1);
15} catch (Error $exception) {
16    echo $exception->getMessage() . "\n";
17}
18?>
19--EXPECT--
20Session is not active
21