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