mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
16 lines
345 B
PHP
16 lines
345 B
PHP
--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
|