exceptions in the destructor

From: Date: Fri, 16 Dec 2005 14:17:54 +0000
Subject: exceptions in the destructor
Groups: php.internals 
Request: Send a blank email to internals+get-21247@lists.php.net to get a copy of this message
Is there any reason why one is not allowed to throw an exception in the destructor of a class? I mean, it makes sense, considering this is not always the final step of code, and it is usually used for finalising things, and it would be a good idea to know if anything goes wrong at that stage. Otherwise is there any compromise one can use to "emulate" this feature? Daine Mamacos. -- random signature

« previous php.internals (#21247) next »