mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
21 lines
347 B
PHP
21 lines
347 B
PHP
--TEST--
|
|
Bug #55688 (Crash when calling SessionHandler::gc())
|
|
--EXTENSIONS--
|
|
session
|
|
--INI--
|
|
html_errors=0
|
|
session.save_handler=files
|
|
--FILE--
|
|
<?php
|
|
ini_set('session.save_handler', 'files');
|
|
$x = new SessionHandler;
|
|
|
|
try {
|
|
$x->gc(1);
|
|
} catch (Error $exception) {
|
|
echo $exception->getMessage() . "\n";
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
Session is not active
|