From: Xinchen Hui Date: Wed, 14 Sep 2011 05:02:50 +0000 (+0000) Subject: Add test for bug #55688 X-Git-Tag: php-5.5.0alpha1~1135 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf26e0eddb8985511aaab4a4fa6880e0e66cb58b;p=php Add test for bug #55688 --- 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