diff --git a/ext/session/tests/bug55688.phpt b/ext/session/tests/bug55688.phpt new file mode 100644 index 00000000000..8db48384af0 --- /dev/null +++ b/ext/session/tests/bug55688.phpt @@ -0,0 +1,15 @@ +--TEST-- +Bug #55688 (Crash when calling SessionHandler::gc()) +--SKIPIF-- + +--INI-- +html_errors=0 +session.save_handler=files +--FILE-- +gc(1); +?> +--EXPECTF-- +Warning: SessionHandler::gc(): Parent session handler is not open in %s on line %d