From 25af2e16071d7ff458dcec0625d30b49800e13c4 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 29 Aug 2005 15:58:52 +0000 Subject: [PATCH] Throwing exceptions from destructors is not allowed (bug #33598) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@194573 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/decon.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/language/oop5/decon.xml b/language/oop5/decon.xml index 958a60079f..741ad3cd66 100644 --- a/language/oop5/decon.xml +++ b/language/oop5/decon.xml @@ -1,5 +1,5 @@ - + Constructors and Destructors @@ -103,6 +103,11 @@ $obj = new MyDestructableClass(); already sent. + + + Attempting to throw an exception from a desctructor causes a fatal error. + +