From: Ilia Alshanetsky Date: Mon, 4 Oct 2004 02:46:03 +0000 (+0000) Subject: Test case for bug #30085 X-Git-Tag: php-5.0.3RC1~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dee45663608c2f6daadfcdbce6622b79fcc717f4;p=php Test case for bug #30085 --- diff --git a/tests/lang/bug30085.phpt b/tests/lang/bug30085.phpt new file mode 100644 index 0000000000..ad69c26fc1 --- /dev/null +++ b/tests/lang/bug30085.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #30085 (When destructor terminates script) +--FILE-- +test = new test; + } + + public function __destruct() { + exit("Bye"); + } + +} + +$test = new test2; +?> +--EXPECT-- +Bye \ No newline at end of file