From cf26e0eddb8985511aaab4a4fa6880e0e66cb58b Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 14 Sep 2011 05:02:50 +0000 Subject: [PATCH] Add test for bug #55688 --- ext/session/tests/bug55688.phpt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 ext/session/tests/bug55688.phpt diff --git a/ext/session/tests/bug55688.phpt b/ext/session/tests/bug55688.phpt new file mode 100644 index 0000000000..8db48384af --- /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 -- 2.50.1