Specifically, the __destruct() method of certain objects will be
called if an object goes out of scope due to an exception.  Since
the __destruct() method didn't call the code that caused the
exception, it can't catch it.

I need the __destruct() method to behave differently if it's
called while an exception is in progress than if it's called
simply because the object is unset.

Searches of the docs has yet to turn up anything and Google isn't
helping.  Anyone have any pointers?

Bill Moran

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to