From e5d3e078621018b01a5c0ee443a9547ab41754a7 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 6 Jun 2005 09:50:40 +0000 Subject: [PATCH] Added test for bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct) --- Zend/tests/bug32596.phpt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 Zend/tests/bug32596.phpt diff --git a/Zend/tests/bug32596.phpt b/Zend/tests/bug32596.phpt new file mode 100755 index 00000000000..2dd0cfe9f00 --- /dev/null +++ b/Zend/tests/bug32596.phpt @@ -0,0 +1,27 @@ +--TEST-- +Bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct) +--FILE-- +error; + } +} + + +BUG::instance()->error; +echo "this is still executed\n"; +?> +--EXPECT-- +BUG +please fix this thing, it wasted a nice part of my life! +this is still executed +