From: Marcus Boerger Date: Sun, 25 Jul 2004 19:21:21 +0000 (+0000) Subject: - Add new test X-Git-Tag: PRE_ZEND_VM_DISPATCH_PATCH~368 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=03c19c2b8f5ad72ac3b3564f25b883be73f8a7b6;p=php - Add new test --- diff --git a/tests/classes/ctor_failure.phpt b/tests/classes/ctor_failure.phpt new file mode 100755 index 0000000000..bbebca2af8 --- /dev/null +++ b/tests/classes/ctor_failure.phpt @@ -0,0 +1,33 @@ +--TEST-- +Do not call destructors if constructor fails +--FILE-- +getMessage() . ")\n"; +} + +?> +===DONE=== +--EXPECT-- +Test::__construct(Hello) +Caught Exception(Hello) +===DONE===