From: Dmitry Stogov Date: Thu, 11 Apr 2019 18:37:10 +0000 (+0300) Subject: Added test X-Git-Tag: php-7.4.0alpha1~537 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db93c26e6d77e615957d47d6284ec49763d42113;p=php Added test --- diff --git a/Zend/tests/bug29368_2.phpt b/Zend/tests/bug29368_2.phpt new file mode 100644 index 0000000000..acecefcb9b --- /dev/null +++ b/Zend/tests/bug29368_2.phpt @@ -0,0 +1,21 @@ +--TEST-- +Bug #29368.2 (The destructor is called when an exception is thrown from the constructor). +--FILE-- +getMessage() . "\n"; +} +echo "ok\n"; +?> +--EXPECT-- +bomb! +ok