mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
16 lines
345 B
Plaintext
16 lines
345 B
Plaintext
|
--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
|